It is currently Sat Aug 22, 2020 4:16 am


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Trying to build thermite
PostPosted: Sat Jan 08, 2011 12:39 pm 

Joined: Sat Jan 08, 2011 12:32 pm
Posts: 2
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


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Trying to build thermite
PostPosted: Sat Jan 08, 2011 1:05 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Trying to build thermite
PostPosted: Sat Jan 08, 2011 1:17 pm 

Joined: Sat Jan 08, 2011 12:32 pm
Posts: 2
Great, the solution file worked.

-Magnus


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Trying to build thermite
PostPosted: Sat Jan 08, 2011 9:54 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Ok, great, well I'll make a note to look into building it from the command line then.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net