GithubHelp home page GithubHelp logo

alecjacobson / meshfix Goto Github PK

View Code? Open in Web Editor NEW
27.0 6.0 13.0 259 KB

Port of Marco Attene's meshfix to compile and run on Mac OS X

Makefile 1.48% C++ 56.90% C 35.30% Shell 0.04% CMake 4.52% Cuda 1.43% Objective-C 0.32%

meshfix's People

Contributors

alecjacobson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

meshfix's Issues

using meshfix in libigl project

We have a program written largely using libigl, but would like to use meshfix to fix the mesh. Unfortunately, we're also using libigl's triangle (to generate the triangle meshes in the first place). When trying to compile meshfix with libigl, I'm getting several "multiple definition" errors, like this:

libigl/triangle/libtriangle.a(triangle.c.o): In function `exactinit':
triangle.c:(.text+0x3510): multiple definition of `exactinit'
meshfix/JMeshExt-1.0alpha_src/libjmeshext.a(jrs_predicates.c.o):jrs_predicates.c:(.text+0x5f0): first defined here

It seems like the issue is that several of these functions are included in both libigl/external/triangle/triangle.c and meshfix/JMeshExt-1.0alpha_src/src/JRS_Predicates/jrs_predicates.c. Since libigl builds libigl_triangle.a, these are incompatible. Do you know of a workaround for this?

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.