# How to build Ogre3d with boost?

I have a simple question.

For people that know and built ogre3D from source as a Static library, what is the order of which the libraries should be linked?

The libraries I need to be organized are:

• Ogre Plugins
• 'libOgreMain.a'
• Ogre RenderSystems
• Ogre's Dependencies

The other reason is because even though I link to the boost library, I get this error:

undefined reference to '_imp___ZN5boost6thread20hardware_concurrencyEv'


My compiler is MinGW with CodeBlocks as the IDE.

And my main computer I'm building on is Windows Vista 32 bit.

• Also as other information: I used CMake to build the Ogre3D source. – Molmasepic Jul 28 '11 at 22:26

• Im starting to think that im not including a certain file or something. as of now the only file i have from boost is boost\thread.hpp. is there more? also im not using the SDK, im using a static library built by me in Cmake – Molmasepic Jul 29 '11 at 3:54