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
[ 92%] Building CXX object code/CMakeFiles/assimp.dir/AssetLib/Assjson/json_exporter.cpp.o
In file included from ~/assimp/code/Pbrt/PbrtExporter.cpp:87:
~/assimp/code/Pbrt/stb_image.h:931:1: error: thread-local storage is not supported for the
current target
STBI_THREAD_LOCAL
^
~/assimp/code/Pbrt/stb_image.h:592:39: note: expanded from macro 'STBI_THREAD_LOCAL'
#define STBI_THREAD_LOCAL thread_local
^
~/assimp/code/Pbrt/stb_image.h:1070:8: error: thread-local storage is not supported for the
current target
static STBI_THREAD_LOCAL int stbi__vertically_flip_on_load_local, stbi__vertically_flip_on_load_set;
^
~/assimp/code/Pbrt/stb_image.h:592:39: note: expanded from macro 'STBI_THREAD_LOCAL'
#define STBI_THREAD_LOCAL thread_local
^
~/assimp/code/Pbrt/stb_image.h:1070:8: error: thread-local storage is not supported for the
current target
~/assimp/code/Pbrt/stb_image.h:592:39: note: expanded from macro 'STBI_THREAD_LOCAL'
#define STBI_THREAD_LOCAL thread_local
[ 92%] Building CXX object code/CMakeFiles/assimp.dir/AssetLib/Assjson/mesh_splitter.cpp.o
**Desktop **
OS: macOS 11.2.1
M1 mac mini 2021 computer
trying to compile for iOS
The text was updated successfully, but these errors were encountered:
I'm of the opinion that the STB image loaders shouldn't be in the assimp library at all.
Formats with embedded PNG images should pass the raw image file to the application. If nothing else, PNG contains a lot of metadata that stb_image doesn't support and applications may require.
Hey I ran into this issue also, it might be helpful if this issue was left open until that PR is merged so someone else looking for a solution to this can find it more easily.
the bug
I get the following error.
**Desktop **
The text was updated successfully, but these errors were encountered: