-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Comiling from command line on Linux platform
cocos compile -p linux -m debug
In file included from JNIResults.cpp: 9:0:
JNIResults.h:15:17: fatal error: jni.h: No such file or directory
This very strange, because there is #if in JNIResults.h file
#if(CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#include <jni.h>
#include "platform/android/jni/JniHelper.h"
#include <android/log.h>
#include "cocos2d.h"
#include "SonarFrameworks.h"
#endif
The jni.h must not be included for Linux compilation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels