Preprocessor Directive issues

Preprocessor Directive issues
0.0 0


I followed the instructions at*-*How_to_Create_a_New_cocos2d-x_project_on_multi-platforms#4-Start-with-Android

to the letter. But when I tried opened the project in eclipse it did not work. The DDMS was giving this stack trace

and the main.cpp file in the jni folder was saying “Unresolved Inclusion” on these include statements
#include “AppDelegate.h”
#include “cocos2d.h”
#include “platform/android/jni/JniHelper.h”
#include <jni.h>
#include <android/log.h>

What is going on here? Have I left out some files?


Your library is not linked or named correctly in either the mk files or the static library call. Doublecheck for spelling and caps.