Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux environment to build next Cocos2dx-3.3.1     - How to add a new hard disk without restarting the CentOS 7 / RHEL 7 virtual machine (Linux)

- Linux, modify the fstab file system can not start causing solve one case (Linux)

- Zabbix installation under Linux (Server)

- Linux CentOS configuration SVN + SVN hook (Server)

- Linux asynchronous read documents by AIO (Programming)

- How to Set Free SSH password on CentOS / RHEL (Linux)

- Writing Better Bash build script 8 (Programming)

- Linux and SELinux Exploration Program Manager (Linux)

- Ubuntu arm-none-eabi-gcc compiler treated with STM32F10x (Linux)

- On Android running ClojureScript (Linux)

- JEdit 5.2 Pro Edition installation on Ubuntu 14.04 (Linux)

- Install Firefox 28 on Ubuntu, Linux Mint (Linux)

- MySQL optimization of the relevant Group By (Database)

- Oracle database, some basic grammatical structures (Database)

- Based kubernetes Construction Docker Cluster Management Comments (Server)

- What is Java EE (Programming)

- Chromium Install Flash Official Guide (Linux)

- Ten best plug surge Emacs Productivity (Linux)

- Inherent limitations of Linux systems network security (Linux)

- grep command output highlighted word (Linux)

 
         
  Linux environment to build next Cocos2dx-3.3.1
     
  Add Date : 2018-11-21      
         
         
         
  1. Installation depends
 
Dependence include:

libx11-dev
libxmu-dev
libglu1-mesa-dev
libgl2ps-dev
libxi-dev
g ++
libzip-dev
libpng12-dev
libcurl4-gnutls-dev
libfontconfig1-dev
libsqlite3-dev
libglew * -dev
libssl-dev

If your system is Ubuntu / Debian, you can install by executing install-deps-linux.sh rely script build directory, but also self-install

$ Cd cocos2d-x-3.1.1
$ Cd build
$ ./install-deps-linux.sh

2. Depending on the installation is complete, enter the build directory, execute cmake command generates the makefile

$ Cd build
$ Mkdir linux-build
$ Cd linux-build
$ Cmake ../ ..

After the successful conclusion of 3.cmake, in the build / linux-build directory will generate a lot of files

Run make to compile

make

If the compiler to generate the correct project under build / linux-build / bin / cpp-tests / directory

4. Run cpp-tests, verify successful compilation

$ Cd bin / cpp-tests /
$ ./cpp-tests

5. Create Project

Enter tools / cocos2d-console / bin path

$ Python install.py

Installation console displays the path to the installation, for example,

cocos new language project name -l -p package names -d path

E.g

cocos new Game1 -p com.games.demo -l cpp -d / home / liyuhen / projects

6. Switch to the project path, compile and execute

cocos run -p linux
     
         
         
         
  More:      
 
- Java, hashcode, equals and == (Programming)
- Grep how to find files based on file contents in UNIX (Linux)
- Linux, how to filter, split, and merge pcap file (Linux)
- Selection sort, insertion sort, and Shell sort (Programming)
- SecureCRT connect virtual machine Linux system (Ubuntu) (Linux)
- DB2 Version SQLJ to access Oracle Server (Database)
- Increase Linux system security --chattr (Linux)
- How ONLYOFFICE collaborative editing document on Linux (Linux)
- High-performance JavaScript loaded and executed (Programming)
- How to install open source ITIL portal iTOP on CentOS 7 (Server)
- Ubuntu uses the / etc / profile file to configure the JAVA environment variable (Linux)
- Linux SSH login without a password (Linux)
- How to modify the Sublime in Tab four spaces (Linux)
- Fedora 23 How to install LAMP server (Server)
- Linux, Oracle listen address modification (Database)
- Ubuntu 14.04 LTS compiler installation R Source Code (Linux)
- The most concise Systemd tutorial, just ten minutes (Linux)
- WEB-based Android Remote Tools Python implementation (Programming)
- U disk to install Windows and Ubuntu 15.04 dual system (Programming)
- Repair Raspbian Encountered a section with no Package (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.