stevenlovegrove / Pangolin

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

CMake Error: The source directory pypangolin_pip_install does not exist #867

Closed elgalu closed 4 months ago

elgalu commented 1 year ago

Any hints?

#0 0.244 Install Pangolin with Python bindings
#0 0.246 Cloning into 'Pangolin'...
#0 1.317 Note: switching to 'aff6883c83f3fd7e8268a9715e84266c42e2efe3'.
#0 1.355 Submodule 'components/pango_python/pybind11' (https://github.com/pybind/pybind11.git) registered for path 'components/pango_python/pybind11'
#0 1.355 Submodule 'scripts/vcpkg' (https://github.com/microsoft/vcpkg.git) registered for path 'scripts/vcpkg'
#0 1.358 Cloning into '/tmp/Pangolin/components/pango_python/pybind11'...
#0 3.361 Cloning into '/tmp/Pangolin/scripts/vcpkg'...
#0 20.33 Submodule path 'components/pango_python/pybind11': checked out '787d2c88cafa4d07fb38c9519c485a86323cfcf4'
#0 20.67 Submodule path 'scripts/vcpkg': checked out 'e809a42f87565e803b2178a0c11263f462d1800a'
#0 20.68 cmake: /opt/conda/lib/libcurl.so.4: no version information available (required by cmake)
#0 20.72 -- The C compiler identification is GNU 11.3.0
#0 20.77 -- The CXX compiler identification is GNU 11.3.0
#0 20.77 -- Check for working C compiler: /opt/conda/bin/cc
#0 20.80 -- Check for working C compiler: /opt/conda/bin/cc -- works
#0 20.80 -- Detecting C compiler ABI info
#0 20.84 -- Detecting C compiler ABI info - done
#0 20.84 -- Detecting C compile features
#0 20.84 -- Detecting C compile features - done
#0 20.85 -- Check for working CXX compiler: /opt/conda/bin/c++
#0 20.89 -- Check for working CXX compiler: /opt/conda/bin/c++ -- works
#0 20.89 -- Detecting CXX compiler ABI info
#0 20.94 -- Detecting CXX compiler ABI info - done
#0 20.95 -- Detecting CXX compile features
#0 20.95 -- Detecting CXX compile features - done
#0 20.95 -- Setting build type to 'Release' as none was specified.
#0 21.09 -- Found Eigen: '/usr/include/eigen3'
#0 21.11 -- libpng Found and Enabled
#0 21.11 -- libjpeg Found and Enabled
#0 21.12 -- libtiff Found and Enabled
#0 21.12 -- libopenexr Found and Enabled
#0 21.12 -- liblz4 Found and Enabled
#0 21.13 -- Found Eigen: '/usr/include/eigen3'
#0 22.36 -- pybind11 v2.7.1 
#0 22.56 -- Performing Test HAS_FLTO
#0 22.63 -- Performing Test HAS_FLTO - Success
#0 22.90 -- Selected Python: '/opt/conda/bin/python3.10'. cmake --build . -t pypangolin_pip_install to use pypangolin module.
#0 22.90 -- V4L Found and Enabled
#0 22.91 -- Found PkgConfig: /opt/conda/bin/pkg-config (found version "0.29.2") 
#0 23.31 -- Found Threads: TRUE  
#0 23.35 -- Configuring done
#0 23.41 -- Generating done
#0 23.42 -- Build files have been written to: /tmp/Pangolin/build
#0 23.42 cmake: /opt/conda/lib/libcurl.so.4: no version information available (required by cmake)
#0 23.45 -- Found Eigen: '/usr/include/eigen3'
#0 23.47 -- libpng Found and Enabled
#0 23.48 -- libjpeg Found and Enabled
#0 23.48 -- libtiff Found and Enabled
#0 23.48 -- libopenexr Found and Enabled
#0 23.48 -- liblz4 Found and Enabled
#0 23.50 -- Found Eigen: '/usr/include/eigen3'
#0 23.78 -- pybind11 v2.7.1 
#0 24.03 -- Selected Python: '/opt/conda/bin/python3.10'. cmake --build . -t pypangolin_pip_install to use pypangolin module.
#0 24.03 -- V4L Found and Enabled
#0 24.18 -- Configuring done
#0 24.25 -- Generating done
#0 24.25 -- Build files have been written to: /tmp/Pangolin/build
#0 24.26 cmake: /opt/conda/lib/libcurl.so.4: no version information available (required by cmake)
#0 24.27 CMake Error: The source directory "/tmp/Pangolin/pypangolin_pip_install" does not exist.
#0 24.27 Specify --help for usage, or press the help button on the CMake GUI.
christian-rauch commented 4 months ago

Are you trying to follow the instructions for building the Python bindings (cmake --build build -t pypangolin_pip_install)? It looks like you are trying to compile inside a Python environment. You have to provide a valid folder to --build.