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
No "LIBIGL_WITH_GLFW" with python bindings in windows #1011
Comments
Hi. Please check out changes I made in #1008, and build the python bindings from the root folder. |
Thank you for your help, and your work is wonderful. |
Did you clean/remove your build folder before proceeding? CMake options are set only once the first time you build in a given folder. |
yes, I delete the build folder and create a new one. I use CmakeGUI to compile the object in windows, is it OK? That's the message of compilation The cmake-policies(7) manual explains that the OLD behaviors of all Creating target: igl::embree (igl_embree) |
If you want to use the python bindings you should compile with |
what i did:
Did I miss something? Or there are some other steps i should do ? |
I change this line in CMakelists.txt |
Are you sure you are selecting the root folder of libigl in CMake-GUI? Not the |
Well, from your picture I can see that you haven't checked out the changes in the PR I pointed you to. |
Sorry, I checked out the changes before, but I didn't change the files. |
Please start from a fresh clone of my fork, calling the following in a terminal:
Then generate the cmake project with |
Can you post the whole log of the cmake configuration, as well as the content of your |
If you use python with anaconda you should also start the cmake-gui from within an anaconda terminal where you've activated your environment. |
Of course. Thank you for your patience. As you said, i start cmake-gui from anaconda terminal (activated environment) The log of the cmake configuration is following: CMakeCache/txt is like: |
Hmm interesting. I suppose the python libs are correctly found (on the second line it matches with the executable). I guess I'll have to test it on my Windows at some point, but that may not happen anytime soon. You can also try to checkout the content of the |
yes, I can "import pyigl", but when check dependencies ["glfw"], the error occurs. |
Thank you for your help. @jdumas |
this issue involves the old bindings which have been discontinued, plz refer to https://libigl.github.io/libigl-python-bindings/ for the new version. Note: |
I want to use libigl with python.
After compile the "python" folder, I run
python 102_DrawMesh.py
I got
The libigl python bindings were compiled without glfw support. Please recompile with the CMAKE flag LIBIGL_WITH_GLFW.
But I check the Cmakelists.txt , there is no option "LIBIGL_WITH_GLFW", only "LIBIGL_WITH_OPENGL_GLFW", I am sure I make this opition ON,
I both try windows and linux, got the same error.
I have no idea about this, It would be very grateful if you could help me with this, thank you.
Check all that apply (change to
[x]
)See https://libigl.github.io/CONTRIBUTING/#bugreport for more tips.
The text was updated successfully, but these errors were encountered: