Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Linker cannot find OBJECTS_DIR.obj
QtWS25 Last Chance

Linker cannot find OBJECTS_DIR.obj

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 801 Views
  • 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 Offline
    N Offline
    not_dave
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved