Git Product home page Git Product logo

Comments (6)

hph73 avatar hph73 commented on August 23, 2024

I got the same problem when I installed gmp using conda. My problem was solved by downloading gmp from here https://cs.nyu.edu/~exact/core/gmp/index.html. Be sure to change environment variables GMP_INC and GMP_LIB accordingly.

from ftetwild.

dedelecoder avatar dedelecoder commented on August 23, 2024

Hi, the link looks dead, Any place where i can donwload it? Thanks a lot

from ftetwild.

Yixin-Hu avatar Yixin-Hu commented on August 23, 2024

Hi, you can try downloading gmp from its official website (https://gmplib.org/) and following the instruction there.

from ftetwild.

Const-me avatar Const-me commented on August 23, 2024

@lvasa Edit cmake\FindGMPfTetWild.cmake source file.
Find the following two lines:

find_library(GMP_LIBRARIES NAMES gmp libgmp PATHS $ENV{GMP_LIB} ${GMP_WINDOWS_PATH})
find_library(GMPXX_LIBRARIES NAMES gmpxx libgmpxx PATHS $ENV{GMP_LIB} ${GMP_WINDOWS_PATH})

Replace them with the following ones:

find_library(GMP_LIBRARIES NAMES gmp mpir.lib PATHS $ENV{GMP_LIB} ${GMP_WINDOWS_PATH})
find_library(GMPXX_LIBRARIES NAMES gmpxx mpirxx.lib PATHS $ENV{GMP_LIB} ${GMP_WINDOWS_PATH})

Re-generate Visual Studio solution after that change, open in Visual Studio, and build the FloatTetwild_bin project.

Don’t forget to copy mpir.dll into your output directory. Otherwise, Windows will show an error message when you try to run the FloatTetwild_bin.exe you have built.

from ftetwild.

zhanghaoxuan184 avatar zhanghaoxuan184 commented on August 23, 2024

Has anyone had this error when generating FloatTetwild_bin in Visual Studio?
D:\Mesh2Tet-main\fTetWild\build\Debug\FloatTetwild_bin.exe : fatal error LNK1169: one or more multiply defined symbols were found

from ftetwild.

zhanghaoxuan184 avatar zhanghaoxuan184 commented on August 23, 2024

@Const-me

from ftetwild.

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.