Git Product home page Git Product logo

Comments (2)

kevkid avatar kevkid commented on August 19, 2024 8

Okay I got it compiled I was getting this error:

make[2]: *** [src/CMakeFiles/_pangolin.dir/build.make:999: src/CMakeFiles/_pangolin.dir/video/drivers/ffmpeg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:516: src/CMakeFiles/_pangolin.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

to solve we just so cmake -DBUILD_PANGOLIN_FFMPEG=OFF ..

Also if you get something like this:

pangolin/include/pangolin/display/opengl_render_state.h:40:10: fatal error: Eigen/Core: No such file or directory
   40 | #include <Eigen/Core>
      |          ^~~~~~~~~~~~

I just installed: sudo apt install libeigen3-dev

if you get this error:

Traceback (most recent call last):
  File "HelloPangolin.py", line 4, in <module>
    import pangolin
ImportError: /usr/lib/python3/dist-packages/pangolin.so: undefined symbol: _Py_ZeroStruct

you must also tell cmake where python is:

cmake -DBUILD_PANGOLIN_FFMPEG=OFF -DPYBIND11_PYTHON_VERSION=3.8 ..

NOTE: I did install eigen-3.3.4 from source

from pangolin.

chopin1998 avatar chopin1998 commented on August 19, 2024

Okay I got it compiled I was getting this error:

make[2]: *** [src/CMakeFiles/_pangolin.dir/build.make:999: src/CMakeFiles/_pangolin.dir/video/drivers/ffmpeg.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:516: src/CMakeFiles/_pangolin.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

to solve we just so cmake -DBUILD_PANGOLIN_FFMPEG=OFF ..

Also if you get something like this:

pangolin/include/pangolin/display/opengl_render_state.h:40:10: fatal error: Eigen/Core: No such file or directory
   40 | #include <Eigen/Core>
      |          ^~~~~~~~~~~~

I just installed: sudo apt install libeigen3-dev

if you get this error:

Traceback (most recent call last):
  File "HelloPangolin.py", line 4, in <module>
    import pangolin
ImportError: /usr/lib/python3/dist-packages/pangolin.so: undefined symbol: _Py_ZeroStruct

you must also tell cmake where python is:

cmake -DBUILD_PANGOLIN_FFMPEG=OFF -DPYBIND11_PYTHON_VERSION=3.8 ..

NOTE: I did install eigen-3.3.4 from source

also ubuntu 20.04

follow your method, compile fine, but make install error:

-- Install configuration: "Release"
CMake Error at src/cmake_install.cmake:49 (file):
  file INSTALL cannot find
  "/home/marco/tmp/build/pangolin/build/src/include/_pangolin/config.h": No
  such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:43 (include)


make: *** [Makefile:108: install] Error 1

did you meet this?

from pangolin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.