-
Notifications
You must be signed in to change notification settings - Fork 73
Error building Curv on Windows 10 with MSYS2 #160
Comments
@Vdemong you need to use GCC-11. GCC-12 has broken a lot of upstream external dependencies, like libfive and openvdb. If you do |
Hello: == building Curv executable |
@meleano It seems "aligned_alloc" is part of glibc. Your MSYS2 environment is probably not update enough. I would suggest refreshing it and again using gcc-11. |
Thnx .I'll try it as soon as I could. |
The "aligned_alloc" problem is now fixed with today's checkin (bug in libfive). This might be enough for @meleano to build curv. The github actions Windows build is still broken, which looks like a problem with the actions build script. Here are the current errors from that build:
I'm keeping this bug open until the github actions build succeeds. |
Build ERROR with latest MSYS2 (msys2-x86_64-20220603)
...
cd release; make
make[1]: Entering directory '/curv/release'
make[2]: Entering directory '/curv/release'
make[3]: Entering directory '/curv/release'
make[3]: Leaving directory '/curv/release'
make[3]: Entering directory '/curv/release'
[ 0%] Building CXX object CMakeFiles/libfive.dir/extern/libfive/libfive/src/eval/base.cpp.obj
In file included from C:/msys64/curv/extern/libfive/libfive/include/libfive/eval/base.hpp:14,
from C:/msys64/curv/extern/libfive/libfive/src/eval/base.cpp:12:
C:/msys64/curv/extern/libfive/libfive/include/libfive/tree/tree.hpp: In constructor 'libfive::Tree::Tree(libfive::Tree&&)':
C:/msys64/curv/extern/libfive/libfive/include/libfive/tree/tree.hpp:53:20: error: 'exchange' is not a member of 'std'
53 | : ptr(std::exchange(other.ptr, nullptr)), flags(other.flags)
| ^~~~~~~~
make[3]: *** [CMakeFiles/libfive.dir/build.make:76: CMakeFiles/libfive.dir/extern/libfive/libfive/src/eval/base.cpp.obj] Error 1
make[3]: Leaving directory '/curv/release'
make[2]: *** [CMakeFiles/Makefile2:223: CMakeFiles/libfive.dir/all] Error 2
make[2]: Leaving directory '/curv/release'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/curv/release'
make: *** [Makefile:13: release] Error 2
== BUILD ERROR ==
The text was updated successfully, but these errors were encountered: