User forums > Using Code::Blocks

Linking MSVC static libraries with CodeBlocks MinGW

(1/1)

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:
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.

Navigation

[0] Message Index

Go to full version