You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have cloned the assimp project and I'm trying to build it for android. I go based on the assimp-doc project and when building I get following errors:
assimp/contrib/unzip/ioapi.c:114:16: error: call to undeclared function 'fopen64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
...
/assimp/contrib/unzip/ioapi.c:114:14: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct __sFILE *') from 'int' [-Wint-conversion]
...
/assimp/contrib/unzip/ioapi.c:144:21: error: call to undeclared function 'ftello64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
...
/assimp/contrib/unzip/ioapi.c:190:8: error: call to undeclared function 'fseeko64'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
To Reproduce
Steps to reproduce the behavior:
clone the assimp project
run this command: cmake CMakeLists.txt -DASSIMP_ANDROID_JNIIOSYSTEM=ON -DCMAKE_TOOLCHAIN_FILE=path/to/sdk/ndk/27.0.11718014/build/cmake/android.toolchain.cmake -B ~/MyProjects/assimp-android/
Go to ~/MyProjects/assimp-android/
run cmake --build .
See the error
Edit :
I even edited the CMakeList.txt file like: set(CMAKE_C_STANDARD 90).
But the error still exists. Expected behavior
The project should build without error.
Platform (please complete the following information):
OS: Ubuntu 23.04
ndk: 27.0.11718014
The text was updated successfully, but these errors were encountered:
Describe the bug
I have cloned the assimp project and I'm trying to build it for android. I go based on the assimp-doc project and when building I get following errors:
To Reproduce
Steps to reproduce the behavior:
cmake CMakeLists.txt -DASSIMP_ANDROID_JNIIOSYSTEM=ON -DCMAKE_TOOLCHAIN_FILE=path/to/sdk/ndk/27.0.11718014/build/cmake/android.toolchain.cmake -B ~/MyProjects/assimp-android/
cmake --build .
Edit :
I even edited the CMakeList.txt file like:
set(CMAKE_C_STANDARD 90)
.But the error still exists.
Expected behavior
The project should build without error.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: