Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17076

Cocos2d-x 3.6 app doesn't run on Windows 10

$
0
0

@JohnnyC wrote:

I have a game that was built using Cocos2d-x 3.6 on my Mac.
This game runs on iOS, Android and Mac.
I thought I'd have a go at creating a Windows version, so copied it over to my laptop running Windows 10 Home Edition...

Unzipped Cocos2d-x 3.6 onto the PC, ran setup.py from the command prompt.
Copied my project folder from Mac to PC.
I compiled the project using Visual Studio Professional 2012 (error with arc4random, but replaced this).
Note, I used the solution file in the proj.win32 folder (not the proj.win8.1-universal folder), is this correct?

When I attempt to run/debug the executable from within VS, I just get the spinning cursor and nothing ever happens, have to go to the task manager and quit VS.
If I run the executable from an explorer window, I just get the spinning cursor again.

I've copied the executable (plus resource & dll files) to a Windows 8.1 machine, I get the following message when attempting to run it:
"The application was unable to start correctly (0x000007b). Click OK to close the application."

This is what I'm using:
Cocos2d-x 3.6
Windows 10
Visual Studio Professional 2012 (Update 5)
Python 2.7.10
Apache Ant 1.9.5

In addition to this, I have attempted to build cpp-tests, using build/cocos2d-win32.vc2012.sln
I got a build error:
*>..\Classes\SpritePolygonTest\SpritePolygonTest.cpp(230): error C2143: syntax error : missing ')' before '{'
1>..\Classes\SpritePolygonTest\SpritePolygonTest.cpp(230): error C2275: 'cocos2d::Color4F' : illegal use of this type as an expression
1> c:\projects\cocos2d-x\cocos\base/ccTypes.h(126) : see declaration of 'cocos2d::Color4F'
1>..\Classes\SpritePolygonTest\SpritePolygonTest.cpp(230): error C2143: syntax error : missing ';' before '{'
1>..\Classes\SpritePolygonTest\SpritePolygonTest.cpp(230): error C2143: syntax error : missing ';' before '}'
1>..\Classes\SpritePolygonTest\SpritePolygonTest.cpp(230): error C2059: syntax error : ')'*

After commenting out debugForNormalSprite->drawPoints(positions, 4, 8, Color4F{0.0,1.0,1.0,1.0}); in SpritePolygonTest.cpp, I run the executable - same as my own project - spinning cursor!!!

Any ideas?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>