Hi there!
I have the tutorial project setup and working on android only. But now I wan’t to add a way to compile it to linux also.
What is the easiest way to do this?
Thanks in Advance
NobbZ
Hi there!
I have the tutorial project setup and working on android only. But now I wan’t to add a way to compile it to linux also.
What is the easiest way to do this?
Thanks in Advance
NobbZ
Which tutorial project?
The easiest way to setup a linux project is to copy the Makefile from HelloCpp/proj.linux and modify the SOURCES and EXECUTABLE variables
to match your project. Then type ‘make run’ or ‘make DEBUG=1 run’ to build and run it.
Sam Clegg wrote:
Which tutorial project?
This one from Wiki: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Step_by_Step_Cocos2dxSimpleGame_Series
The easiest way to setup a linux project is to copy the Makefile from HelloCpp/proj.linux and modify the SOURCES and EXECUTABLE variables
to match your project. Then type ‘make run’ or ‘make DEBUG=1 run’ to build and run it.
I’ll try that when I’m at home.