Jump to content
  • Advertisement
Poprocks

using tmxparser (and failing)

Recommended Posts

Hi everyone!

I've managed to build zlib, tinyxml2 and tmxparser with cmake-gui & visual studio 2017, but when I try building the example program for tmxparser (https://github.com/sainteos/tmxparser/tree/master/test) I'm getting numerous unresolved externals for errors, and in the warnings they all state the library machine type 'x64' conflicts with target machine type 'x86'. (some of the unresolved symbols include __imp__UnhandledExceptionFilter@4, __imp__getCurrentProcess@0, __imp__HeapAlloc@12 and the file referenced in the error log is MSVCRTD.lib along with varying object files)

Thing is, when I go back to the cmake configuration listings for all 3 of those libraries, i can't find anything to suggest i've explicitly configured anything as a 64bit build, and when I open the solutions cmake generated for each of the libraries, all of them (including the test project) have x86 as the current target.. what gives?

Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement

Maybe its your compiler setting is x64 instead of x86, or you've include a x64 lib file by mistake. Can you post an error message related to/saying:

On 9/19/2017 at 11:56 PM, Poprocks said:

type 'x64' conflicts with target machine type 'x86'.

 

 

 

Share this post


Link to post
Share on other sites

thanks for the reply Yxjmir, i managed to get things working. turns out i was doing something really dumb with the windows sdk libraries.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!