Welcome, Guest. Please login or register. Did you miss your activation email?

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.


Messages - Wooowe

Pages: [1]
1
General / Re: SFML1.6 error
« on: October 06, 2012, 02:12:20 am »
Lol I feel stupid now xD, thanks for all the help! SFML looks very promising :D!

2
General / Re: SFML1.6 error
« on: October 04, 2012, 01:19:11 am »
Yep had to install the SFML 2.0 lib / include in my /usr/ folder, but now I am getting an error where the GL/gl.h .. ect files aren't being found because when I compile my programs it says :

/tmp/ccwSbe6q.o:test.cpp:function main: error: undefined reference to 'glViewport'
/tmp/ccwSbe6q.o:test.cpp:function main: error: undefined reference to 'glClear'
collect2: ld returned 1 exit status


Does this mean I have to reinstall OpenGL and hope for the best?

3
General / Re: SFML1.6 error
« on: October 02, 2012, 03:05:07 am »
Just got it all to work, seems like I couldn't just drag the files into usr/local/include & lib? I had to to that long process "g++ -c main.cpp -I/home/me/SFML-2.0-rc/include"

Can you please tell me how to correctly install v2.0 so I don't have to do that super long command xD?

4
General / Re: SFML1.6 error
« on: October 02, 2012, 02:41:28 am »
Just installed 2.0 that error is gone but I get a new one:
/tmp/cc3VtzXx.o:test.cpp:function main: error: undefined reference to 'sf::Window::create(sf::VideoMode, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, sf::ContextSettings const&)'
collect2: ld returned 1 exit status

I put in the same terminal commands as always

5
General / Re: SFML1.6 error
« on: October 01, 2012, 05:01:58 am »
I haven't tried any other versions yet, but I also get the same type of error when I do SDL stuff.

6
General / SFML1.6 error
« on: September 30, 2012, 09:05:58 pm »
Hey guys this very odd error has come up on my ubuntu machine for the past couple of day, been trying to figure it.

The error is when I am trying to run the SFML program:
./main: symbol lookup error: /usr/local/lib/libsfml-window.so.1.6: undefined symbol: _ZN2sf7Unicode17UTF8TrailingBytesE

this is how I compile it:
g++ -o main main.o -lsfml-graphics -lsfml-window -lsfml-system


P.S this only happens when I try to render a window, it is all good when I did that starting program in the gcc tutorial section

Pages: [1]
anything