derek57 / sdl-wii

Automatically exported from code.google.com/p/sdl-wii
0 stars 0 forks source link

__static_initialization_and_destruction_0 error #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Error in compile:
File:main.o: In function `__static_initialization_and_destruction_0':
j:/D0g_Engine/source/main.cpp:11: undefined reference to `Timer::Timer()'
main.o: In function `SDL_main':
j:/D0g_Engine/source/main.cpp:15: undefined reference to 
`cGFXCore::cGFXCore()'
j:/D0g_Engine/source/main.cpp:22: undefined reference to 
`cObjectController::cObjectController()'
j:/D0g_Engine/source/main.cpp:25: undefined reference to `initInput()'

Basically I'm assuming I have a problem with my makefile which is causing 
this problem, maybe upload an example makefile to use with SDL and pack it 
with the next build.

Original issue reported on code.google.com by doogie1...@gmail.com on 8 May 2009 at 2:39

GoogleCodeExporter commented 9 years ago
This is not a issue with SDL.  It looks like you've not included a header to you
class/classes in the main c/cpp file.

Original comment by iamsca...@gmail.com on 8 May 2009 at 4:45