
Load Json file on Android/Windows with Cocos2d-x
Load Json file on Android/Windows with Cocos2d-x
hello everyone, I'm new to this forum. I wish some of one explain to me or show me some tutorials on how to load the json file of rube Android on windows operating system. I'm going crazy! thanks 

Re: Load Json file on Android/Windows with Cocos2d-x
I think you will have to explain the problem you are having first.
I have not used cocos2d-x on Windows, but the method should not be any different than for other operating systems. Perhaps it is a problem with path separators? Eg. windows uses \ while all other operating systems use /
I have not used cocos2d-x on Windows, but the method should not be any different than for other operating systems. Perhaps it is a problem with path separators? Eg. windows uses \ while all other operating systems use /
Re: Load Json file on Android/Windows with Cocos2d-x
Thanks for the reply, but I also tried this solution. The project is compiled with microsoft visual studio express and this is the error: "Error 2 error LNK2019: reference to external symbol" public: __thiscall b2dJson :: b2dJson (bool) "(?? 0b2dJson@@QAE @ _N @ Z) not solved in the function ... "
Re: Load Json file on Android/Windows with Cocos2d-x
It sounds like you have not added the file b2dJson.cpp to your project.
Re: Load Json file on Android/Windows with Cocos2d-x
Also this was done. There is a tutorial of rube editor to use with microsoft visual express? otherwise I will be forced to attach a cpp file instead of a json file, although it does not seem the best way
Re: Load Json file on Android/Windows with Cocos2d-x
I don't think so... that error is saying it was not done:danspe wrote:Also this was done.
http://msdn.microsoft.com/en-us/library/799kze2z.aspx
At this point, I don't think it's a RUBE or cocos2d-x issue, but a problem with project configuration. Unfortunately I don't have any experience to help with MSVS....
Re: Load Json file on Android/Windows with Cocos2d-x
do you have experience with eclipse?
Re: Load Json file on Android/Windows with Cocos2d-x
No, only an hour or two 

Re: Load Json file on Android/Windows with Cocos2d-x
I have bought Rube pro, but are of the opinion that it is not optimized for Windows systems. I found nothing in the network. I program for Android but I'm having great difficulty 

Re: Load Json file on Android/Windows with Cocos2d-x
Could you be more specific about the problem? Originally you were talking about a linker error... did you solve that error?
It seemed that you were having trouble with MSVS, but then you bring up Eclipse... is it relevant somehow?
It seemed that you were having trouble with MSVS, but then you bring up Eclipse... is it relevant somehow?