A lot of users have installed the official version of win10, but because they are too new to the new system, they will always encounter some problems during operation. Recently, some netizens reported that they want to build the vs2015+cocos2d-x 3.9 development environment tutorial under Win10, but the operation has not been successful for a long time, and there are more pits encountered during the installation process. What should I do? Xiaobian below will introduce you to the specific method.
First step: install vs2015
1 Microsoft's official website to download vs2015 installed in ( Be sure to keep this installer, which you can use later to modify, repair, and uninstall vs). 2. Choose a custom installation (do not choose a typical installation, many tools are not installed for a typical installation). 3. Be sure to install the Windows 10 SDK, which is the option to check the yellow box below. (The latest vs will provide two win10 sdk versions).
4. Wait for the vs installation to complete.
Step 2: Install cocos2d-x3.9
1. Install pythona. Download and install python2.7.3.
b.Configuration Environment
Right-click <;Computer”, select “Properties"----">;Advanced System Settings>, in “Advanced” Under the tab, select "Environment Variables"!
Select <;Path” under “System Variables> and click the Edit button below:
In the pop-up Edit In the system variable & rdquo; dialog box edit “ variable value & rdquo;, add the Python installation path (D:\\Program Files (x86)\\Python27) after the "variable value", with the English semicolon (;) It is separated from the rest of the content.
Similarly, add .PY;.PYM to the variable value of "PATHEXT“.
c.Check if the installation is successful
Open the cmd console and type python. If the following prompt appears, the python installation is successful.
2. Run setup.py in cocos directory, set the corresponding environment variables such as android SDK, NDK, etc. 3. Create a new cocos project after setting. Step: Open terminal and run cocos.py script to create file < Br>
python cocos.py new HelloCpp -p com.coco2dx.org -l cpp -d ~/Desktop
Parameter Description:
· HelloCpp is the project name
· -p followed by the package name
· -l followed by the development language type, there are three types of cpp, lua, js
-d followed by the directory where the project is stored
4. Use vs to open proj.win10\\GamePlay.sln in the new project;
5. At this point, there may be many errors in compiling the project.
Workaround:
1) Reproject all projects under the project, including libbox2d, libbullet, librecast, libSpine, libCocos2d and the game itself to the appropriate SDKversion (my is the image) The previous version).
2) When you choose to run, you want to ×86 platform:
3)Running effect:
The above is about this summary. Win10 system how to build vs2015+cocos2d-x 3.9 development environment, we can refer to it, I hope to help everyone! Welcome everyone to continue to pay attention to other information!
This mornings news, for Win10 Insider users can really upgrade to the official version of Windows10
win10 before the windows system, each patch will tell you that this patch update repair content, but
Yesterday, the well-known Russian material broketer WZor exposed the installation screenshot of Win1
Sometimes used, will suddenly find that the display desktop icon in the Win7 system taskbar is gone.
Win10 login password how to cancel, win10 password cancel tutorial
Teach you how to quickly shut down under Win7 system
Win10 Mobile 10586.11 has been pushed closer to the official version of the
Win8 boot fatal error C00000022 how to do it Solution introduction
How does Win8 open the Windows To Go function?
Win10 Mobile Technology Preview 10136 Quick Start Video
Where is the Win10 preview version 9913/9932 downloaded? How to update?
Win8.1 compressed volume prompts no solution for free space
How to solve the slow start of win7
How does Win10 turn off the smartscreen filter detection function?
Win7 operating system standby password setting method
What problems will occur after the Win10 preview version 10576 is upgraded?
Little-known recycling method magical method
Win8.1 uses the built-in input method to easily play special characters
Win10 system to play extreme racing 6 tips Thank you for installing solutions
Win8.1 adds holidays to Outlook calendar
Little-known latest XP ten cool skills
Win8 App Store 0x80240437 error how to do
Win8 installation fails prompt disk has MBR partition table solution
Wireless Router Flood Control Network: QQ Computer Manager Wireless Security Assistant