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

Pages: [1]
1
Graphics / Re: glitchy unusable video on OS X
« on: September 22, 2013, 12:14:39 am »
Okay, I just found out it's actually specifically about rendering to a sf::RenderTexture. I disabled the sf::RenderTexture stuff and now the game is working properly.

Is sf::RenderTexture known to be broken on OS X? Because it is very that.

2
Graphics / Re: glitchy unusable video on OS X
« on: September 22, 2013, 12:05:18 am »
Have you updated your graphics driver?
The only way of updating a video driver on a Mac is just updating the entire OS, and I'm on the most recent version.

What graphics card do you use?
It's an Intel integrated graphics... can't remember which one. This same game works fine on the same laptop compiled under Windows, so I don't think that's the issue.

Does the problem also appear with the samples in SFML, or maybe even other OpenGL applications?
Not sure if it appears on the SFML samples; I'll check. Other OpenGL applications are fine to my knowledge.

Also what are you drawing? What do you mean with "video"?
I'm just drawing sf::Sprites and sf::Texts. By video I just meant graphical output

3
Graphics / glitchy unusable video on OS X
« on: September 21, 2013, 09:35:45 am »
this is what SFML looks like on my mac for whatever reason.
tried a while back with SFML 2.0, tried again with SFML 2.1, it's still like this.



everything else appears to be working, from what little I can tell from sound and button presses. it's just the graphics.
dunno what the heck is up with this - help!

4
Feature requests / Re: Ability to set the window title.
« on: September 12, 2013, 04:00:01 am »
It's been two years. Is this ever going to happen? I decided to implement multilanguage support into my game today and was disappointed to discover that I can't put the translated name of the game in the title bar.

5
General / Re: (Linux 32, CodeBlocks) cannot find -lsfml-system
« on: August 13, 2013, 08:43:12 am »
You would have thought that would have been the problem, but...  :(

EDIT: rebuilt project and it's fixed. Thanks for pointing out my derp!

6
General / (Linux 32, CodeBlocks) cannot find -lsfml-system
« on: August 13, 2013, 06:15:31 am »
I'm at my wit's end here trying to get my project running on Linux. I used the prebuilt 32-bit Linux libraries, then when those didn't work, I compiled from source, and still nothing. The libraries definitely are in /usr/local/lib! I've searched the forums looking for any similar problems, and have tried every proposed solution, yet to no avail.

hinchy@Hinchy-PC-2013-Ubuntu:/usr/local/lib$ ls libsfml*
libsfml-audio.so      libsfml-graphics.so      libsfml-network.so      libsfml-system.so      libsfml-window.so
libsfml-audio.so.2    libsfml-graphics.so.2    libsfml-network.so.2    libsfml-system.so.2    libsfml-window.so.2
libsfml-audio.so.2.1  libsfml-graphics.so.2.1  libsfml-network.so.2.1  libsfml-system.so.2.1  libsfml-window.so.2.1
 

And yet, when I compile my game...

-------------- Clean: Release in Let Me Die (compiler: GNU GCC Compiler)---------------

Cleaned "Let Me Die - Release"

-------------- Build: Release in Let Me Die (compiler: GNU GCC Compiler)---------------

g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/entities/Actor.cpp" -o obj/Release/entities/Actor.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/entities/EntityList.cpp" -o obj/Release/entities/EntityList.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/entities/Jumpo.cpp" -o obj/Release/entities/Jumpo.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/entities/Player.cpp" -o obj/Release/entities/Player.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/entities/Solid.cpp" -o obj/Release/entities/Solid.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/AssetManager.cpp" -o obj/Release/src/AssetManager.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/DirectionUtils.cpp" -o obj/Release/src/DirectionUtils.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Entity.cpp" -o obj/Release/src/Entity.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/EntityManager.cpp" -o obj/Release/src/EntityManager.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Game.cpp" -o obj/Release/src/Game.o
/home/hinchy/Projects/Let Me Die/src/Game.cpp: In function ‘int Game()’:
/home/hinchy/Projects/Let Me Die/src/Game.cpp:55:20: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/hinchy/Projects/Let Me Die/src/Game.cpp:56:20: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/hinchy/Projects/Let Me Die/src/Game.cpp:57:23: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
/home/hinchy/Projects/Let Me Die/src/Game.cpp:59:148: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Globals.cpp" -o obj/Release/src/Globals.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Graphic.cpp" -o obj/Release/src/Graphic.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/InputManager.cpp" -o obj/Release/src/InputManager.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Language.cpp" -o obj/Release/src/Language.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Level.cpp" -o obj/Release/src/Level.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/main.cpp" -o obj/Release/src/main.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Markup.cpp" -o obj/Release/src/Markup.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/PathFinding.cpp" -o obj/Release/src/PathFinding.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Property.cpp" -o obj/Release/src/Property.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/Sound.cpp" -o obj/Release/src/Sound.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/src/YmlConfig.cpp" -o obj/Release/src/YmlConfig.o
g++ -fexceptions -fno-unsafe-math-optimizations -L/usr/local/lib  -O2  -DSANFORDRELEASE    -I../../entities -I../../include -I/usr/local/include -I/usr/include  -c "/home/hinchy/Projects/Let Me Die/platform/lin/GetPath.cpp" -o obj/Release/platform/lin/GetPath.o
g++ -L/usr/local/lib -L/usr/lib32  -o ../../build/bin/letmedie obj/Release/entities/Actor.o obj/Release/entities/EntityList.o obj/Release/entities/Jumpo.o obj/Release/entities/Player.o obj/Release/entities/Solid.o obj/Release/src/AssetManager.o obj/Release/src/DirectionUtils.o obj/Release/src/Entity.o obj/Release/src/EntityManager.o obj/Release/src/Game.o obj/Release/src/Globals.o obj/Release/src/Graphic.o obj/Release/src/InputManager.o obj/Release/src/Language.o obj/Release/src/Level.o obj/Release/src/main.o obj/Release/src/Markup.o obj/Release/src/PathFinding.o obj/Release/src/Property.o obj/Release/src/Sound.o obj/Release/src/YmlConfig.o obj/Release/platform/lin/GetPath.o   -lportaudio -lsonicamp -lcryptopp -lz -lyaml-cpp -lboost_system -lboost_filesystem -lsfml_system -lsfml_window -lsfml_graphics -s  
/usr/bin/ld: cannot find -lsfml_system
/usr/bin/ld: cannot find -lsfml_window
/usr/bin/ld: cannot find -lsfml_graphics
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 29 seconds)
3 errors, 4 warnings (0 minutes, 29 seconds)

Please, I really need some help with this. I'd really appreciate it!

Pages: [1]