As previously mentioned, I'm getting WGE to compile on CodeBlocks.
I'm using the MinGW + CodeBlocks RC2 SDK made by nfz.
I've gotten vorbis, and ogg to compile. I had some trouble with theora though. Do you have any prebuilt binaries for these libraries? I found a link to some that you built on
this thread, but the link is dead.
I got ptypes to build fine in codeblocks, as a static library.
So I'm linking WGE without theora right now, but I am getting some errors which I think are related to ptypes, they are linker errors.
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:36: undefined reference to `pt::thread::thread(bool)'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:39: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:48: undefined reference to `pt::thread::waitfor()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:48: undefined reference to `pt::thread::waitfor()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:48: undefined reference to `pt::thread::waitfor()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:59: undefined reference to `pt::thread::~thread()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:113: undefined reference to `pt::thread::start()'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:226: undefined reference to `_ZN2pt6psleepEj@4'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:267: undefined reference to `_ZN2pt6psleepEj@4'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\OggCodec.cpp:272: undefined reference to `_ZN2pt6psleepEj@4'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:30: undefined reference to `theora_comment_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:31: undefined reference to `theora_info_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:38: undefined reference to `theora_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:39: undefined reference to `theora_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:40: undefined reference to `theora_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:38: undefined reference to `theora_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:39: undefined reference to `theora_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:40: undefined reference to `theora_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:38: undefined reference to `theora_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:39: undefined reference to `theora_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:40: undefined reference to `theora_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:46: undefined reference to `theora_decode_header'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:72: undefined reference to `theora_decode_header'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:90: undefined reference to `theora_decode_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:104: undefined reference to `theora_decode_packetin'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\TheoraCodec.cpp:107: undefined reference to `theora_granule_time'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:34: undefined reference to `vorbis_info_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:35: undefined reference to `vorbis_comment_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:42: undefined reference to `vorbis_block_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:43: undefined reference to `vorbis_dsp_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:44: undefined reference to `vorbis_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:45: undefined reference to `vorbis_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:42: undefined reference to `vorbis_block_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:43: undefined reference to `vorbis_dsp_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:44: undefined reference to `vorbis_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:45: undefined reference to `vorbis_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:42: undefined reference to `vorbis_block_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:43: undefined reference to `vorbis_dsp_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:44: undefined reference to `vorbis_comment_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:45: undefined reference to `vorbis_info_clear'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:53: undefined reference to `vorbis_synthesis_headerin'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:74: undefined reference to `vorbis_synthesis_headerin'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:91: undefined reference to `vorbis_synthesis_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:92: undefined reference to `vorbis_block_init'
:D:\WGE_CB\WGE\trunk\scripts\WGE\..\..\src\Codecs\VorbisCodec.cpp:107: undefined reference to `vorbis_synthesis_pcmout'
Any ideas? or is there a certain order I have to link the libraries in that I should know of?(I know, stlport comes last)
Do you think there is a problem with building these other libraries without using STLPort?