Skip to content
Jonathan Bayle edited this page Aug 2, 2017 · 4 revisions

Frequently asked questions

Can I incorporate source files of libTMX directly in my project?

Yes. And it should work as-is without anything else to do.
Example: Adding libTMX v1.0.0 to a C++ game project.

Is there compatibility issues between versions of this library and versions of Tiled

Short answer: yes.

Long answer: Yes and no, every releases has a target Tiled version but this library should be able to load map created with older version of Tiled (an incompatibility exists with older version since v0.13).

GCC: I get a relocation error when linking against static libraries from distribution!

If you get this error:

ld: libz.a(inflate.o): relocation R_X86_64_32S against `zcfree' can not be used when making a shared object; recompile with -fPIC
libz.a: error adding symbols: Bad value

Link with this option: -static

What are code style guidelines for this project?

Tabs for indenting, spaces for aligning.

Clone this wiki locally