NxOgreTutorials and Ogre 1.7.2

Teqqan

12-11-2010 22:23:12

Hi!

I'm trying to compile the tutorials but get a linker error for each tutorial trying to be built:

1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-gd-1_42.lib'

I know that the .lib file in OgreSDK_vc9_v1-7-2\boost_1_44\lib now is libboost_thread-vc90-mt-gd-1_44.lib. I can't for the world figure out how to set it to use ..._44.lib instead of ..._42.lib?

I tried changing the link additional folder to use boost_1_44 instead of boost_1_42. I've tried to recompile critter using boost_1_44 but I can't get it to work.

Could these warnings I received when compiling critter be the problem?

1>NxOgreDebug.lib(NxOgreDebug.dll) : warning LNK4006: __NULL_IMPORT_DESCRIPTOR already defined in OgreMain_d.lib(OgreMain_d.dll); second definition ignored
1>NxOgreDebug.lib(NxOgreDebug.dll) : warning LNK4221: no public symbols found; archive member will be inaccessible


I have the latest NxOgre, critter and tutorials. All taken from the git hub.

Thanks!
Teqqan

TechnoBulldog

13-11-2010 00:03:30

I don't think those warnings have anything to do with it. I had this problem, and it went away when I recompiled NxOgre and Critter. Did you try that?

Teqqan

13-11-2010 02:30:48

I tried to recompile both critter and NxOgre, though I don't think the booster has anything to do with NxOgre?

Teqqan

14-11-2010 12:33:04

I found out what it was..
I was importing tss.hpp from the old /boost_1_42 folder... under C/C++ general settings.
When I changed that to /boost_1_44, it worked like a charm!