pangolin https://github.com/stevenlovegrove/Pangolin I tried to build it on mac using python binding, but I was suffering from an unsolvable error.
https://github.com/stevenlovegrove/Pangolin From here, when I tried to build using python3.6 series normally.
I got an error about ffmpeg, so first with the cmake flag
-DBUILD_PANGOLIN_FFMPEG=OFF
Was used.
Or, I tried to save FindFFMPEG
in the CMakeModules
folder.
Then with cmake-> make -j
[ 0%] Building CXX object src/CMakeFiles/pangolin.dir/display/display.cpp.o
[ 1%] Building CXX object src/CMakeFiles/pangolin.dir/video/video.cpp.o
[ 2%] Building CXX object src/CMakeFiles/pangolin.dir/fonts.cpp.o
[ 2%] Linking CXX shared library libpangolin.dylib
Undefined symbols for architecture x86_64:
"_libintl_bind_textdomain_codeset", referenced from:
_PyIntl_bind_textdomain_codeset in libpython3.6m.a(_localemodule.o)
"_libintl_bindtextdomain", referenced from:
_PyIntl_bindtextdomain in libpython3.6m.a(_localemodule.o)
"_libintl_dcgettext", referenced from:
_PyIntl_dcgettext in libpython3.6m.a(_localemodule.o)
"_libintl_dgettext", referenced from:
_PyIntl_dgettext in libpython3.6m.a(_localemodule.o)
"_libintl_gettext", referenced from:
_PyIntl_gettext in libpython3.6m.a(_localemodule.o)
"_libintl_setlocale", referenced from:
_PyLocale_setlocale in libpython3.6m.a(_localemodule.o)
"_libintl_textdomain", referenced from:
_PyIntl_textdomain in libpython3.6m.a(_localemodule.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/libpangolin.dylib] Error 1
make[1]: *** [src/CMakeFiles/pangolin.dir/all] Error 2
make: *** [all] Error 2
This error cannot be resolved.
https://github.com/uoip/pangolin I used this repository and tried the build in the same way. Regarding ffmpeg, I dealt with it as described in Note 1.
that time,
https://github.com/uoip/pangolin/issues/35
Because the same problem as here occurred
I overwrote all include paths with absolute paths as suggested here.
(Same for eigen, gl
)
Then the build goes through, pangolin.cpython-36m-darwin.so
Was generated, but when importing
https://github.com/uoip/pangolin/issues/26 Segfault (11) as shown here.
When I tried it on ubuntu18 series, Pangolin built well and imported without any problem.
However, the g2opy
that I wanted to build as well cannot be built here (on mac, this can be built ,,)
Give up once.
A memorandum about the build of pangolin
.
Recommended Posts