Fatal Error Android/log.h No Such File Or Directory
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site fatal error no such file or directory c++ About Us Learn more about Stack Overflow the company Business Learn more about
Fatal Error No Such File Or Directory Codeblocks
hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join fatal error no such file or directory compilation terminated the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Android ndk: utils/Log.h: No such
Fatal Error No Such File Or Directory Arduino
file or directory compilation terminated up vote 1 down vote favorite am compiling android ndk project but couldn't get it successfully done. It says no such file or directory found for Log header file at main.cpp file. I'm new to android ndk please help. here is my android.mk file. LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE_TAGS := user LOCAL_ARM_MODE := arm # This is the target fatal error no such file or directory gcc being built. LOCAL_MODULE := libemu # All of the source files that we will compile. LOCAL_SRC_FILES := \ ticks.c \ main.cpp \ emulator.cpp # All of the shared libraries we link against. LOCAL_SHARED_LIBRARIES := \ libdl \ libnativehelper \ libutils # Static libraries. LOCAL_STATIC_LIBRARIES := # Also need the JNI headers. LOCAL_C_INCLUDES += \ $(JNI_H_INCLUDE) # Special compiler flags. LOCAL_CFLAGS += -O3 -fvisibility=hidden # Don't prelink this library. For more efficient code, you may want # to add this library to the prelink map and set this to true. However, # it's difficult to do this for applications that are not supplied as # part of a system image. LOCAL_PRELINK_MODULE := false include $(BUILD_SHARED_LIBRARY) here is the log "Compile++ arm : emu <= main.cpp D:/EclipseWorkspace/NineTendo//jni/main.cpp:2:23: fatal error: utils/Log.h: No such file or directory compilation terminated. make: *** [D:/EclipseWorkspace/NineTendo//obj/local/armeabi/objs/emu/main.o] Error 1 any help would be much appreciated. Thanks android c++ android-ndk share|improve this question edited Feb 14 '14 at 19:31 asked Feb 14 '14 at 15:15 Tashen Jazbi 332625 Voting to close, as the dialog in comments indicates you keep changing the problem you are trying to solve. Stackoverflow is for specific questions, n
here for
Fatal Error No Such File Or Directory Iostream
a quick overview of the site Help Center
Fatal Error No Such File Or Directory Code Blocks
Detailed answers to any questions you might have Meta Discuss the workings fatal error python h no such file or directory and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers http://stackoverflow.com/questions/21782981/android-ndk-utils-log-h-no-such-file-or-directory-compilation-terminated or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only http://stackoverflow.com/questions/32341718/ndk-utils-log-h-no-such-file-or-directory takes a minute: Sign up NDK
fatal error: 'android/log.h' file not found #include "android/log.h" ^ :41: In file included from jni/../../cocos2d/cocos/./base/CCRef.h:29: In file included from jni/../../cocos2d/cocos/./base/CCPlatformMacros.h:33: jni/../../cocos2d/cocos/./platform/android/CCPlatformDefine.h:32:10: fatal error: 'android/log.h' file not found #include "android/log.h" ^ 1 error generated. make: fatal error [obj/local/armeabi/objs/cocos2dcpp_shared/__/__/Classes/AppDelegate.o] Error 1 make: Waiting for unfinished jobs.... 1 error generated. make: [obj/local/armeabi/objs/cocos2dcpp_shared/hellocpp/main.o] Error 1 make: Leaving directory `/Users/xavierlombard/Desktop/MyGameTest/CrazyFactory/proj.android' Traceback (most recent call last): The Selected NDK toolchain version was 4.8 ! I don't know what to do, no such file if someone has an answer, I would be really grateful to him. alemao13ea 2015-08-05 10:47:13 UTC #2 I know this topic is old but i always get this issue. Steps to fix if you´re using Eclipse to build Android layer: Right click in project and go to PROPERTIES Go to C/C++ General and then PATHS and SYMBOLS Look at the ${NDK_ROOT}/ line and make sure you are using a existent platform on you ndk platform folder eg. ${NDK_ROOT}/platforms/android-10/arch-arm/usr/include Make sure you´re using the same Android platform or above in your cocos project. Hope it helps. Home Categories FAQ/Guidelines Terms of Service Privacy Policy Powered by Discourse, best viewed with JavaScript enabled