Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/bin/c++ -g -I/home/ockonal/Workspace/Themisto/Engine/Include -I/home/ockonal/Workspace/Themisto/Themisto/Include -I/usr/include/ClanLib-2.3 -Wall -g -msse2 -std=c++0x -Wunreachable-code -Wswitch -Wparentheses -Wmissing-braces -Wunused-variable -o CMakeFiles/Themisto.dir/main.cpp.o -c /home/ockonal/Workspace/Themisto/Themisto/Sources/main.cpp
- Linking CXX executable ../../../bin/Themisto
- cd /home/ockonal/Workspace/Themisto/build/Themisto/Sources && /usr/bin/cmake -E cmake_link_script CMakeFiles/Themisto.dir/link.txt --verbose=1
- /usr/bin/c++ -g CMakeFiles/Themisto.dir/main.cpp.o -o ../../../bin/Themisto -rdynamic ../../../bin/lib/libEngine.a -ltinyxml -lSM -lICE -lX11 -lXext -lfreeimage -lfreetype -lGLU -lGL -lSM -lICE -lX11 -lXext -lfreeimage -lfreetype -lGLU -lGL -lz -lpng -lz -lpng -ljpeg -Wl,-Bstatic -lboost_filesystem -lboost_system -lboost_date_time -Wl,-Bdynamic -lclan23Core -lclan23App -lclan23Display -lclan23GL -lclan23GL1 -lclan23SWRender -lclan23GUI -lclan23CSSLayout -lclan23MikMod -lclan23Network -lclan23Sound -lclan23Vorbis -lBox2D -lfontconfig -lpthread
- make[2]: Leaving directory `/home/ockonal/Workspace/Themisto/build'
- #include <ClanLib/display.h>
- #include <ClanLib/core.h>
- #include <ClanLib/application.h>
- #include <ClanLib/gui.h>
- #include <ClanLib/gl.h>
- #include <ClanLib/gl1.h>
- #include <ClanLib/swrender.h>
- #include <ClanLib/sound.h>
- #include <ClanLib/mikmod.h>
- #include <ClanLib/vorbis.h>
- class ConsoleProgram
- {
- public:
- static int main(const std::vector<CL_String> &args);
- };
- // Create global application object:
- // You MUST include this line or the application start-up will fail to
- // locate your console application object.
- CL_ClanApplication app(&ConsoleProgram::main);
- int ConsoleProgram::main(const std::vector<CL_String> &args)
- {
- // Setup clanCore:
- CL_SetupCore setup_core;
- // Create a console Window if one does not exist:
- CL_ConsoleWindow console_window("Console");
- // Write a line to the console:
- CL_Console::write_line("Hello World!");
- // Wait for a key so the window won't close immediately.
- CL_Console::wait_for_key();
- return 0;
- }
Add Comment
Please, Sign In to add comment