-
Notifications
You must be signed in to change notification settings - Fork 46
Fixed an attribute in trianges.pyx that prevents compilation #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |
| include_path = [np.get_include()] | ||
|
|
||
| ext_modules = cythonize('pyembree/*.pyx', language='c++', | ||
| include_dirs=include_path) | ||
| include_path=include_path) | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems as though
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, I did not have Cython. I installed it with pip, which gave me the lastest version( 0.27.3). With this version, I had the following error : With CI, we have the same error, as you can see: 57199d9 IMHO, I think you can accept it.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ahh yeah, I see the below now. |
||
| for ext in ext_modules: | ||
| ext.include_dirs = include_path | ||
| ext.libraries = ["embree"] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. I think you can rename the file
trianges.pyxintriangles.pyx.BTW, the example
attenaute.pyalso creates an error