OCCT Cross-compiling (Android)
When using OCCT for cross compilation, the following issues occur. How can I resolve it.
Some additional information:
-OpenCascade version 7.8.0
-CMake version3.22.1
-Cross-compilation toolchain for CMake:https://github.com/taka-no-me/android-cmake
-Android NDK version R12b
-MinGW version 8.1.0
-ANDROID_ABI = armeabi-v7a
-ANDROID_NATIVE_API_LEVEL = 15
Open console and go to the build folder,Encountered the following error:
[ 0%] Building CXX object src/TKernel/CMakeFiles/TKernel.dir/__/FSD/FSD_Base64.cxx.o
g++.exe: error: unrecognized command line option '-mfloat-abi=soft'
g++.exe: error: unrecognized command line option '-mfpu=vfpv3-d16'
g++.exe: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'?
mingw32-make[2]: [src\TKernel\CMakeFiles\TKernel.dir\build.make:75: src/TKernel/CMakeFiles/TKernel.dir/__/FSD/FSD_Base64.cxx.o] Error 1
mingw32-make[1]: [CMakeFiles\Makefile2:1015: src/TKernel/CMakeFiles/TKernel.dir/all] Error 2
mingw32-make: *** [Makefile:123: all] Error 2
![Uploading 电脑配置.JPG…]()
OCCT Cross-compiling (Android) When using OCCT for cross compilation, the following issues occur. How can I resolve it. Some additional information: -OpenCascade version 7.8.0 -CMake version3.22.1 -Cross-compilation toolchain for CMake:https://github.com/taka-no-me/android-cmake -Android NDK version R12b -MinGW version 8.1.0 -ANDROID_ABI = armeabi-v7a -ANDROID_NATIVE_API_LEVEL = 15 Open console and go to the build folder,Encountered the following error: [ 0%] Building CXX object src/TKernel/CMakeFiles/TKernel.dir/__/FSD/FSD_Base64.cxx.o g++.exe: error: unrecognized command line option '-mfloat-abi=soft' g++.exe: error: unrecognized command line option '-mfpu=vfpv3-d16' g++.exe: error: unrecognized command line option '-mthumb'; did you mean '-mtbm'? mingw32-make[2]: [src\TKernel\CMakeFiles\TKernel.dir\build.make:75: src/TKernel/CMakeFiles/TKernel.dir/__/FSD/FSD_Base64.cxx.o] Error 1 mingw32-make[1]: [CMakeFiles\Makefile2:1015: src/TKernel/CMakeFiles/TKernel.dir/all] Error 2 mingw32-make: *** [Makefile:123: all] Error 2 ![Uploading 电脑配置.JPG…]()