Android Cocos2DX using C++ in Eclipse Helios

I have used Eclipse Helios 3.6.1 for Java development. I wanted to start C++ development in the same IDE so I installed Autotools Support For CDT, C/C++ Development Tools, C/C++ Library API Documentation Hover Help plugins.

I have included #include "cocos2d.h" in my HelloWorldScene.h file now when writing the below statement

cocos2d::CCSprite * ccSprite;

I am not getting auto completion bar(template proposals) on writing like coco and pressing Ctrl + Space from my keyboard. What can be the problem?

This might help you solve my problem. Please check here. This is what I got after clicking Right Click Project -> Index -> Search for Unresolved Index. But I have added all includes check here. I think this is causing problem in Content Assist. What should I do in this case? Inclusion seems proper.

Answer:1

Can you check if you have included the path to Cocos2d-x headers folder in your project properties? If not right click on your project > Properties > C/C++ General > Paths and Symbols > Includes tab > Add > $PATH_TO_YOUR_COCOS2DX/cocos2dx/include where you must replace $PATH_TO_YOUR_COCOS2DX by the actual absolute path to where you downloaded the cocos2dx framework.

PS: You should upgrade your eclipse to Juno as well, Helios is a bit old now :)

Answer:2

I got java JDK 11 installed and I am using the Maven JavaFX. But when I try and run the code I get a build error which is "class file has wrong version 54, should be 52" POM.xml <dependencies&...

I am running a Java code in a server (remotely) by using javac. Now, I want to perform memory profiling remotely because as YourKit say's, Picked up JAVA_TOOL_OPTIONS: Cannot start the profiler UI: ...

I need to find and display the the employee who has the maximum salary from the Farm. this is what I got so far public class Employee implements Comparable<Employee> { private String name; ...

I am trying to build a java server using AWS on an EC2 server on tomact. Why i am building is for a game i am making in unity. This will not be a real time game where I need a constant connection ...