-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assimp is not compiled with clang #5519
Comments
michaelzaki-12
added
the
Bug
Global flag to mark a deviation from expected behaviour
label
Mar 29, 2024
kimkulling
added a commit
that referenced
this issue
Apr 9, 2024
- Add windows clang build step - Help to evaluate #5519
I am still struggling with the clang build for windows. Hopefully we will be able to see the issue there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i am using cmake for my project, but when i use clang to compile it gives me this error
Severity Code Description Project File Line Suppression State Details
Error unsafe buffer access [-Werror,-Wunsafe-buffer-usage] C:\Users\User\Source\Repos\MyProject\out\build\x64-Clang-Release\piratesengine C:\Users\User\Source\Repos\MyProject\assimp\include\assimp\fast_atof.h 178
But I don't Get the same error when compiling with MSVC
Here is How my cmake look like
assimp
set(BUILD_SHARED_LIBS OFF CACHE INTERNAL "" FORCE)
set(ASSIMP_BUILD_TESTS OFF CACHE INTERNAL "" FORCE)
set(ASSIMP_NO_EXPORT ON CACHE INTERNAL "" FORCE)
set(ASSIMP_BUILD_TESTS OFF CACHE INTERNAL "" FORCE)
set(ASSIMP_BUILD_ASSIMP_TOOLS OFF CACHE INTERNAL "" FORCE)
add_subdirectory(assimp)
include_directories(${CMAKE_SOURCE_DIR}/assimp/include)
target_link_libraries( MyProject PRIVATE ${OPENGL_LIBRARIES} glfw assimp)
i am Using windows 11 with visual studio 2022.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: