Skip to content

CMake : No such file or directory #772

Closed Answered by Osilos
Osilos asked this question in Q&A
Discussion options

You must be logged in to vote

After some digging, the problem is the path length.
I got this warning when building :

C/C++: CMake Warning in C:/app/admob-ironsource-adapter/android/generated/jni/CMakeLists.txt:
C/C++:   The object file directory
C/C++:     C:/app/admob-ironsource-adapter/example/android/app/.cxx/Debug/1i2916d5/x86_64/RNAdmobIronsourceAdapterSpec_autolinked_build/CMakeFiles/react_codegen_RNAdmobIronsourceAdapterSpec.dir/./
C/C++:   has 185 characters.  The maximum full path to an object file is 250
C/C++:   characters (see CMAKE_OBJECT_PATH_MAX).  Object file
C/C++:     react/renderer/components/RNAdmobIronsourceAdapterSpec/RNAdmobIronsourceAdapterSpecJSI-generated.cpp.o
C/C++:   cannot be safely place…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Osilos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant