-
Notifications
You must be signed in to change notification settings - Fork 7
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
building draco:x64-linux failed with: BUILD_FAILED #5
Comments
Stumbled across this issue on my archlinux desktop today. After several hours i figure out that error caused by assimp version used in vcpkg.json. So workaround that is worked for me: cd TrenchBroomBFG
rm -rf vcpkg
git submodule update --remote
# remove builtin-baseline field from vcpkg.json
# change version of assimp to 5.2.5 in vcpkg.json
mkdir build-debug
cd build-debug
# run initial cmake cmd just to bootstrap vcpkg
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="cmake/packages"
../vcpkg/vcpkg x-update-baseline --add-initial-baseline
# and now proper version of draco (as a dependency of the assimp) will be used
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH="cmake/packages" |
Maybe this info would be valuable for someone who also use archlinux host: if you got bad_alloc/segfault at To make Debug build possible you need acquire qt5-base's so files compiled with Debug flag somewhere. |
I think I solved this by merging the vcpkg configuration from the latest TrenchBroom master. However it fails to run on Fedora 40 but that is an OpenGL issue with GLEW. |
I think it might be resolved. Here is my build script: git pull
git submodule update --remote
./vcpkg/bootstrap-vcpkg.sh
cd build/
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="cmake/packages"
cmake --build . --target TrenchBroom Unable to fully build due to a compile error, but definitely seems to be resolved. |
It is in the fedora40-fixes branch. However that branch does not compile on Windows because man vcpkg is just garbage and it was a mistake to use it by the TB maintainer. |
The current master compiles with MSVC 2019/2022 on Windows and clang on Fedora 40. |
I get the same chrono error on that branch too. It's the same error the Github actions are failing on. |
This are my build instructions on Linux
|
System Information
Debian Testing Linux x86_64
Trying to build
commit 8d0d7e80e7c970d045417c020c76ef829e06d884 (HEAD -> master, origin/master, origin/HEAD)
Expected Behavior
Builds a TrenchBroom executable.
Steps to Reproduce
Run the first
cmake
command:Crash Info
CMake error
This appears to be the error that's occurring microsoft/vcpkg#31270
From vcpkg/buildtrees/draco/install-x64-linux-dbg-out.log
Tried updating the submodule, but it didn't help.
The text was updated successfully, but these errors were encountered: