Linker cannot find OBJECTS_DIR.obj

  • Hey all,

    I am trying to build my own copy of the QT libs on a Win7 machine with MSVC 2010, and whenever I do, I get the following linking error when doing nmake:

    link /LIBPATH:"d:\perforce\qt_source\Qt\4.8.2\src\tools\bootstrap\release" /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-C
    ontrols' version='' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST /MANIFESTFILE:"release\moc.intermediate.manifest"
    /OUT:......\bin\moc.exe @C:\Users\rudolfd\AppData\Local\Temp\nm9738.tmp
    LINK : fatal error LNK1181: cannot open input file 'OBJECTS_DIR.obj'

    Not sure what this error means. If I grep through the QT source tree, I see that OBJECTS_DIR is a QMakeVar that is used in a lot of places. Here are the params I was using to configure the build:

    set SSL_LIB=D:\perforce\qt_source\depot\PlatformSDK\external\openssl\1.0.1e\binary\win_vc11\x86\lib
    set SSL_INC=d:\perforce\qt_source\depot\PlatformSDK\external\openssl\1.0.1e\include
    set PLATFORM=win32-msvc2010

    configure -I %SSL_INC% -L %SSL_LIB% -mp -no-qt3support -openssl -platform %PLATFORM% -plugin-sql-sqlite -qmake -qtlibinfix Ad -qt-libjpeg -qt-libmng -qt-libtiff -qt-sql-sqlite -qt-zlib -vcproj -developer-build -nomake docs -nomake examples -nomake demos

    Any thoughts as to what I might be doing wrong?

Log in to reply

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