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 trying to build with Mingw64, but getting the following error:
In file included from ../mingw64/include/c++/14.2.0/bits/specfun.h:43,
from ../mingw64/include/c++/14.2.0/cmath:3898,
from ../assimp/include/assimp/vector2.h:53,
from ../assimp/include/assimp/types.h:64,
from ../assimp/include/assimp/IOStream.hpp:53,
from ../assimp/include/assimp/DefaultIOStream.h:55,
from ../assimp/include/assimp/Exceptional.h:49,
from ../assimp/include/assimp/BaseImporter.h:52,
from ../assimp/code/AssetLib/MDL/MDLLoader.h:48,
from ..\assimp\code\AssetLib\MDL\MDLLoader.cpp:51:
In static member function 'static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = long unsigned int; _Up = long unsigned int; bool _IsMove = false]',
inlined from '_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]' at ../mingw64/include/c++/14.2.0/bits/stl_algobase.h:521:30,
inlined from '_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]' at ../mingw64/include/c++/14.2.0/bits/stl_algobase.h:548:42,
inlined from '_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = long unsigned int*; _OI = long unsigned int*]' at ../mingw64/include/c++/14.2.0/bits/stl_algobase.h:555:31,
inlined from '_OI std::copy(_II, _II, _OI) [with _II = long unsigned int*; _OI = long unsigned int*]' at ../mingw64/include/c++/14.2.0/bits/stl_algobase.h:651:7,
inlined from 'std::vector<bool, _Alloc>::iterator std::vector<bool, _Alloc>::_M_copy_aligned(const_iterator, const_iterator, iterator) [with _Alloc = std::allocator<bool>]' at ../mingw64/include/c++/14.2.0/bits/stl_bvector.h:1342:28,
inlined from 'void std::vector<bool, _Alloc>::_M_reallocate(size_type) [with _Alloc = std::allocator<bool>]' at ../mingw64/include/c++/14.2.0/bits/vector.tcc:1059:40,
inlined from 'void std::vector<bool, _Alloc>::reserve(size_type) [with _Alloc = std::allocator<bool>]' at ../mingw64/include/c++/14.2.0/bits/stl_bvector.h:1130:17,
inlined from 'Assimp::MDL::IntSharedData_MDL7::IntSharedData_MDL7()' at ../assimp/code/AssetLib/MDL/MDLFileData.h:879:32,
inlined from 'void Assimp::MDLImporter::InternReadFile_3DGS_MDL7()' at ..\assimp\code\AssetLib\MDL\MDLLoader.cpp:1373:29:
../mingw64/include/c++/14.2.0/bits/stl_algobase.h:452:30: error: 'void* __builtin_memmove(void*, const void*, long long unsigned int)' forming offset 4 is out of the bounds [0, 4] [-Werror=array-bounds=]
452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus.exe: all warnings being treated as errors
mingw32-make[2]: *** [code\CMakeFiles\assimp.dir\build.make:1626: code/CMakeFiles/assimp.dir/AssetLib/MDL/MDLLoader.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:203: code/CMakeFiles/assimp.dir/all] Error 2
mingw32-make: *** [makefile:135: all] Error 2
To Reproduce
Steps to reproduce the behavior:
cmake
build
Expected behavior
Complete compilation.
Screenshots
n/a
Platform (please complete the following information):
OS: Win 11 Pro
Version: GCC (MinGW-W64 x86_64-ucrt-posix-seh, built by Brecht Sanders, r1) 14.2.0
Additional context
n/a
The text was updated successfully, but these errors were encountered:
Describe the bug
I trying to build with Mingw64, but getting the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Complete compilation.
Screenshots
n/a
Platform (please complete the following information):
Additional context
n/a
The text was updated successfully, but these errors were encountered: