littleflylongbow / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

Erro in linker #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Just downloaded the 0.8.2
2. Using code blocks to compile se sdl hello world
3. Get linker erro

What is the expected behaviour? What happens instead?
The expected behaviour is compile! but i get a linker error:
||Info: resolving vtable for gcn::SDLImageLoaderby linking to
__imp___ZTVN3gcn14SDLImageLoaderE |
obj\Debug\main.o(.text$_ZN3gcn14SDLImageLoaderC1Ev[gcn::SDLImageLoader::SDLImage
Loader()]+0x16)||In
function `ZNSt9exceptionC1ERKS_':|
nmth000000.o(.idata$4+0x0)||undefined reference to
`_nm___ZTVN3gcn14SDLImageLoaderE'|
||=== Build finished: 1 errors, 0 warnings ===|

Please use labels and text to provide additional information.

Original issue reported on code.google.com by xxkmk...@gmail.com on 3 May 2010 at 8:02

GoogleCodeExporter commented 8 years ago
If you link with Guichan libraries you also must link with the guichansdl 
library, if 
you inlcude the Guichan code into your project, don't forget to add 
SDLImageLoader.cpp.

Original comment by olof.nae...@gmail.com on 3 May 2010 at 3:19