libtmx-parser
libtmx-parser copied to clipboard
I'm getting an undefined reference error
undefined reference to `tmxparser::parseFromFile(std::string const&, tmxparser::TmxMap*, std::string const&)'|
I get that error with this line of code: tmxparser::TmxMap tilemap; error = tmxparser::parseFromFile("resources/map/map.tmx", &tilemap, "resources/tilemap/");
Sounds like you didn't properly compile the source files and just included the headers.