Created
December 15, 2013 18:27
-
-
Save maluramichael/7976377 to your computer and use it in GitHub Desktop.
Static library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Build library == | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
scons: building associated VariantDir targets: libs/debug libs/release | |
g++ -o libs/release/src/Game.o -c -g -Ilibs/release/include -Iinclude src/Game.cpp | |
g++ -o libs/release/src/Graphics.o -c -g -Ilibs/release/include -Iinclude src/Graphics.cpp | |
ar rc libs/release/libppw.a libs/release/src/Game.o libs/release/src/Graphics.o | |
ranlib libs/release/libppw.a | |
g++ -o libs/debug/src/Game.o -c -O2 -Ilibs/debug/include -Iinclude src/Game.cpp | |
g++ -o libs/debug/src/Graphics.o -c -O2 -Ilibs/debug/include -Iinclude src/Graphics.cpp | |
ar rc libs/debug/libppw.a libs/debug/src/Game.o libs/debug/src/Graphics.o | |
ranlib libs/debug/libppw.a | |
scons: done building targets. | |
== Build project == | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
scons: building associated VariantDir targets: bin/release bin/debug | |
g++ -o bin/debug/src/SceneGame.o -c -g -Ibin/debug/include -Iinclude -Ibin/debug/libs/gravitation-framwork/include -Ilibs/gravitation-framwork/include src/SceneGame.cpp | |
g++ -o bin/debug/src/SceneMenu.o -c -g -Ibin/debug/include -Iinclude -Ibin/debug/libs/gravitation-framwork/include -Ilibs/gravitation-framwork/include src/SceneMenu.cpp | |
g++ -o bin/debug/src/main.o -c -g -Ibin/debug/include -Iinclude -Ibin/debug/libs/gravitation-framwork/include -Ilibs/gravitation-framwork/include src/main.cpp | |
g++ -o bin/debug/ppw bin/debug/src/SceneGame.o bin/debug/src/SceneMenu.o bin/debug/src/main.o -Lbin/debug/libs/gravitation-framwork/libs/debug -Llibs/gravitation-framwork/libs/debug -lSDL2 -lSDL2_image -lppw | |
bin/debug/src/main.o: In function `main': | |
/home/michael/Development/pocket-pixel-warriors/src/main.cpp:5: undefined reference to `Gravitation::Game::Game()' | |
/home/michael/Development/pocket-pixel-warriors/src/main.cpp:6: undefined reference to `Gravitation::Game::initialize()' | |
/home/michael/Development/pocket-pixel-warriors/src/main.cpp:7: undefined reference to `Gravitation::Game::run()' | |
collect2: error: ld returned 1 exit status | |
scons: *** [bin/debug/ppw] Error 1 | |
scons: building terminated because of errors. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment