Load Json file on Android/Windows with Cocos2d-x
Re: Load Json file on Android/Windows with Cocos2d-x
I use both and both get the same linker error. That's why I was looking for some one who could explain the process for use with MSVS or Eclipse
Re: Load Json file on Android/Windows with Cocos2d-x
I see. Basically the process is, you need to make sure the compiler is actually using the file that contains the function that it is complaining about. As it says, this function is not being found:
public: __thiscall b2dJson :: b2dJson (bool)
Unless you have changed things drastically, that function will most likely be in the b2dJson.cpp file. Are you sure the b2dJson.cpp file is being compiled?
It might help to turn on verbose output for the compiler and linker. I don't know the details of how to do that myself, but these links might help.
http://msdn.microsoft.com/en-us/library/wdsk6as6.aspx
http://stackoverflow.com/questions/1211 ... ry-verbose
public: __thiscall b2dJson :: b2dJson (bool)
Unless you have changed things drastically, that function will most likely be in the b2dJson.cpp file. Are you sure the b2dJson.cpp file is being compiled?
It might help to turn on verbose output for the compiler and linker. I don't know the details of how to do that myself, but these links might help.
http://msdn.microsoft.com/en-us/library/wdsk6as6.aspx
http://stackoverflow.com/questions/1211 ... ry-verbose