When my program is about to begin linking it gets this error:
When my program is about to begin linking it gets this error:
−
+
<pre>
File:main.o: In function `__static_initialization_and_destruction_0':
File:main.o: In function `__static_initialization_and_destruction_0':
−
j:/D0g_Engine/source/main.cpp:11: undefined reference to `Timer::Timer()'
j:/D0g_Engine/source/main.cpp:11: undefined reference to `Timer::Timer()'
−
main.o: In function `SDL_main':
main.o: In function `SDL_main':
−
j:/D0g_Engine/source/main.cpp:15: undefined reference to `cGFXCore::cGFXCore()'
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:22: undefined reference to `cObjectController::cObjectController()'
−
j:/D0g_Engine/source/main.cpp:25: undefined reference to `initInput()'
j:/D0g_Engine/source/main.cpp:25: undefined reference to `initInput()'
−
+
</pre>
And so on...
And so on...
−
So in short, basically every function/class I've defined doesn't appear to exist to the linker, this code compiles fine for Windows so is there a setting in the makefile or something else I missed to avoid this?
+
So in short, basically every function/class I've defined doesn't appear to exist to the linker, this code compiles fine for Windows so is there a setting in the makefile or something else I missed to avoid this? <small>—Preceding unsigned comment added by [[User:Doogie|Doogie]] ([[User talk:Doogie|talk]] • [[Special:Contributions/Doogie|contribs]]) 10:20, 2 May 2009 (UTC)</small>