Open HMCCMH opened 11 months ago
I'm not sure what environment you're trying to build in. But there's obviously a mismatch in the function signature in cyglfw and your version of GLFW3. The code appears to still be in sync with GLFW 3.3.
https://www.glfw.org/docs/latest/group__input.html#ga6ab84420974d812bee700e45284a723c https://www.glfw.org/docs/latest/group__input.html#gad27f8ad0142c038a281466c0966817d8 https://www.glfw.org/docs/latest/group__input.html#ga571e45a030ae4061f746ed56cb76aede
Collecting cyglfw3==3.1.0.2 Downloading cyglfw3-3.1.0.2.tar.gz (159 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.3/159.3 kB 2.4 MB/s eta 0:00:00 error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. Preparing metadata (setup.py) ... error error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
How to solve this problem???
I also encountered the same problem, have you solved it?
The same problem. Have you solved it?
I have just happend to solve this problem.
cmake -DBUILD_SHARED_LIB=ON ..
to make it generate .so file. This is because cyglfw3 3.1.0.2 use -lglfw
to indicate the library name. In CMakeList.txt with verision of GLFW3.3, if you generate dynamic library file, you can get libglfw.so, which is perfect with cyglfw3 3.1.0.2; but if you generate static library file, you will get libglfw3.a, which will cause errors when pip install cyglfw3.BTW, I use cython==0.28.2 and setuptools==63.0.1 Hopefully, this could help
Could you tell me how to solve this problem? I have checked several websites, but there is no relevant solution.