1 warning generated.
[ 96%] Linking CXX static library libcomm.a
[ 96%] Built target comm
Scanning dependencies of target marsxlog
[ 96%] [ 98%] Building CXX object CMakeFiles/marsxlog.dir/libraries/mars_xlog_sdk/jni/import.cc.oBuilding CXX object CMakeFiles/marsxlog.dir/libraries/mars_android_sdk/jni/JNI_OnLoad.cc.o
[100%] Linking CXX shared library libmarsxlog.so
D:/android-sdk-windows/android-ndk-r20b/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot open 'D:/git/mars/mars/libraries/mars_android_sdk/jni/export.exp': Invalid argument
D:/android-sdk-windows/android-ndk-r20b/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: fatal error: unable to parse version script file 'D:/git/mars/mars/libraries/mars_android_sdk/jni/export.exp'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/marsxlog.dir/build.make:102: recipe for target 'libmarsxlog.so' failed
make.exe[3]: *** [libmarsxlog.so] Error 1
CMakeFiles/Makefile2:85: recipe for target 'CMakeFiles/marsxlog.dir/all' failed
make.exe[2]: *** [CMakeFiles/marsxlog.dir/all] Error 2
CMakeFiles/Makefile2:97: recipe for target 'CMakeFiles/marsxlog.dir/rule' failed
make.exe[1]: *** [CMakeFiles/marsxlog.dir/rule] Error 2
Makefile:164: recipe for target 'marsxlog' failed
make.exe: *** [marsxlog] Error 2
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
1条答案
按热度按时间3lxsmp7m1#
我也遇到这个问题了,该如何解决?