Hey, I figured out how to successfully compile my SFML applications using
g++ -c main.cpp
then
g++ -o main main.o -lsfml-graphics -lsfml-window -lsfml-system
in the Ubuntu Linux terminal. It then compiles into a Linux binary. What I was wondering is how I would configure Code::Blocks to basically output this automatically into g++, then output the errors etcetera. Is this what CB outputs automatically already? If I try to set everything up (linker, directories, etc.) like normal, I always get hosts of errors like "cannot find SFML/Graphics.hpp" and stuff like that. Basically, can I just tell code::blocks that when I compile output to g++ the above commands, and stop if there are errors?
PS I installed the Linux version of SMFL by using sudo make install in the SFML Linux directory.
Thanks,
Makuto