Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: PJani on September 18, 2009, 09:37:41 pm

Title: Linking MSVC static libraries with CodeBlocks MinGW
Post by: PJani on September 18, 2009, 09:37:41 pm
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...
Title: Re: Linking MSVC static libraries with CodeBlocks MinGW
Post by: stahta01 on September 19, 2009, 12:11:28 am
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.