{"action":"created","issue":{"url":"https://api.github.com/repos/andrewrk/tmxparser/issues/29","labels_url":"https://api.github.com/repos/andrewrk/tmxparser/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/andrewrk/tmxparser/issues/29/comments","events_url":"https://api.github.com/repos/andrewrk/tmxparser/issues/29/events","html_url":"https://github.com/andrewrk/tmxparser/issues/29","id":86746529,"number":29,"title":"undefined reference to `Tmx::Map::ParseText(std::string const&)'","user":{"login":"Wasabi2007","id":2978690,"avatar_url":"https://avatars.githubusercontent.com/u/2978690?v=3","gravatar_id":"","url":"https://api.github.com/users/Wasabi2007","html_url":"https://github.com/Wasabi2007","followers_url":"https://api.github.com/users/Wasabi2007/followers","following_url":"https://api.github.com/users/Wasabi2007/following{/other_user}","gists_url":"https://api.github.com/users/Wasabi2007/gists{/gist_id}","starred_url":"https://api.github.com/users/Wasabi2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wasabi2007/subscriptions","organizations_url":"https://api.github.com/users/Wasabi2007/orgs","repos_url":"https://api.github.com/users/Wasabi2007/repos","events_url":"https://api.github.com/users/Wasabi2007/events{/privacy}","received_events_url":"https://api.github.com/users/Wasabi2007/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-09T21:50:31Z","updated_at":"2015-09-06T22:00:15Z","closed_at":"2015-06-10T11:14:09Z","body":"Hi,\r\nmaybe it's only a noob error but I get undefined references to the parse functions.\r\n\r\n**What have I done?**\r\n\r\nI build tmxparser under Linux with mxe for Mingw 64bit.\r\nThen I copied the resulting Librarys and needed header files into my project.\r\nAfter that I modified my CmakeLists file to include this:\r\n```\r\ninclude_directories(tmxparser/include)\r\nlink_directories(${CMAKE_CURRENT_SOURCE_DIR}/tmxparser/mingw)\r\ntarget_link_libraries(Projekt tmxparser tinyxml2 otherlibs )\r\n```\r\n**What have I tried to fix it?**\r\nI tried to use a specific other Library like *libtmxparser.dll.a\" and also to change the order in witch tmxparser tinyxml2 and zlib get linked but with no change in result.\r\n\r\nNow I don't know further as the example program launches and I don't know what could have been gone wrong with the compiled librarys.\r\n\r\nOne thing to add, \r\nyes it get linked because, when I remove the tmxparser from the linking command I get additional  undefined references errors to \"Tmx::Map::Map()\" and \"Tmx::Map::~Map()\"\r\n\r\nbest regards\r\nWasabi2007\r\n"},"comment":{"url":"https://api.github.com/repos/andrewrk/tmxparser/issues/comments/138129257","html_url":"https://github.com/andrewrk/tmxparser/issues/29#issuecomment-138129257","issue_url":"https://api.github.com/repos/andrewrk/tmxparser/issues/29","id":138129257,"user":{"login":"Wasabi2007","id":2978690,"avatar_url":"https://avatars.githubusercontent.com/u/2978690?v=3","gravatar_id":"","url":"https://api.github.com/users/Wasabi2007","html_url":"https://github.com/Wasabi2007","followers_url":"https://api.github.com/users/Wasabi2007/followers","following_url":"https://api.github.com/users/Wasabi2007/following{/other_user}","gists_url":"https://api.github.com/users/Wasabi2007/gists{/gist_id}","starred_url":"https://api.github.com/users/Wasabi2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wasabi2007/subscriptions","organizations_url":"https://api.github.com/users/Wasabi2007/orgs","repos_url":"https://api.github.com/users/Wasabi2007/repos","events_url":"https://api.github.com/users/Wasabi2007/events{/privacy}","received_events_url":"https://api.github.com/users/Wasabi2007/received_events","type":"User","site_admin":false},"created_at":"2015-09-06T22:00:15Z","updated_at":"2015-09-06T22:00:15Z","body":"So do i see right that you didn't made any of those?\r\n```\r\nmake \r\nmake tmxparser\r\nmake tmxparser_static\r\n```\r\n\r\nbecause \r\n```\r\nmake install\r\n```\r\nwould only copy already compiled files into your central library folder but wouldn't produce any .so .a or .dll file"}}