Coder Social home page Coder Social logo

Comments (7)

elalish avatar elalish commented on July 23, 2024

Have you tried a clean build? I had to do that recently because of CMake changes.

from manifold.

briansturgill avatar briansturgill commented on July 23, 2024

@elalish Yes, I removed the old tree enirely and then did a fresh git.

from manifold.

elalish avatar elalish commented on July 23, 2024

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.

james-bern avatar james-bern commented on July 23, 2024

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.

briansturgill avatar briansturgill commented on July 23, 2024

Installing libglm-dev didn't help.

from manifold.

pca006132 avatar pca006132 commented on July 23, 2024

@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.

pca006132 avatar pca006132 commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.