in the COCOS2DX engine, the Civil network downloaded Quick-cocos2d-x v3.3 Final for Win and then opened the installation
and run the Setup_win.bat automatically set the environment variables, the desktop has generated the Player3.exe project simulator,
However, after the opening is a black screen, at first thought that the environment variable is not set up, so then re-view set up the environment
Variable and restarted the machine, but the result is still unchanged, still black screen (with frame rate and other information), as shown:
After I asked the degree Niang, but still did not find the solution, so I decided to try to recompile to build a bit:
(Here Player.sln solution path is G:\Cocos2d-lua\quick-3.3\quick\player\proj.win32)
<1> Change all project platform toolset to Visual Studio (V120) (because the IDE I'm using is Vs2013,os WIN7 64BIT)
<2> Build a solution
After all compile builds succeed, debug start execution, at this time Player3 run still black screen,
But I found the debug information and the error:
Read the debugging information is very good to solve, I first in the G:\COCOS2D-LUA\QUICK-3.3\QUICK\WELCOME\SRC new
Framework folder, and then copy the G:\Cocos2d-lua\quick-3.3\quick\framework\init.lua file to the path,
But after debugging startup found still missing files, so I simply put G:\Cocos2d-lua\quick-3.3\quick\framework
The entire directory and its files are copied to the G:\Cocos2d-lua\quick-3.3\quick\welcome\src\ directory, at which point it starts Player3
There will be no problem with the black screen, as shown in figure:
"Black screen problem has been successfully solved, the final summary of the solution is as follows":
copy G:\Cocos2d-lua\quick-3.3\quick\framework entire directory and its next files to
G:\Cocos2d-lua\quick-3.3\quick\welcome\src\ directory can be: