Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Trying to build thermite
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=2&t=116
Page 1 of 1

Author:  Mammux [ Sat Jan 08, 2011 12:39 pm ]
Post subject:  Trying to build thermite

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

Author:  David Williams [ Sat Jan 08, 2011 1:05 pm ]
Post subject:  Re: Trying to build thermite

Interesting, but I don't actually build it that way... instead I run CMake and then open the generated solution file. I suggest you try this, if nothing else it means you will be able to go to the project properties and see the filenames/paths which are being used. If it does work then we can investigate why it doesn't work from the command line.

I should warn you though, once you have built Thermite there's no real way to use it. It's largely just a test application which I use for testing PolyVox and for making tech demos. The idea is that it will evolve into a proper game engine but it's not there yet, so you'll probably be better off using PolyVox directly.

Author:  Mammux [ Sat Jan 08, 2011 1:17 pm ]
Post subject:  Re: Trying to build thermite

Great, the solution file worked.

-Magnus

Author:  David Williams [ Sat Jan 08, 2011 9:54 pm ]
Post subject:  Re: Trying to build thermite

Ok, great, well I'll make a note to look into building it from the command line then.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/