Menu

Show posts

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 Menu

Messages - Chrescht1337

#1
Installation help / Re: problem with sfml
02 March 2015, 19:30:51
Ok thanks!
#2
Installation help / problem with sfml
02 March 2015, 03:06:19
Hey!
I'm trying to install TGUI on ubuntu. cmake works just fine, but
Quotesudo make install -j6
gives me the following output :
Quotechrescht@ubuntu:~/Downloads/TGUI-0.6.7$ sudo make install -j6
[ 89%] Built target tgui
Linking CXX executable FormBuilder
../../../lib/libtgui.so.0.6.7: undefined reference to `sf::String::substring(unsigned long, unsigned long) const'
../../../lib/libtgui.so.0.6.7: undefined reference to `sf::Image::~Image()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/TGUI/FormBuilder/FormBuilder] Error 1
make[1]: *** [src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/all] Error 2
make: *** [all] Error 2
chrescht@ubuntu:~/Downloads/TGUI-0.6.7$ sudo make install -j6
[sudo] password for chrescht:
[ 89%] Built target tgui
Linking CXX executable FormBuilder
../../../lib/libtgui.so.0.6.7: undefined reference to `sf::String::substring(unsigned long, unsigned long) const'
../../../lib/libtgui.so.0.6.7: undefined reference to `sf::Image::~Image()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/TGUI/FormBuilder/FormBuilder] Error 1
make[1]: *** [src/TGUI/FormBuilder/CMakeFiles/FormBuilder.dir/all] Error 2
make: *** [all] Error 2

does anyone know the source of this problem? I just installed sfml, very new to it.