Giter Club home page Giter Club logo

Comments (3)

wortiz avatar wortiz commented on August 22, 2024

This is from the gmsh SDK but it isn't linking correctly.

Configure with CMake option -DENABLE_GMSH=OFF to just use the builtin gmsh reader which you probably were doing before.

For linking with the SDK you have to follow the two ren rename commands from the SDK readme:

    C:\gmsh-git-Windows64-sdk> ren include\gmsh.h gmsh.h_original
    C:\gmsh-git-Windows64-sdk> ren include\gmsh.h_cwrap gmsh.h
    C:\gmsh-git-Windows64-sdk> cl /Iinclude share\doc\gmsh\tutorials\c++\t1.cpp lib\gmsh.lib
    C:\gmsh-git-Windows64-sdk> cd lib
    C:\gmsh-git-Windows64-sdk\lib> ..\t1.exe

The first two commands above.

I've added another update to find the correct Gmsh version and allow linking against the Windows SDK.

I was able to link and run with the following after those two rename commands:

cmake .. -DSEACASExodus_DIR=C:\src\seacas\install\lib\cmake\SEACASExodus -DCMAKE_INSTALL_PREFIX=C:\src\msh2exo\install -G "Visual Studio 16 2019" -A x64 -DGmsh_DIR=C:\gmsh-4.10.5-Windows64-sdk\ -DGmsh_LIBRARIES="C:\gmsh-4.10.5-Windows64-sdk\lib\gmsh.lib" -DENABLE_GMSH=ON -DGmsh_INCLUDE_DIRS=C:\gmsh-4.10.5-Windows64-sdk\include\

If you do compile with the SDK you have to pass -b or --builtin to use the builtin reader otherwise it will use the Gmsh SDK to read Gmsh files, I'm not sure which is more robust at the moment in regards to conversion.

from msh2exo.

 avatar commented on August 22, 2024

Installing with -DENABLE_GMSH=OFF was successful. Also, the updates you made to grouping multiple surfaces into a physical surface worked. Thanks again!

This issue can be closed.

from msh2exo.

wortiz avatar wortiz commented on August 22, 2024

Thanks, good to hear both things worked.

from msh2exo.

Related Issues (4)

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.