编译FFMpeg n4.2.5,OpenCV 4.5.4后,编译Pangolin v0.6成功。
编译FFMpeg n4.2.5,OpenCV 4.5.4后,编译Pangolin v0.6成功。
注意,取FFMpeg版本时,使用命令使用“git checkout -b n4.2.release.01 remotes/origin/release/4.2”。
使用FFMpeg 2022年1月的Master版本,曾经出现下面的错误。
[ 46%] Building CXX object CMakeFiles/pango_video.dir/components/pango_video/src/video.cpp.o
[ 51%] Building CXX object CMakeFiles/pango_video.dir/components/pango_video/src/drivers/thread.cpp.o
In file included from /home/hankf/proj/slam/Pangolin/components/pango_video/include/pangolin/video/drivers/ffmpeg_output.h:31:0,
from /home/hankf/proj/slam/Pangolin/components/pango_video/src/drivers/ffmpeg_output.cpp:7:
/home/hankf/proj/slam/Pangolin/components/pango_video/include/pangolin/video/drivers/ffmpeg_common.h: In function ‘std::__cxx11::string pangolin::FfmpegFmtToString(AVPixelFormat)’:
/home/hankf/proj/slam/Pangolin/components/pango_video/include/pangolin/video/drivers/ffmpeg_common.h:37:39: error: ‘AV_PIX_FMT_VAAPI_MOCO’ was not declared in this scope
#define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
^
/home/hankf/proj/slam/Pangolin/components/pango_video/include/pangolin/video/drivers/ffmpeg_common.h:97:5: note: in expansion of macro ‘TEST_PIX_FMT_RETURN’
TEST_PIX_FMT_RETURN(VAAPI_MOCO);
^~~~~~~~~~~~~~~~~~~
/home/hankf/proj/slam/Pangolin/components/pango_video/include/pangolin/video/drivers/ffmpeg_common.h:37:39: note: suggested alternative: ‘AV_PIX_FMT_VAAPI’
#define TEST_PIX_FMT_RETURN(fmt) case AV_PIX_FMT_##fmt: return #fmt;
为了记录,保存log如下。
~/proj/slam/Pangolin$ git branch
* master
~/proj/slam/Pangolin$ git branch -a
* master
remotes/origin/DensityPlot
remotes/origin/HEAD -> origin/master
remotes/origin/VideoEditor
remotes/origin/gh-pages
remotes/origin/master
remotes/origin/multiwinexample
remotes/origin/ortho_test
remotes/origin/packet2
remotes/origin/tutorials
remotes/origin/unicode
~/proj/slam/Pangolin$ git tag -l
v0.3
v0.4
v0.5
v0.6
~/proj/slam/Pangolin$ git checkout v0.6
Note: checking out 'v0.6'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at dd801d24 rename python dependency
~/proj/slam/Pangolin$ git branch
* (HEAD detached at v0.6)
master
~/proj/slam/Pangolin$ git log
commit dd801d244db3a8e27b7fe8020cd751404aa818fd (HEAD, tag: v0.6)
Author: Christian Rauch <Christian.Rauch@ed.ac.uk>
Date: Thu Apr 22 10:47:01 2021 +0100
rename python dependency
commit b8abe866819b343a4d50d062c494e4357e4a9aa4
Author: Steven Lovegrove <stevenlovegrove@gmail.com>
Date: Wed Apr 21 19:05:20 2021 -0700
Bump version.
commit 86eb4975fc4fc8b5d92148c2e370045ae9bf9f5d
Author: Patrick Stotko <stotko@cs.uni-bonn.de>
Date: Wed Oct 30 09:49:18 2019 +0100
cmake: Fix wayland option
~/proj/slam/Pangolin$ git branch v0.6.hankf.01
~/proj/slam/Pangolin$ git branch -a
* (HEAD detached at v0.6)
master
v0.6.hankf.01
remotes/origin/DensityPlot
remotes/origin/HEAD -> origin/master
remotes/origin/VideoEditor
remotes/origin/gh-pages
remotes/origin/master
remotes/origin/multiwinexample
remotes/origin/ortho_test
remotes/origin/packet2
remotes/origin/tutorials
remotes/origin/unicode
~/proj/slam/Pangolin$ git checkout v0.6.hankf.01
Switched to branch 'v0.6.hankf.01'
~/proj/slam/Pangolin$ git branch -a
master
* v0.6.hankf.01
remotes/origin/DensityPlot
remotes/origin/HEAD -> origin/master
remotes/origin/VideoEditor
remotes/origin/gh-pages
remotes/origin/master
remotes/origin/multiwinexample
remotes/origin/ortho_test
remotes/origin/packet2
remotes/origin/tutorials
remotes/origin/unicode
~/proj/slam/Pangolin$ git log
commit dd801d244db3a8e27b7fe8020cd751404aa818fd (HEAD -> v0.6.hankf.01, tag: v0.6)
Author: Christian Rauch <Christian.Rauch@ed.ac.uk>
Date: Thu Apr 22 10:47:01 2021 +0100
rename python dependency
commit b8abe866819b343a4d50d062c494e4357e4a9aa4
Author: Steven Lovegrove <stevenlovegrove@gmail.com>
Date: Wed Apr 21 19:05:20 2021 -0700
Bump version.
commit 86eb4975fc4fc8b5d92148c2e370045ae9bf9f5d
Author: Patrick Stotko <stotko@cs.uni-bonn.de>
Date: Wed Oct 30 09:49:18 2019 +0100
cmake: Fix wayland option
commit 24f3f845f03e139255208afedb9bfbf8ba1c24de
Author: Patrick Stotko <stotko@cs.uni-bonn.de>
Date: Wed Oct 30 09:50:40 2019 +0100
cmake: Fix Linux platform check
commit e1c79a678f1b68e4d19852a108201caaf7b31307
Author: Patrick Stotko <stotko@cs.uni-bonn.de>
Date: Fri Dec 6 11:47:13 2019 +0100
geometry: Add alternative PLY property types
~/proj/slam/Pangolin$ cat CMakeLists.txt
cmake_minimum_required(VERSION 2.8.12)
project("Pangolin")
set(PANGOLIN_VERSION_MAJOR 0)
set(PANGOLIN_VERSION_MINOR 6)
set(PANGOLIN_VERSION ${PANGOLIN_VERSION_MAJOR}.${PANGOLIN_VERSION_MINOR})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
# Platform configuration vars
include(SetPlatformVars)
SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Steven Lovegrove")
SET(CPACK_PACKAGE_VERSION_MAJOR ${PANGOLIN_VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${PANGOLIN_VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH "0")
include(CPack)
option( BUILD_TESTS "Build Tests" ON )
option( BUILD_TOOLS "Build Examples" ON )
option( BUILD_EXAMPLES "Build Tools" ON )
set (CMAKE_CXX_STANDARD 14)
if(_WIN_)
option( BUILD_SHARED_LIBS "Build Shared Library" OFF)
option( BUILD_EXTERN_GLEW "Automatically download, build and compile GLEW" ON)
option( BUILD_EXTERN_LIBPNG "Automatically download, build and compile libpng" ON)
option( BUILD_EXTERN_LIBJPEG "Automatically download, build and compile libjpeg" ON)
option( MSVC_USE_STATIC_CRT "Use static C Runtime with MSVC, /MT instead of /MD" ON)
# Make sure there are no erroneous C Runtime flags
list(APPEND FLAG_VARS
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_RELWITHDEBINFO
)
if(MSVC_USE_STATIC_CRT)
foreach(FLAG_VAR ${FLAG_VARS})
string(REGEX REPLACE "/MD" "/MT" NEW_FLAGS "${${FLAG_VAR}}")
set(${FLAG_VAR} "${NEW_FLAGS}" CACHE STRING "" FORCE)
endforeach()
else()
foreach(FLAG_VAR ${FLAG_VARS})
string(REGEX REPLACE "/MT" "/MD" NEW_FLAGS "${${FLAG_VAR}}")
set(${FLAG_VAR} "${NEW_FLAGS}" CACHE STRING "" FORCE)
endforeach()
endif()
else()
option( BUILD_SHARED_LIBS "Build Shared Library" ON)
endif()
if(NOT MSVC)
set( CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS}" )
endif()
if(ANDROID)
set(ANDROID_PACKAGE_NAME "com.github.stevenlovegrove.pangolin")
include(AndroidUtils)
endif()
if(ANDROID OR IOS)
set(HAVE_GLES 1)
option(BUILD_FOR_GLES_2 "Build for OpenGL ES 2 instead of ES 1" ON )
if(BUILD_FOR_GLES_2)
set(HAVE_GLES_2 1)
endif()
endif()
if(_OSX_)
set(CMAKE_MACOSX_RPATH ON)
endif()
# Overide with cmake -DCMAKE_BUILD_TYPE=Debug {dir}
if( NOT CMAKE_BUILD_TYPE AND NOT _WIN_ )
message("Build type not set (defaults to release)")
message("-DCMAKE_BUILD_TYPE=Debug for debug")
set( CMAKE_BUILD_TYPE Release )
endif()
string(TOLOWER ${PROJECT_NAME} LIBRARY_NAME)
# make an uninstall target
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY
)
add_custom_target(pangolin_uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
add_subdirectory("external")
add_subdirectory("src")
if(BUILD_TESTS)
set(Pangolin_DIR ${Pangolin_BINARY_DIR}/src)
add_subdirectory("test")
endif()
if(BUILD_TOOLS)
set(Pangolin_DIR ${Pangolin_BINARY_DIR}/src)
add_subdirectory(tools)
endif()
if(BUILD_EXAMPLES)
set(Pangolin_DIR ${Pangolin_BINARY_DIR}/src)
add_subdirectory(examples)
endif()
~/proj/slam/Pangolin$ ls -l
total 64
-rw-rw-r-- 1 hankf hankf 829 1月 19 10:34 appveyor.yml
drwxrwxr-x 6 hankf hankf 4096 1月 18 17:06 build
-rw-rw-r-- 1 hankf hankf 3411 1月 19 10:34 CMakeLists.txt
drwxrwxr-x 2 hankf hankf 4096 1月 19 10:34 CMakeModules
-rw-rw-r-- 1 hankf hankf 1095 1月 19 10:34 cmake_uninstall.cmake.in
drwxrwxr-x 14 hankf hankf 4096 1月 19 10:34 examples
drwxrwxr-x 3 hankf hankf 4096 1月 19 10:34 external
drwxrwxr-x 6 hankf hankf 4096 1月 19 10:34 include
-rw-rw-r-- 1 hankf hankf 1103 1月 18 16:50 LICENCE
-rw-rw-r-- 1 hankf hankf 510 1月 19 10:34 package.xml
drwxrwxr-x 2 hankf hankf 4096 1月 19 10:34 pyexamples
-rw-rw-r-- 1 hankf hankf 7345 1月 19 10:34 README.md
drwxrwxr-x 17 hankf hankf 4096 1月 19 10:34 src
drwxrwxr-x 3 hankf hankf 4096 1月 19 10:34 test
drwxrwxr-x 7 hankf hankf 4096 1月 19 10:34 tools
~/proj/slam/Pangolin$ cd build/
~/proj/slam/Pangolin/build$ ls -l
total 0
~/proj/slam/Pangolin/build$ cmake ../
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Build type not set (defaults to release)
-DCMAKE_BUILD_TYPE=Debug for debug
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- Found GLEW: /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Eigen Found and Enabled
-- V4L Found and Enabled
-- Performing Test HAVE_FFMPEG_MAX_ANALYZE_DURATION
-- Performing Test HAVE_FFMPEG_MAX_ANALYZE_DURATION - Success
-- Performing Test HAVE_FFMPEG_AVFORMAT_ALLOC_OUTPUT_CONTEXT2
-- Performing Test HAVE_FFMPEG_AVFORMAT_ALLOC_OUTPUT_CONTEXT2 - Success
-- Performing Test HAVE_FFMPEG_AVPIXELFORMAT
-- Performing Test HAVE_FFMPEG_AVPIXELFORMAT - Success
-- ffmpeg Found and Enabled
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- libpng Found and Enabled
-- libjpeg Found and Enabled
-- libtiff Found and Enabled
-- libopenexr Found and Enabled
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hankf/proj/slam/Pangolin/build
~/proj/slam/Pangolin/build$ make -j
Scanning dependencies of target pangolin
[ 0%] Building CXX object src/CMakeFiles/pangolin.dir/utils/file_extension.cpp.o
[ 3%] Building CXX object src/CMakeFiles/pangolin.dir/utils/threadedfilebuf.cpp.o
[ 3%] Building CXX object src/CMakeFiles/pangolin.dir/utils/file_utils.cpp.o
[ 3%] Building CXX object src/CMakeFiles/pangolin.dir/utils/timer.cpp.o
[ 4%] Building CXX object src/CMakeFiles/pangolin.dir/utils/sigstate.cpp.o
[ 6%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io.cpp.o
[ 5%] Building CXX object src/CMakeFiles/pangolin.dir/utils/uri.cpp.o
[ 7%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_pango.cpp.o
[ 8%] Building CXX object src/CMakeFiles/pangolin.dir/gl/glpangoglu.cpp.o
[ 9%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_ppm.cpp.o
[ 10%] Building CXX object src/CMakeFiles/pangolin.dir/display/opengl_render_state.cpp.o
[ 11%] Building CXX object src/CMakeFiles/pangolin.dir/image/pixel_format.cpp.o
[ 17%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_exr.cpp.o
[ 18%] Building CXX object src/CMakeFiles/pangolin.dir/log/packetstream_reader.cpp.o
[ 18%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_raw.cpp.o
[ 12%] Building CXX object src/CMakeFiles/pangolin.dir/log/packet.cpp.o
[ 19%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/test.cpp.o
[ 12%] Building CXX object src/CMakeFiles/pangolin.dir/log/packetstream_writer.cpp.o
[ 23%] Building CXX object src/CMakeFiles/pangolin.dir/gl/gltext.cpp.o
[ 26%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_packed12bit.cpp.o
[ 28%] Building CXX object src/CMakeFiles/pangolin.dir/gl/gltexturecache.cpp.o
[ 28%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_jpg.cpp.o
[ 29%] Building CXX object src/CMakeFiles/pangolin.dir/display/image_view.cpp.o
[ 13%] Building CXX object src/CMakeFiles/pangolin.dir/plot/plotter.cpp.o
[ 14%] Building CXX object src/CMakeFiles/pangolin.dir/gl/gldraw.cpp.o
[ 15%] Building CXX object src/CMakeFiles/pangolin.dir/log/playback_session.cpp.o
[ 30%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_lz4.cpp.o
[ 16%] Building CXX object src/CMakeFiles/pangolin.dir/geometry/geometry.cpp.o
[ 17%] Building CXX object src/CMakeFiles/pangolin.dir/log/packetstream.cpp.o
[ 20%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/pango_video_output.cpp.o
[ 20%] Building CXX object src/CMakeFiles/pangolin.dir/geometry/tinyobj.cpp.o
[ 21%] Building CXX object src/CMakeFiles/pangolin.dir/geometry/geometry_obj.cpp.o
[ 22%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/images_out.cpp.o
[ 24%] Building CXX object src/CMakeFiles/pangolin.dir/var/input_record_repeat.cpp.o
[ 25%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/pvn.cpp.o
[ 31%] Building CXX object src/CMakeFiles/pangolin.dir/handler/handler_image.cpp.o
[ 32%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_tga.cpp.o
[ 33%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/v4l.cpp.o
[ 34%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/unpack.cpp.o
[ 35%] Building CXX object src/CMakeFiles/pangolin.dir/gl/glchar.cpp.o
[ 36%] Building CXX object src/CMakeFiles/pangolin.dir/var/vars.cpp.o
[ 37%] Building CXX object src/CMakeFiles/pangolin.dir/video/video.cpp.o
[ 38%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/merge.cpp.o
[ 40%] Building CXX object src/CMakeFiles/pangolin.dir/tools/video_viewer.cpp.o
[ 40%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/pack.cpp.o
[ 41%] Building CXX object src/CMakeFiles/pangolin.dir/fonts.cpp.o
[ 42%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/join.cpp.o
[ 43%] Building CXX object src/CMakeFiles/pangolin.dir/gl/glfont.cpp.o
[ 44%] Building CXX object src/CMakeFiles/pangolin.dir/display/device/display_x11.cpp.o
[ 45%] Building CXX object src/CMakeFiles/pangolin.dir/handler/handler.cpp.o
[ 45%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/json.cpp.o
[ 50%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/thread.cpp.o
[ 51%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/ffmpeg.cpp.o
[ 46%] Building CXX object src/CMakeFiles/pangolin.dir/display/widgets/widgets.cpp.o
[ 53%] Building CXX object src/CMakeFiles/pangolin.dir/utils/posix/semaphore.cpp.o
[ 55%] Building CXX object src/CMakeFiles/pangolin.dir/video/video_output_interface_factory.cpp.o
[ 55%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/shift.cpp.o
[ 47%] Building CXX object src/CMakeFiles/pangolin.dir/utils/posix/condition_variable.cpp.o
[ 48%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_png.cpp.o
[ 49%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/mirror.cpp.o
[ 52%] Building CXX object src/CMakeFiles/pangolin.dir/image/image_io_zstd.cpp.o
[ 56%] Building CXX object src/CMakeFiles/pangolin.dir/plot/datalog.cpp.o
[ 53%] Building CXX object src/CMakeFiles/pangolin.dir/geometry/glgeometry.cpp.o
[ 57%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/truncate.cpp.o
[ 58%] Building CXX object src/CMakeFiles/pangolin.dir/display/viewport.cpp.o
[ 59%] Building CXX object src/CMakeFiles/pangolin.dir/video/video_output.cpp.o
[ 60%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/images.cpp.o
[ 60%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/shared_memory.cpp.o
[ 60%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/debayer.cpp.o
[ 61%] Building CXX object src/CMakeFiles/pangolin.dir/display/device/display_headless.cpp.o
[ 62%] Building CXX object src/CMakeFiles/pangolin.dir/geometry/geometry_ply.cpp.o
[ 63%] Building CXX object src/CMakeFiles/pangolin.dir/display/view.cpp.o
[ 64%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/split.cpp.o
[ 65%] Building CXX object src/CMakeFiles/pangolin.dir/display/window_factory.cpp.o
[ 66%] Building CXX object src/CMakeFiles/pangolin.dir/video/video_interface_factory.cpp.o
[ 60%] Building CXX object src/CMakeFiles/pangolin.dir/display/display.cpp.o
[ 60%] Building CXX object src/CMakeFiles/pangolin.dir/video/stream_encoder_factory.cpp.o
[ 68%] Building CXX object src/CMakeFiles/pangolin.dir/video/video_input.cpp.o
[ 68%] Building CXX object src/CMakeFiles/pangolin.dir/handler/handler_glbuffer.cpp.o
[ 68%] Building CXX object src/CMakeFiles/pangolin.dir/video/drivers/pango.cpp.o
[ 69%] Building CXX object src/CMakeFiles/pangolin.dir/utils/posix/shared_memory_buffer.cpp.o
[ 70%] Linking CXX shared library libpangolin.so
[ 70%] Built target pangolin
Scanning dependencies of target VideoJsonPrint
Scanning dependencies of target HelloPangolinThreads
Scanning dependencies of target VideoJsonTransform
Scanning dependencies of target HelloPangolinOffscreen
Scanning dependencies of target VideoViewer
Scanning dependencies of target HelloPangolin
Scanning dependencies of target SimplePlot
Scanning dependencies of target Plotter
Scanning dependencies of target VideoConvert
Scanning dependencies of target ModelViewer
Scanning dependencies of target SimpleDisplayImage
Scanning dependencies of target SimpleVideo
Scanning dependencies of target SimpleScene
Scanning dependencies of target SimpleDisplay
Scanning dependencies of target SharedMemoryCamera
Scanning dependencies of target SimpleRecord
Scanning dependencies of target SimpleMultiDisplay
[ 71%] Building CXX object tools/VideoJson/CMakeFiles/VideoJsonPrint.dir/main-print.cpp.o
[ 72%] Building CXX object tools/VideoConvert/CMakeFiles/VideoConvert.dir/main.cpp.o
[ 73%] Building CXX object examples/HelloPangolinThreads/CMakeFiles/HelloPangolinThreads.dir/main.cpp.o
[ 74%] Building CXX object tools/VideoJson/CMakeFiles/VideoJsonTransform.dir/main-transform.cpp.o
[ 75%] Building CXX object examples/HelloPangolinOffscreen/CMakeFiles/HelloPangolinOffscreen.dir/main.cpp.o
[ 76%] Building CXX object tools/Plotter/CMakeFiles/Plotter.dir/main.cpp.o
[ 76%] Building CXX object tools/ModelViewer/CMakeFiles/ModelViewer.dir/main.cpp.o
[ 76%] Building CXX object examples/HelloPangolin/CMakeFiles/HelloPangolin.dir/main.cpp.o
[ 76%] Building CXX object examples/SimpleRecord/CMakeFiles/SimpleRecord.dir/main.cpp.o
[ 77%] Building CXX object tools/VideoViewer/CMakeFiles/VideoViewer.dir/main.cpp.o
[ 78%] Building CXX object examples/SimpleVideo/CMakeFiles/SimpleVideo.dir/main.cpp.o
[ 79%] Building CXX object examples/SimpleScene/CMakeFiles/SimpleScene.dir/main.cpp.o
[ 80%] Building CXX object examples/SharedMemoryCamera/CMakeFiles/SharedMemoryCamera.dir/main.cpp.o
[ 81%] Building CXX object examples/SimplePlot/CMakeFiles/SimplePlot.dir/main.cpp.o
[ 82%] Building CXX object examples/SimpleDisplay/CMakeFiles/SimpleDisplay.dir/main.cpp.o
[ 83%] Building CXX object examples/SimpleMultiDisplay/CMakeFiles/SimpleMultiDisplay.dir/main.cpp.o
[ 84%] Building CXX object examples/SimpleDisplayImage/CMakeFiles/SimpleDisplayImage.dir/main.cpp.o
[ 85%] Linking CXX executable HelloPangolinThreads
[ 86%] Linking CXX executable HelloPangolin
[ 87%] Linking CXX executable SimpleRecord
[ 87%] Built target HelloPangolinThreads
[ 88%] Linking CXX executable VideoViewer
[ 89%] Linking CXX executable SharedMemoryCamera
[ 90%] Linking CXX executable SimpleDisplayImage
[ 91%] Linking CXX executable SimplePlot
[ 91%] Built target HelloPangolin
[ 92%] Linking CXX executable SimpleMultiDisplay
[ 93%] Linking CXX executable HelloPangolinOffscreen
[ 93%] Built target SimpleRecord
[ 93%] Built target VideoViewer
[ 94%] Linking CXX executable SimpleVideo
[ 94%] Built target SharedMemoryCamera
[ 94%] Built target SimpleDisplayImage
[ 94%] Built target SimplePlot
[ 94%] Built target SimpleVideo
[ 94%] Built target HelloPangolinOffscreen
[ 94%] Built target SimpleMultiDisplay
[ 94%] Linking CXX executable VideoConvert
[ 94%] Built target VideoConvert
[ 95%] Linking CXX executable SimpleScene
[ 96%] Linking CXX executable Plotter
[ 96%] Built target SimpleScene
[ 96%] Linking CXX executable SimpleDisplay
[ 97%] Linking CXX executable VideoJsonPrint
[ 97%] Built target Plotter
[ 97%] Built target SimpleDisplay
[ 97%] Built target VideoJsonPrint
[ 98%] Linking CXX executable VideoJsonTransform
[ 98%] Built target VideoJsonTransform
[100%] Linking CXX executable ModelViewer
[100%] Built target ModelViewer
~/proj/slam/Pangolin/build$ ls -l
total 140
-rw-rw-r-- 1 hankf hankf 37529 1月 19 10:37 CMakeCache.txt
-rw-rw-r-- 1 hankf hankf 13845 1月 19 10:37 CMakeDoxyfile.in
-rw-rw-r-- 1 hankf hankf 19110 1月 19 10:37 CMakeDoxygenDefaults.cmake
drwxrwxr-x 5 hankf hankf 4096 1月 19 10:37 CMakeFiles
-rw-rw-r-- 1 hankf hankf 1999 1月 19 10:37 cmake_install.cmake
-rw-rw-r-- 1 hankf hankf 1166 1月 19 10:37 cmake_uninstall.cmake
-rw-r--r-- 1 hankf hankf 3503 1月 19 10:37 CPackConfig.cmake
-rw-r--r-- 1 hankf hankf 3958 1月 19 10:37 CPackSourceConfig.cmake
drwxrwxr-x 2 hankf hankf 4096 1月 19 10:37 doc
drwxrwxr-x 14 hankf hankf 4096 1月 19 10:37 examples
drwxrwxr-x 3 hankf hankf 4096 1月 19 10:37 external
-rw-rw-r-- 1 hankf hankf 17804 1月 19 10:37 Makefile
drwxrwxr-x 4 hankf hankf 4096 1月 19 10:37 src
drwxrwxr-x 4 hankf hankf 4096 1月 19 10:37 test
drwxrwxr-x 8 hankf hankf 4096 1月 19 10:37 tools
~/proj/slam/Pangolin/build$ sudo make install
[sudo] password for hankf:
[ 70%] Built target pangolin
[ 72%] Built target VideoViewer
[ 73%] Built target VideoConvert
[ 75%] Built target VideoJsonPrint
[ 77%] Built target VideoJsonTransform
[ 79%] Built target Plotter
[ 80%] Built target ModelViewer
[ 81%] Built target HelloPangolin
[ 83%] Built target HelloPangolinOffscreen
[ 85%] Built target HelloPangolinThreads
[ 87%] Built target SimpleMultiDisplay
[ 89%] Built target SimpleDisplayImage
[ 91%] Built target SimpleScene
[ 93%] Built target SimplePlot
[ 94%] Built target SimpleDisplay
[ 96%] Built target SimpleVideo
[ 97%] Built target SimpleRecord
[100%] Built target SharedMemoryCamera
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/include/pangolin/config.h
-- Up-to-date: /usr/local/include/pangolin
-- Installing: /usr/local/include/pangolin/console
-- Installing: /usr/local/include/pangolin/console/ConsoleInterpreter.h
-- Installing: /usr/local/include/pangolin/console/ConsoleView.h
-- Installing: /usr/local/include/pangolin/scene
-- Installing: /usr/local/include/pangolin/scene/interactive_index.h
-- Installing: /usr/local/include/pangolin/scene/interactive.h
-- Installing: /usr/local/include/pangolin/scene/renderable.h
-- Installing: /usr/local/include/pangolin/scene/scenehandler.h
-- Installing: /usr/local/include/pangolin/scene/tree.h
-- Installing: /usr/local/include/pangolin/scene/axis.h
-- Installing: /usr/local/include/pangolin/plot
-- Installing: /usr/local/include/pangolin/plot/plotter.h
-- Installing: /usr/local/include/pangolin/plot/datalog.h
-- Installing: /usr/local/include/pangolin/plot/range.h
-- Installing: /usr/local/include/pangolin/log
-- Installing: /usr/local/include/pangolin/log/packetstream_writer.h
-- Installing: /usr/local/include/pangolin/log/packet.h
-- Installing: /usr/local/include/pangolin/log/packetstream_tags.h
-- Installing: /usr/local/include/pangolin/log/packetstream_reader.h
-- Installing: /usr/local/include/pangolin/log/packetstream_source.h
-- Installing: /usr/local/include/pangolin/log/playback_session.h
-- Installing: /usr/local/include/pangolin/log/sync_time.h
-- Installing: /usr/local/include/pangolin/log/packetstream.h
-- Installing: /usr/local/include/pangolin/utils
-- Installing: /usr/local/include/pangolin/utils/fix_size_buffer_queue.h
-- Installing: /usr/local/include/pangolin/utils/sigstate.h
-- Installing: /usr/local/include/pangolin/utils/simple_math.h
-- Installing: /usr/local/include/pangolin/utils/format_string.h
-- Installing: /usr/local/include/pangolin/utils/argagg.hpp
-- Installing: /usr/local/include/pangolin/utils/signal_slot.h
-- Installing: /usr/local/include/pangolin/utils/posix
-- Installing: /usr/local/include/pangolin/utils/posix/condition_variable.h
-- Installing: /usr/local/include/pangolin/utils/posix/shared_memory_buffer.h
-- Installing: /usr/local/include/pangolin/utils/posix/semaphore.h
-- Installing: /usr/local/include/pangolin/utils/log.h
-- Installing: /usr/local/include/pangolin/utils/file_utils.h
-- Installing: /usr/local/include/pangolin/utils/memstreambuf.h
-- Installing: /usr/local/include/pangolin/utils/params.h
-- Installing: /usr/local/include/pangolin/utils/file_extension.h
-- Installing: /usr/local/include/pangolin/utils/parse.h
-- Installing: /usr/local/include/pangolin/utils/transform.h
-- Installing: /usr/local/include/pangolin/utils/timer.h
-- Installing: /usr/local/include/pangolin/utils/registration.h
-- Installing: /usr/local/include/pangolin/utils/assert.h
-- Installing: /usr/local/include/pangolin/utils/xml
-- Installing: /usr/local/include/pangolin/utils/xml/rapidxml_iterators.hpp
-- Installing: /usr/local/include/pangolin/utils/xml/rapidxml_print.hpp
-- Installing: /usr/local/include/pangolin/utils/xml/rapidxml_utils.hpp
-- Installing: /usr/local/include/pangolin/utils/xml/rapidxml.hpp
-- Installing: /usr/local/include/pangolin/utils/xml/license.txt
-- Installing: /usr/local/include/pangolin/utils/variadic_all.h
-- Installing: /usr/local/include/pangolin/utils/uri.h
-- Installing: /usr/local/include/pangolin/utils/threadedfilebuf.h
-- Installing: /usr/local/include/pangolin/utils/compontent_cast.h
-- Installing: /usr/local/include/pangolin/utils/type_convert.h
-- Installing: /usr/local/include/pangolin/utils/picojson.h
-- Installing: /usr/local/include/pangolin/python
-- Installing: /usr/local/include/pangolin/python/pypangolin_init.h
-- Installing: /usr/local/include/pangolin/python/pyinterpreter.h
-- Installing: /usr/local/include/pangolin/python/pyvar.h
-- Installing: /usr/local/include/pangolin/python/pyuniqueobj.h
-- Installing: /usr/local/include/pangolin/python/pypangoio.h
-- Installing: /usr/local/include/pangolin/gl
-- Installing: /usr/local/include/pangolin/gl/glformattraits.h
-- Installing: /usr/local/include/pangolin/gl/gl.h
-- Installing: /usr/local/include/pangolin/gl/gltext.h
-- Installing: /usr/local/include/pangolin/gl/gltexturecache.h
-- Installing: /usr/local/include/pangolin/gl/glstate.h
-- Installing: /usr/local/include/pangolin/gl/glpangoglu.h
-- Installing: /usr/local/include/pangolin/gl/glplatform.h
-- Installing: /usr/local/include/pangolin/gl/glfont.h
-- Installing: /usr/local/include/pangolin/gl/glinclude.h
-- Installing: /usr/local/include/pangolin/gl/glchar.h
-- Installing: /usr/local/include/pangolin/gl/glpixformat.h
-- Installing: /usr/local/include/pangolin/gl/colour.h
-- Installing: /usr/local/include/pangolin/gl/gldraw.h
-- Installing: /usr/local/include/pangolin/gl/compat
-- Installing: /usr/local/include/pangolin/gl/compat/gl_es_compat.h
-- Installing: /usr/local/include/pangolin/gl/compat/gl2engine.h
-- Installing: /usr/local/include/pangolin/gl/glcuda.h
-- Installing: /usr/local/include/pangolin/gl/glvbo.h
-- Installing: /usr/local/include/pangolin/gl/gl.hpp
-- Installing: /usr/local/include/pangolin/gl/glsl.h
-- Installing: /usr/local/include/pangolin/gl/cg.h
-- Installing: /usr/local/include/pangolin/factory
-- Installing: /usr/local/include/pangolin/factory/factory_registry.h
-- Installing: /usr/local/include/pangolin/var
-- Installing: /usr/local/include/pangolin/var/varextra.h
-- Installing: /usr/local/include/pangolin/var/varvaluegeneric.h
-- Installing: /usr/local/include/pangolin/var/var.h
-- Installing: /usr/local/include/pangolin/var/varstate.h
-- Installing: /usr/local/include/pangolin/var/input_record_repeat.h
-- Installing: /usr/local/include/pangolin/var/varvalue.h
-- Installing: /usr/local/include/pangolin/var/varwrapper.h
-- Installing: /usr/local/include/pangolin/var/varvaluet.h
-- Installing: /usr/local/include/pangolin/handler
-- Installing: /usr/local/include/pangolin/handler/handler_image.h
-- Installing: /usr/local/include/pangolin/handler/handler.h
-- Installing: /usr/local/include/pangolin/handler/handler_enums.h
-- Installing: /usr/local/include/pangolin/handler/handler_glbuffer.h
-- Installing: /usr/local/include/pangolin/image
-- Installing: /usr/local/include/pangolin/image/image.h
-- Installing: /usr/local/include/pangolin/image/copy.h
-- Installing: /usr/local/include/pangolin/image/image_io.h
-- Installing: /usr/local/include/pangolin/image/image_utils.h
-- Installing: /usr/local/include/pangolin/image/pixel_format.h
-- Installing: /usr/local/include/pangolin/image/managed_image.h
-- Installing: /usr/local/include/pangolin/image/memcpy.h
-- Installing: /usr/local/include/pangolin/image/typed_image.h
-- Installing: /usr/local/include/pangolin/image/image_convert.h
-- Installing: /usr/local/include/pangolin/video
-- Installing: /usr/local/include/pangolin/video/video.h
-- Installing: /usr/local/include/pangolin/video/video_record_repeat.h
-- Installing: /usr/local/include/pangolin/video/video_exception.h
-- Installing: /usr/local/include/pangolin/video/video_interface.h
-- Installing: /usr/local/include/pangolin/video/video_output.h
-- Installing: /usr/local/include/pangolin/video/iostream_operators.h
-- Installing: /usr/local/include/pangolin/video/stream_info.h
-- Installing: /usr/local/include/pangolin/video/drivers
-- Installing: /usr/local/include/pangolin/video/drivers/thread.h
-- Installing: /usr/local/include/pangolin/video/drivers/openni_common.h
-- Installing: /usr/local/include/pangolin/video/drivers/debayer.h
-- Installing: /usr/local/include/pangolin/video/drivers/teli.h
-- Installing: /usr/local/include/pangolin/video/drivers/ffmpeg.h
-- Installing: /usr/local/include/pangolin/video/drivers/v4l.h
-- Installing: /usr/local/include/pangolin/video/drivers/unpack.h
-- Installing: /usr/local/include/pangolin/video/drivers/uvc_mediafoundation.h
-- Installing: /usr/local/include/pangolin/video/drivers/pleora.h
-- Installing: /usr/local/include/pangolin/video/drivers/images_out.h
-- Installing: /usr/local/include/pangolin/video/drivers/pvn.h
-- Installing: /usr/local/include/pangolin/video/drivers/shift.h
-- Installing: /usr/local/include/pangolin/video/drivers/test.h
-- Installing: /usr/local/include/pangolin/video/drivers/pack.h
-- Installing: /usr/local/include/pangolin/video/drivers/merge.h
-- Installing: /usr/local/include/pangolin/video/drivers/truncate.h
-- Installing: /usr/local/include/pangolin/video/drivers/deinterlace.h
-- Installing: /usr/local/include/pangolin/video/drivers/pango_video_output.h
-- Installing: /usr/local/include/pangolin/video/drivers/openni.h
-- Installing: /usr/local/include/pangolin/video/drivers/realsense.h
-- Installing: /usr/local/include/pangolin/video/drivers/shared_memory.h
-- Installing: /usr/local/include/pangolin/video/drivers/depthsense.h
-- Installing: /usr/local/include/pangolin/video/drivers/split.h
-- Installing: /usr/local/include/pangolin/video/drivers/openni2.h
-- Installing: /usr/local/include/pangolin/video/drivers/pango.h
-- Installing: /usr/local/include/pangolin/video/drivers/realsense2.h
-- Installing: /usr/local/include/pangolin/video/drivers/firewire.h
-- Installing: /usr/local/include/pangolin/video/drivers/uvc.h
-- Installing: /usr/local/include/pangolin/video/drivers/join.h
-- Installing: /usr/local/include/pangolin/video/drivers/images.h
-- Installing: /usr/local/include/pangolin/video/drivers/mirror.h
-- Installing: /usr/local/include/pangolin/video/video_output_interface.h
-- Installing: /usr/local/include/pangolin/video/stream_encoder_factory.h
-- Installing: /usr/local/include/pangolin/video/video_input.h
-- Installing: /usr/local/include/pangolin/compat
-- Installing: /usr/local/include/pangolin/compat/optional.h
-- Installing: /usr/local/include/pangolin/compat/variant.h
-- Installing: /usr/local/include/pangolin/compat/glutbitmap.h
-- Installing: /usr/local/include/pangolin/compat/type_traits.h
-- Installing: /usr/local/include/pangolin/pangolin.h
-- Installing: /usr/local/include/pangolin/display
-- Installing: /usr/local/include/pangolin/display/opengl_render_state.h
-- Installing: /usr/local/include/pangolin/display/user_app.h
-- Installing: /usr/local/include/pangolin/display/device
-- Installing: /usr/local/include/pangolin/display/device/PangolinNSApplication.h
-- Installing: /usr/local/include/pangolin/display/device/display_android.h
-- Installing: /usr/local/include/pangolin/display/device/X11Window.h
-- Installing: /usr/local/include/pangolin/display/device/PangolinNSGLView.h
-- Installing: /usr/local/include/pangolin/display/device/OsxWindow.h
-- Installing: /usr/local/include/pangolin/display/device/X11GlContext.h
-- Installing: /usr/local/include/pangolin/display/device/WinWindow.h
-- Installing: /usr/local/include/pangolin/display/attach.h
-- Installing: /usr/local/include/pangolin/display/image_view.h
-- Installing: /usr/local/include/pangolin/display/widgets
-- Installing: /usr/local/include/pangolin/display/widgets/widgets.h
-- Installing: /usr/local/include/pangolin/display/display_internal.h
-- Installing: /usr/local/include/pangolin/display/view.h
-- Installing: /usr/local/include/pangolin/display/display.h
-- Installing: /usr/local/include/pangolin/display/viewport.h
-- Installing: /usr/local/include/pangolin/display/window.h
-- Installing: /usr/local/include/pangolin/platform.h
-- Installing: /usr/local/include/pangolin/ios
-- Installing: /usr/local/include/pangolin/ios/PangolinUIView.h
-- Installing: /usr/local/include/pangolin/ios/PangolinAppDelegate.h
-- Installing: /usr/local/include/pangolin/geometry
-- Installing: /usr/local/include/pangolin/geometry/geometry_ply.h
-- Installing: /usr/local/include/pangolin/geometry/geometry.h
-- Installing: /usr/local/include/pangolin/geometry/geometry_obj.h
-- Installing: /usr/local/include/pangolin/geometry/glgeometry.h
-- Installing: /usr/local/include/pangolin/tools
-- Installing: /usr/local/include/pangolin/tools/video_viewer.h
-- Installing: /usr/local/lib/libpangolin.so
-- Set runtime path of "/usr/local/lib/libpangolin.so" to ""
-- Installing: /usr/local/lib/cmake/Pangolin/PangolinConfig.cmake
-- Installing: /usr/local/lib/cmake/Pangolin/PangolinConfigVersion.cmake
-- Installing: /usr/local/lib/cmake/Pangolin/PangolinTargets.cmake
-- Installing: /usr/local/lib/cmake/Pangolin/PangolinTargets-release.cmake
-- Installing: /usr/local/bin/VideoViewer
-- Set runtime path of "/usr/local/bin/VideoViewer" to ""
-- Installing: /usr/local/bin/VideoConvert
-- Set runtime path of "/usr/local/bin/VideoConvert" to ""
-- Installing: /usr/local/bin/VideoJsonPrint
-- Set runtime path of "/usr/local/bin/VideoJsonPrint" to ""
-- Installing: /usr/local/bin/VideoJsonTransform
-- Set runtime path of "/usr/local/bin/VideoJsonTransform" to ""
-- Installing: /usr/local/bin/Plotter
-- Set runtime path of "/usr/local/bin/Plotter" to ""
付汉杰 hankf@amd.com