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 - greenmuzz

Pages: [1]
1
General / Re: undefined reference with peculiar name
« on: May 11, 2016, 04:04:27 pm »
Thanks, finally found it.

For some reason, on my Mac, it compiled, meaning I didn't consider that the order of my libraries could be the issue (because, as I say, it was linking quite happily). This also reinforced by miss-remembered belief about what order the libraries (mine vs. sfml) should be listed in.  Basically, I needed to put my library first because it depended on SFML, and I had it after (because I  have a bad memory). I knew it would end up being something that trivial, such a pain that having the wrong order worked elsewhere.

hey ho.

2
General / undefined reference with peculiar name
« on: May 11, 2016, 03:40:23 pm »
Hi,

I can't yet create a minimal example that reproduces this linker error - to my annoyance splitting my renderer from anything else allows successful compilation of a trivial usage of it. While I search for a minimal example that reproduces the error, is there anyone out there who can perhaps parse and understand this cryptic undefined reference so I might have a better idea what to look for?

g++, Ubuntu 16.04, everything installed through package manager.

/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libsfml-window.so: undefined reference to symbol '_ZN2sf6StringC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6locale'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libsfml-system.so: error adding symbols: DSO missing from command line

3
Graphics / render text at opengl coords
« on: September 14, 2010, 07:02:28 pm »
cheers,
I can do the conversion happily enough, just hoped I wouldn't have too. :)

4
Graphics / render text at opengl coords
« on: September 14, 2010, 06:08:38 pm »
Hello,

Say my openGL coordinate system is not the same as the window coordinate system, and I've used various glTranslates etc to move to a specific part of the screen. Can I get SFML to write text at that location (the location where a glVertex would draw a point), or do I need to manually convert the coordinates?

e.g. Maybe I have a window of 800x600, and have used a glOrtho2D(0,50,50,0,-10,10), done a glTranslate off to (8,27), and want to draw some text there (a label on a bounding box). Do I need to manually convert that (8,27) to pixel coordinates in the 800x600 window, or can I directly get SFML to draw text at (8,27)?

Pages: [1]
anything