News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Linking MSVC static libraries with CodeBlocks MinGW

Started by PJani, September 18, 2009, 09:37:41 PM

Previous topic - Next topic

PJani

I have question about, how to link msvc static lib with C::B + MinGW. If is even posible to do.

Any idea how to do it, becouse im trying to link OgreOggSound manager(which has OgreOggSound.lib and OgreOggSound.dll i linked to .lib file) and i keep getting undef references to...

stahta01

#1
compile the MSVC libraries using c exports works for DLL libraries.
Not sure, what to do for static builds.
Most likely not possible without making an MSVC DLL wrapper using C exports around the static lib.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]