Giter Site home page Giter Site logo

I don't know how to compile it yet. What configuration is needed? Cmake compilation prompt is missing opencasacde, vtk, etc. about smesh HOT 7 CLOSED

trelau avatar trelau commented on June 14, 2024
I don't know how to compile it yet. What configuration is needed? Cmake compilation prompt is missing opencasacde, vtk, etc.

from smesh.

Comments (7)

trelau avatar trelau commented on June 14, 2024

can you provide more information about what errors you are getting? if you're familiar with Anaconda you might try and install the pre-built SMESH from conda-forge https://anaconda.org/conda-forge/smesh

from smesh.

XXMCUG avatar XXMCUG commented on June 14, 2024

您能否提供有关所遇到的错误的更多信息?如果您熟悉Anaconda,则可以尝试从conda-forge https://anaconda.org/conda-forge/smesh安装预构建的SMESH[](https://anaconda.org/conda-forge/smesh)

Hello, I downloaded your SALOME source code, and I used cmake to compile. After I clicked on config, I was prompted that some libraries are missing. Can't your project be compiled with cmake? Or do some libraries that I need to configure myself? Thank you

Here are my tips for compiling with cmake3.12:
########################################
CMake Error at CMakeLists.txt:37 (find_package):
By not providing "FindOpenCASCADE.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"OpenCASCADE", but CMake did not find one.

Could not find a package configuration file provided by "OpenCASCADE" with
any of the following names:

OpenCASCADEConfig.cmake
opencascade-config.cmake

Add the installation prefix of "OpenCASCADE" to CMAKE_PREFIX_PATH or set
"OpenCASCADE_DIR" to a directory containing one of the above files. If
"OpenCASCADE" provides a separate development package or SDK, be sure it
has been installed.
########################################

from smesh.

trelau avatar trelau commented on June 14, 2024

if you are using a conda environment, try installing OpenCASCADE (and other dependencies) with something like conda install -c conda-forge occt. In fact, if you are using conda then you can likely install smesh via conda install -c conda-forge smesh.

If you are not using conda, then you will need to provide the dependencies manually, such as paths to include and library directories

from smesh.

XXMCUG avatar XXMCUG commented on June 14, 2024

if you are using a conda environment, try installing OpenCASCADE (and other dependencies) with something like conda install -c conda-forge occt. In fact, if you are using conda then you can likely install smesh via conda install -c conda-forge smesh.

If you are not using conda, then you will need to provide the dependencies manually, such as paths to include and library directories

I understand, thank you for your guidance !

from smesh.

trelau avatar trelau commented on June 14, 2024

ok great. i'll go ahead and close the issue then.

from smesh.

weiweiisok avatar weiweiisok commented on June 14, 2024

I have install smesh via 'conda install -c conda-forge smesh', but I still can't import smesh module, and I also find that the file library of smesh only have two files named 'info' and 'Library', It's not a python file?

from smesh.

trelau avatar trelau commented on June 14, 2024

@weiweiisok if you're looking for python bindings try https://github.com/trelau/pySMESH. this repo is the c++ library

from smesh.

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.