Debian7/ubuntu configuring cocos2d-x-3.5 and the problems encountered and their solutions

Source: Internet
Author: User

For Debian7

1. Download cocos2d-x-3.5 from official website, unzip and follow readme.md, setup.py and download required Library

2. Then compile test under the Cpp-test project, encounter the following problems:

1) Findglew.cmake


It means that there is no findglew.cmake, I do not know why not ...

The solution is as follows:

Under Cmake/modules, create a new file Findglew.cmake with the following file contents:

Http://www-i8.informatik.rwth-aachen.de/svnrepo/OpenFlipper/branches/Free/cmake/FindGLEW.cmake


2. GLFW


The problem is I did not install GLFW, directly download the source code and then follow the Http://www.glfw.org/docs/latest/compile.html#compile_compile compiled installation, so it is OK


3. g++ Command not found

Because I installed the build-essential, the environment variable is not a problem,/usr/bin under the g++ is a link file, the link is g++-4.9, but my system is g++-4.7, so delete g++, then create a new point g++-4.7

Debian7/ubuntu configuring cocos2d-x-3.5 and the problems encountered and their solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.