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

Pages: [1]
1
SFML projects / Re: 'Tiled' Tile-map Loader
« on: July 14, 2014, 10:36:50 pm »
Hello,

It's ok, I found where was the problem, I added "-lz" to my .pro file...

Quote
-lzlib

Thank you, it's not -lzlib but you put me on the track.

@Nexus : Sorry

2
SFML projects / Re: 'Tiled' Tile-map Loader
« on: July 14, 2014, 08:57:45 pm »
Could you help me please ?  :'(

3
SFML projects / Re: 'Tiled' Tile-map Loader
« on: July 14, 2014, 04:02:46 pm »
Hi there !

I try to use the TMX map loader with QTCreator (under Ubuntu)

When I compile I get those errors :

Quote
15:57:23: Running steps for project TestTML...
15:57:23: Configuration unchanged, skipping qmake step.
15:57:23: Starting: "/usr/bin/make"
g++ -m64 -o TestTML main.o MapLoaderPrivate.o MapLoaderPublic.o QuadTreeNode.o pugixml.o   -L/home/seb/Progs/libs/SFML-2.1/lib -lsfml-graphics -lsfml-window -lsfml-system
/usr/bin/ld: MapLoaderPrivate.o: undefined reference to symbol 'inflateInit2_'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [TestTML] Error 1
15:57:23: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project TestTML (kit: Desktop)
When executing step 'Make'
15:57:23: Elapsed time: 00:00.

I also get a lot of warnings, but it looks like the errors have something to do with the zlib ?

If I do a "locate libz.so" in a terminal, I get this :

Quote
/lib/i386-linux-gnu/libz.so.1
/lib/i386-linux-gnu/libz.so.1.2.8
/lib/x86_64-linux-gnu/libz.so.1
/lib/x86_64-linux-gnu/libz.so.1.2.8
/usr/lib/x86_64-linux-gnu/libz.so

Pages: [1]
anything