Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

NETGEN import error when running core_smesh_netgen.py example #2

@pauloz1890

Description

@pauloz1890

Thanks for the awesome repo sven. I've been looking to implement SMESH with pythonOCC after I was disappointed that SMESH is no included in pythonOCC anymore. I've been able to install everything following your instructions but I cannot get core_smesh_netgen.py example working properly. When I run it I get the following error message:
File "core_smesh_netgen.py", line 21, in
from OCC.NETGENPlugin import *
File "...pythonocc_build/install/pythonocc/OCC/NETGENPlugin.py", line 32, in
_NETGENPlugin = swig_import_helper()
File "...pythonocc_build/install/pythonocc/OCC/NETGENPlugin.py", line 28, in swig_import_helper
_mod = imp.load_module('_NETGENPlugin', fp, pathname, description)
ImportError: ...pythonocc_build/install/pythonocc/OCC/_NETGENPlugin.so: undefined symbol: _ZN26NETGENPlugin_Hypothesis_2D21GetDefaultQuadAllowedEv

Any idea how to fix this? To be clear I've run the following without issue:
run_tests.py
core_smesh_unittest.py

How exactly does NETGEN work with SMESH? Did you take care of this in the installation procedure? Perhaps I've done something incorrectly? I skipped step5 - could it be this?

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions