Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Linker cannot find OBJECTS_DIR.obj

    Installation and Deployment
    1
    1
    719
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      not_dave last edited by

      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:

      main.cpp
      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='6.0.0.0' 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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post