I can't compile Cocos2d-X sdk in Windows

0 votes

I'm using Cocos2d-x sdk in windows.

But I get following error during building. 

Error 1 error C1083: Cannot open include file: 'sys/socket.h': No such file or directory (..\AppWarpX\socket.cpp)
Error 2 error C1083: Cannot open include file: 'pthread.h': No such file or directory (..\AppWarpX\appwarp.cpp)
Error 3 error C1083: Cannot open include file: 'pthread.h': No such file or directory 
Error 4 error C1083: Cannot open include file: 'pthread.h': No such file or directory (..\AppWarpX\requests.cpp)
Error 5 error C1083: Cannot open include file: 'unistd.h': No such file or directory
Error 6 error C1083: Cannot open include file: 'pthread.h': No such file or directory (..\AppWarpX\utilities.cpp)
7 IntelliSense: cannot open source file "curl/curl.h"
8 IntelliSense: cannot open source file "pthread.h"
9 IntelliSense: cannot open source file "sys/socket.h"
10 IntelliSense: cannot open source file "netinet/in.h"
11 IntelliSense: cannot open source file "arpa/inet.h"
12 IntelliSense: cannot open source file "unistd.h"
 
How to do I ?

 

asked Feb 7, 2016 in AppWarpS2 by rongchenghan (15 points)

1 Answer

0 votes
Hi,

As of now, AppWarp Cocos2dx is only supported for iOS and Android platforms. You can use Xcode or Eclipse IDE for the same.

I hope it will help.

Thanks.
answered Feb 8, 2016 by rajeev.etc (1,660 points)
I already developed iOS and Android version using Appwarp SDK.
I have two games on GPaaS.
Now I have to develop windows version using Appwarp SDK.
but I can't compile it.
This is urgent issue.
So I wish you help me ASAP.
Thanks.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...