Main Menu
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 - wmbuRn

#76
So anyone got and idea what am i doing wrong ? And how to fix it ?

additional info:
kernel: 3.2.0-48-generic-pae #74-Ubuntu SMP
os: Elementary os luna beta 2
sfml: 2.0  and sfml 2.0 tested, everything sfml 2.0 related works. Also tested 1.6 code which didnt work [ just to be shure i have sfml 2.0]. If need more info ask and i will reply.
#77
Installation help / Re: gcc errors in linux
08 July 2013, 21:19:53
Thi is the log of 0.5.2 compiling. So i tied every possible sollution. Every time i delete old source and unpack source so that all the test are fresh]

tied, sudo make same error. tried sudo make install [on fresh srouce] sam eror. tried sudo ./install.sh same error, tried cmake gui first after make install same error:
Thi is from 0.5.2

[  2%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Label.cpp.o
/home/hidden/TGUI-0.5/src/TGUI/Label.cpp: In member function 'virtual const sf::Font* tgui::Label::getTextFont() const':
/home/hidden/TGUI-0.5/src/TGUI/Label.cpp:129:31: error: cannot convert 'const sf::Font' to 'const sf::Font*' in return
/home/hidden/TGUI-0.5/src/TGUI/Label.cpp:130:5: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [src/TGUI/CMakeFiles/tgui.dir/Label.cpp.o] Error 1
make[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
make: *** [all] Error 2


this is output of cmake gui:

The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Found SFML: /usr/include
Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so
Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so - found
Looking for gethostbyname
Looking for gethostbyname - found
Looking for connect
Looking for connect - found
Looking for remove
Looking for remove - found
Looking for shmat
Looking for shmat - found
Looking for IceConnectionNumber in ICE
Looking for IceConnectionNumber in ICE - found
Found X11: /usr/lib/i386-linux-gnu/libX11.so
Found OpenGL: /usr/lib/i386-linux-gnu/libGL.so
Configuring done
#78
Installation help / gcc errors in linux
08 July 2013, 21:04:18
So i downloaded 0.6-dev from the site since 0.4.2 or 0.4.4 wont work at all :)
so i tried to compile Tgui-master [i used cmake first ofc [gui cmake]] and everythig went well with cmake(as it should), but when i typed "sudo make install" i got these errors:

Scanning dependencies of target tgui
[  2%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/TGUI.cpp.o
[  5%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Callback.cpp.o
[  8%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Transformable.cpp.o
[ 10%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Widgets.cpp.o
[ 13%] Building CXX object src/TGUI/CMakeFiles/tgui.dir/Label.cpp.o
/home/hidden/TGUI-master/src/TGUI/Label.cpp: In member function 'const sf::Font* tgui::Label::getTextFont() const':
/home/hidden/TGUI-master/src/TGUI/Label.cpp:152:31: error: cannot convert 'const sf::Font' to 'const sf::Font*' in return
/home/hidden/TGUI-master/src/TGUI/Label.cpp:153:5: warning: control reaches end of non-void function [-Wreturn-type]
make[2]: *** [src/TGUI/CMakeFiles/tgui.dir/Label.cpp.o] Error 1
make[1]: *** [src/TGUI/CMakeFiles/tgui.dir/all] Error 2
make: *** [all] Error 2


so, i will try 0.5 version and will report back. If anyone got a solution how to make this to work please reply. Thank you.
Btw nice gui lib!