stevenlovegrove / Pangolin

Pangolin is a lightweight portable rapid development library for managing OpenGL display / interaction and abstracting video input.
MIT License
2.39k stars 855 forks source link

ERROR: pypangolin has an invalid wheel #931

Closed boni-hu closed 6 months ago

boni-hu commented 6 months ago

I meet a same problem as https://github.com/stevenlovegrove/Pangolin/issues/679, and the cmake version is already 3.21.2, also the METADATA top_level.txt WHEEL in "/Pangolin/cmake/wheel-dist-info/" already have

message(STATUS "wheel_info_files: /home/a409_home/users/huboni/Projects/2024_code/Pangolin/cmake/wheel-dist-info/METADATA;/home/a409_home/users/huboni/Projects/2024_code/Pangolin/cmake/wheel-dist-info/WHEEL;/home/a409_home/users/huboni/Projects/2024_code/Pangolin/cmake/wheel-dist-info/top_level.txt")
message(STATUS "GLOB_PATH: /home/a409_home/users/huboni/Projects/2024_code/Pangolin/cmake/wheel-dist-info/*"). The output is (base) a409@gpu-server1:/users/huboni/Projects/2024_code/Pangolin/build$ cmake ..
-- Found Eigen: '/usr/include/eigen3'
-- libpng Found and Enabled
-- libjpeg Found and Enabled
-- libtiff Found and Enabled
-- libopenexr Found and Enabled
-- Found Eigen: '/usr/include/eigen3'
-- pybind11 v2.12.0
-- Selected Python: '/home/a409_home/anaconda3/envs/pram/bin/python'. cmake --build . -t pypangolin_pip_install to use pypangolin module.
-- libdc1394 Found and Enabled
-- V4L Found and Enabled
-- ffmpeg Found and Enabled: /usr/include/x86_64-linux-gnu;/usr/include/x86_64-linux-gnu;/usr/include/x86_64-linux-gnu;/usr/include/x86_64-linux-gnu;/usr/include/x86_64-linux-gnu
-- Configuring done
-- Generating done
-- Build files have been written to: /home/a409_home/users/huboni/Projects/2024_code/Pangolin/build
christian-rauch commented 6 months ago

Can you please summarise what the problem is and what you expect to happen? Maybe it helps to format your issue with some code blocks to make the log easily readable. The last line from your log tells you that the build folder was created.

If you have issues with the Python bindings, you should follow the instructions. From your log I can also see that you are building in an anaconda3 environment: Selected Python: '/home/a409_home/anaconda3/envs/pram/bin/python'. Why are you not using the system environment as per instructions?