Hey, I've spent the last couple of hours stuck on this problem. I'm trying to create the CEGUI dlls for use in Ogre3D. I'm using Visual Studio 2010 for compilation.
I've completely followed everything on the wiki article at: http://www.cegui.org.uk/wiki/index.php/ ... reRenderer
I get this linker error when compiling:
Error 29 fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-gd-1_42.lib' CEGUIOgreRenderer CEGUIOgreRenderer
So I've narrowed it down to not being able to find the boost .lib files that it needs as dependencies for linking. So I include the paths to my boost .libs in my Ogre3D folder in "Additional Dependencies" for my project. Only to find out that the version of the .lib that I have is "libboost_thread-vc100-mt-gd-1_42.lib" and not "libboost_thread-vc90-mt-gd-1_42.lib". tldr; 100 and not 90.
It would seem I have a more recent version of Boost, or something. Anyone got any ideas? If you need more information, just let me know. I'm completely stuck right now.
[SOLVED] Trouble Building .dll and .lib files
Moderators: CEGUI MVP, CEGUI Team
-
JofuInSpace
- Just popping in

- Posts: 2
- Joined: Fri Jun 10, 2011 05:06
[SOLVED] Trouble Building .dll and .lib files
Last edited by JofuInSpace on Fri Jun 10, 2011 11:59, edited 1 time in total.
Re: Trouble Building .dll and .lib files
Seems like a misconfiguration to me.
vc9 is Visual Studio 2008, vc10 is 2010. Boost uses the nasty pragma autolinking so it always selects the right version. Make sure you are building everything using MSVC 2010.
vc9 is Visual Studio 2008, vc10 is 2010. Boost uses the nasty pragma autolinking so it always selects the right version. Make sure you are building everything using MSVC 2010.
-
JofuInSpace
- Just popping in

- Posts: 2
- Joined: Fri Jun 10, 2011 05:06
Re: Trouble Building .dll and .lib files
Doh. I was compiling with VS2008 instead of VS2010, which I guess my Boost was configured for. Thanks for the help. I'm all good now. I wish I had came here sooner :]
Who is online
Users browsing this forum: No registered users and 10 guests