Comments (7)
Have you tried a clean build? I had to do that recently because of CMake changes.
from manifold.
@elalish Yes, I removed the old tree enirely and then did a fresh git.
from manifold.
Hmm, it looks like it's having trouble pulling down GLM for some reason. You can always install GLM in your system so it doesn't need to. Still, I wonder if we're somehow pointing to a bad version?
from manifold.
I think I'm experiencing the same problem on Windows.
fatal: reference is not a tree: b06b775c1c80af51a1183c0e167f9de3b2351a79
CMake Error at glm-subbuild/glm-populate-prefix/tmp/glm-populate-gitclone.cmake:49 (message):
Failed to checkout tag: 'b06b775c1c80af51a1183c0e167f9de3b2351a79'
Notes:
from manifold.
Installing libglm-dev didn't help.
from manifold.
@briansturgill can you show the cmake log after installing libglm-dev? pkg-config should be able to find glm and it should not require running FetchContent.
I will try to figure the checkout problem as well.
from manifold.
ok found the problem, I should not use GIT_SHALLOW.
Try this:
diff --git a/manifoldDeps.cmake b/manifoldDeps.cmake
index eb0f7f0..3866a19 100644
--- a/manifoldDeps.cmake
+++ b/manifoldDeps.cmake
@@ -21,7 +21,6 @@ else()
FetchContent_Declare(Clipper2
GIT_REPOSITORY https://github.com/AngusJohnson/Clipper2.git
GIT_TAG Clipper2_1.3.0
- GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
SOURCE_SUBDIR CPP
)
@@ -38,7 +37,6 @@ endif()
FetchContent_Declare(glm
GIT_REPOSITORY https://github.com/g-truc/glm.git
GIT_TAG b06b775c1c80af51a1183c0e167f9de3b2351a79
- GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
FIND_PACKAGE_ARGS NAMES glm
)
@@ -61,7 +59,6 @@ if(MANIFOLD_PAR STREQUAL "TBB" AND NOT TBB_FOUND)
FetchContent_Declare(TBB
GIT_REPOSITORY https://github.com/oneapi-src/oneTBB.git
GIT_TAG v2021.11.0
- GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(TBB)
from manifold.
Related Issues (20)
- Warning comparison of integer expressions of different signedness
- Modularize Manifold HOT 25
- Build without exceptions HOT 3
- Remove Thrust HOT 19
- How to figure out required size of mem in the C-API? HOT 1
- Crash in Project() HOT 4
- gcc14 build failure HOT 7
- Triangulation issue: Zebra HOT 3
- BSD compiler error HOT 1
- Another Zebra Triangulation issue HOT 6
- Port for vcpkg HOT 2
- use size_t whenever possible
- Auto generated python stubs inconsistent with cpp API HOT 12
- Rust bindings HOT 22
- Build error with Emscripten 3.1.61 HOT 1
- Debug MSVC build error HOT 7
- NumTri returns uint32_t, while array uses size_t (like uint64_t or int64_t) HOT 3
- Warning as errors HOT 4
- operator""_z returns unsigned and is in the global scope
- Is there a guide to getting it run with Vite using SvelteKit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifold.