Qt 5.0.2 linker error Сannot open file 'Files.obj'



  • Sorry for bad english first of all. Today I'm download and install Qt 5, before I used Qt 4.8.4. And my projects (old and even empty new) dont wanna be linked.

    bq. D:\Qt\5.0.2\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
    echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID / 24 / RT_MANIFEST / "debug\Webs.exe.embed.manifest">debug\Webs.exe_manifest.rc
    if not exist debug\Webs.exe if exist debug\Webs.exe.embed.manifest del debug\Webs.exe.embed.manifest
    if exist debug\Webs.exe.embed.manifest copy /Y debug\Webs.exe.embed.manifest debug\Webs.exe_manifest.bak
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='
    ' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:debug\Webs.exe.embed.manifest /OUT:debug\Webs.exe @C:\Users\UD\AppData\Local\Temp\Webs.exe.5528.16.jom
    LINK : fatal error LNK1104: cannot open file 'Files.obj'
    jom: D:\Projects\Webs\Makefile.Debug [debug\Webs.exe] Error 1104
    jom: D:\Projects\Webs\Makefile [debug] Error 2

    Please help to solve this problem.



  • This message tells you, that a file (maybe Files.cpp) doesn't compile correctly. Are there any errors compiling Files.cpp?



  • [quote author="MichelS" date="1370609028"]This message tells you, that a file (maybe Files.cpp) doesn't compile correctly. Are there any errors compiling Files.cpp?[/quote]
    Nope, all projects has that error now, even empty new projects. Its seems that Qt dosn't understand the way of some library that is placed in path with "Program Files"... I don't know wtf is that.



  • I have the same error message and I have not "Files.ccp" in my project


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You have spaces in your paths and it's a problem on Windows. You should have all development files and 3rd party libraries in path without spaces or use the old 8.3 notation if you don't have the choice.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.