Coder Social home page Coder Social logo

Comments (8)

kintel avatar kintel commented on June 2, 2024

We don't use glm, but Manifold does. Perhaps this is a recent Manifold build system regression. @pca006132 does this ring a bell?

from openscad.

pca006132 avatar pca006132 commented on June 2, 2024

weird, can you post the error messages? I thought we should automatically pull it.

from openscad.

imperfectinventions avatar imperfectinventions commented on June 2, 2024

Hi, I also ran into this issue when trying to cross build for the first time.

This is the error I got:

In file included from /etc/opt/openscad/src/geometry/cgal/CGALCache.cc:5: /etc/opt/openscad/src/geometry/manifold/ManifoldGeometry.h:5:10: fatal error: glm/glm.hpp: No such file or directory 5 | #include <glm/glm.hpp> | ^~~~~~~~~~~~~

Adding "glm" to the packages list in the mingw build dependencies file did get me past this error, but then I ran into other errors about conversion from ManifoldGeometry into CGALHybridPolyhedrons and many other data types.

New error (probably unrelated):
/etc/opt/openscad/src/geometry/Geometry.h:63:50: note: no known conversion for argument 1 from 'const ManifoldGeometry' to 'const CGALHybridPolyhedron&' 63 | virtual void visit(const CGALHybridPolyhedron& node) = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~

from openscad.

pca006132 avatar pca006132 commented on June 2, 2024

Can you post the complete build log? Manifold should normally search for glm and download it automatically.

from openscad.

imperfectinventions avatar imperfectinventions commented on June 2, 2024

Sure, is this what you're looking for? Or is there a file that the build process created?

build_stdout.txt

from openscad.

pca006132 avatar pca006132 commented on June 2, 2024

No, but the cmake log, e.g. similar to the "Build and Test" part in https://github.com/openscad/openscad/actions/runs/8227281463/job/22494941114

btw, are you building 2023-11-22? there are a lot of changes recently, and I recommend trying the latest one (you are already using snapshot anyway).

from openscad.

imperfectinventions avatar imperfectinventions commented on June 2, 2024

Let me see if I can get the cmake log for you. Trying to build again after switching to the master branch for MXE in the mingw-x-build-dependencies.sh file. I'm running the "mingw-x-build-dependencies.sh 4" command it says in the README for cross building. Is there another script I should run instead?

This is my first time building OpenSCAD, last time I installed the release version (great program by the way, the work you all have done is incredible).

from openscad.

pca006132 avatar pca006132 commented on June 2, 2024

and just to let you know there is a development snapshot download section in the website so you can try the latest stuff without waiting for it to compile

from openscad.

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.