Skip to content

Fixing missing symbol error for python#1213

Merged
jdumas merged 1 commit intolibigl:devfrom
lawsonfulton:origin/dev
Jun 8, 2019
Merged

Fixing missing symbol error for python#1213
jdumas merged 1 commit intolibigl:devfrom
lawsonfulton:origin/dev

Conversation

@lawsonfulton
Copy link
Copy Markdown
Contributor

I was encountering a missing symbol error after building the python bindings

>>> import pyigl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dlopen(/Users/lawson/Workspace/libigl/python/pyigl.so, 2): Symbol not found: __ZN3igl42internal_angles_using_squared_edge_lengthsIN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EEES3_EEvRKNS1_10MatrixBaseIT_EERNS1_15PlainObjectBaseIT0_EE
  Referenced from: /Users/lawson/Workspace/libigl/python/pyigl.so
  Expected in: flat namespace
 in /Users/lawson/Workspace/libigl/python/pyigl.so

Adding template instantiation to fix it.

Check all that apply (change to [x])

  • All changes meet libigl style-guidelines.
  • Adds new .cpp file.
  • Adds corresponding unit test.
  • Adds corresponding python binding.
  • This is a minor change.

@lawsonfulton lawsonfulton mentioned this pull request Jun 7, 2019
4 tasks
@jdumas jdumas merged commit 241187b into libigl:dev Jun 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants