Got it working, Thanks!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menug++ src/main.cpp -o a.out -Lbin -Ilib/bin -Ilib/src -std=c++11 -ltgui -lsfml-graphics -lsfml-window -lsfml-system
bin/libtgui.so: undefined reference to `sf::ConvexShape::ConvexShape(unsigned long)'
bin/libtgui.so: undefined reference to `sf::CircleShape::CircleShape(float, unsigned long)'
bin/libtgui.so: undefined reference to `sf::RenderTarget::draw(sf::Vertex const*, unsigned long, sf::PrimitiveType, sf::RenderStates const&)'
bin/libtgui.so: undefined reference to `sf::ConvexShape::setPoint(unsigned long, sf::Vector2<float> const&)'
collect2: error: ld returned 1 exit status
make: *** [default] Error 1
g++ src/main.cpp -o a.out -Lbin -Ilib/bin -Ilib/src -Ilib/cxx -std=c++11 -lpthread -lGL -lGLU -ltgui-s -lsfml-graphics -lsfml-window -lsfml-system
/usr/bin/ld: bin/libtgui-s.a(Gui.cpp.o): undefined reference to symbol 'glEnable'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libGL.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [default] Error 1
clang++ src/main.cpp -o a.out -std=c++11 -nostdinc++ -lc++ -Lbin -Ilib/bin -Ilib/src -Ilib/cxx -lmysql-s -ltgui-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s
-std=c++11 -stdlib=libc++ -nostdinc++ -Ic++
clang++ src/main.cpp -o a.out -std=c++11 -stdlib=libc++ -nostdinc++ -Ic++ -Lbin -Ilib/bin -Ilib/src -lmysql-s -ltgui-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s
clang++ src/main.cpp -o a.out -ltgui-s -lsfml-graphics-s -lsfml-window-s -lsfml-system-s -std=c++0x
clang -v
Ubuntu clang version 3.4-1ubuntu3 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/5.1.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8.2
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/5.1.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.1.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.1.0
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9