libtmx-parser icon indicating copy to clipboard operation
libtmx-parser copied to clipboard

I'm getting an undefined reference error

Open DavidJHartman opened this issue 10 years ago • 1 comments

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/");

DavidJHartman avatar Jul 17 '15 03:07 DavidJHartman

Sounds like you didn't properly compile the source files and just included the headers.

halsafar avatar Jul 17 '15 04:07 halsafar