I'm on a 64bit win7 system, but I think I've built everything for 32bit. Anyway, I've built Ogre, PolyVox, Qt etc, but I'm struggling with QtOgre - it can't find the ogre lib for linking. CMake seems to run successfully, but nmake fails halfway thru:
Code:
C:\voxel\qtogre\QtOgreFramework\build>nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
[ 55%] Built target QtOgreStatic
Linking CXX executable Demo.exe
LINK : fatal error LNK1104: cannot open file 'OgreMain_d.lib'
LINK failed. with 2
NMAKE : fatal error U1077: '"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"' :
return code '0xffffffff'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
However the relevant settings in CMakeCache.txt look correct:
Code:
OGRE_INCLUDE_DIRS:PATH=c:/voxel/ogre/build/sdk/include/Ogre;c:/voxel/ogre/build/sdk/boost_1_42
OGRE_LIBRARIES:STRING=debug;OgreMain_d;optimized;OgreMain
OGRE_LIBRARY_DIRS:PATH=C:/voxel/ogre/build/sdk/lib/Debug
and the .lib file is actually in that location:
Code:
C:\voxel\qtogre\QtOgreFramework\build> dir c:\voxel\ogre\build\sdk\lib\Debug
Volume in drive C is OS
Volume Serial Number is DA1C-8FC4
Directory of c:\voxel\ogre\build\sdk\lib\Debug
08.01.2011 12:38 <DIR> .
08.01.2011 12:38 <DIR> ..
08.01.2011 12:26 4 289 078 OgreMain_d.lib
08.01.2011 12:30 163 680 OgrePaging_d.lib
08.01.2011 12:36 546 366 OgreRTShaderSystem_d.lib
08.01.2011 12:33 327 468 OgreTerrain_d.lib
08.01.2011 12:38 <DIR> opt
4 File(s) 5 326 592 bytes
3 Dir(s) 46 991 155 200 bytes free
C:\voxel\qtogre\QtOgreFramework\build>
Any suggestions?
-Magnus