dll debug CodeBlocks

mrbrdo

28-01-2007 01:15:17

Hey

I use the project file included with plsm2 to build the release version.. to build the debug version, i added the option to add debug symbols and removed the option to strip symbols. i added ogremain_d instead of ogremain as the link library required..
it compiles and links, but the demo app (also built as debug) crashes when i use this dll, after the window shows.. IF I RUN WITH A DEBUGGER I CAN PRESS CONTINUE A FEW TIMES AND IT WORKS! But the release version works fine..
I added these #defines to the dll:
WIN32
_DEBUG
_WINDOWS
_USRDLL
PLUGIN_PAGINGLANDSCAPE2_EXPORTS

If someone has successfuly produced a debug version of the plugin and\or the demo app with Code::Blocks, please send me the project files you are using as i am certain there is something wrong with these, since they were not included for debug build (only release - why??).

mrbrdo

28-01-2007 21:34:21

Please, i really need this to work.. Someone help me out and send me their .cbp (codeblocks project) for debug at least..