-
I was trying to compile the project in WSL2 (ubuntu) following the documentation. When running the last step, some errors were generated: cmake --build . --target install
[ 11%] Built target lib_CoinUtils
[ 13%] Built target lib_Osi
[ 23%] Built target lib_clp
[ 23%] Built target lib_OsiClpSolver
[ 24%] Built target openMVG_stlplus
[ 48%] Built target openMVG_ceres
[ 49%] Built target openMVG_easyexif
[ 50%] Built target openMVG_fast
[ 50%] Built target openMVG_exif
[ 52%] Built target openMVG_features
[ 52%] Built target openMVG_numeric
[ 52%] Built target openMVG_image
[ 52%] Built target openMVG_linearProgramming
[ 52%] Built target openMVG_system
Consolidate compiler generated dependencies of target openMVG_multiview
[ 56%] Built target openMVG_multiview
Consolidate compiler generated dependencies of target openMVG_lInftyComputerVision
[ 57%] Built target openMVG_lInftyComputerVision
[ 59%] Built target openMVG_geometry
[ 60%] Built target openMVG_matching
[ 61%] Built target openMVG_kvld
Consolidate compiler generated dependencies of target openMVG_matching_image_collection
[ 62%] Built target openMVG_matching_image_collection
Consolidate compiler generated dependencies of target openMVG_multiview_test_data
[ 63%] Built target openMVG_multiview_test_data
[ 64%] Built target openMVG_robust_estimation
Consolidate compiler generated dependencies of target openMVG_sfm
[ 69%] Built target openMVG_sfm
[ 69%] Built target main_svgSample
Consolidate compiler generated dependencies of target openMVG_sample_cameras_undistoBrown
[ 69%] Built target openMVG_sample_cameras_undistoBrown
Consolidate compiler generated dependencies of target openMVG_sample_robust_estimation_Homography
[ 69%] Built target openMVG_sample_robust_estimation_Homography
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustHomography
[ 70%] Built target openMVG_sample_multiview_robustHomography
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustHomography_guided
[ 70%] Built target openMVG_sample_multiview_robustHomography_guided
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustFundamental
[ 70%] Built target openMVG_sample_multiview_robustFundamental
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustFundamental_guided
[ 70%] Built target openMVG_sample_multiview_robustFundamental_guided
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustEssential
[ 70%] Built target openMVG_sample_multiview_robustEssential
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustEssential_spherical
[ 71%] Built target openMVG_sample_multiview_robustEssential_spherical
Consolidate compiler generated dependencies of target openMVG_sample_multiview_robustEssential_ba
[ 71%] Built target openMVG_sample_multiview_robustEssential_ba
[ 72%] Built target openMVG_main_exif_Parsing
[ 74%] Built target vlsift
Consolidate compiler generated dependencies of target openMVG_sample_main_features_repeatability_dataset
[ 75%] Built target openMVG_sample_main_features_repeatability_dataset
[ 75%] Built target openMVG_sample_features_affine
Consolidate compiler generated dependencies of target openMVG_sample_features_kvld
[ 76%] Built target openMVG_sample_features_kvld
[ 76%] Built target openMVG_sample_features_siftPutative
[ 77%] Built target openMVG_sample_image_matching
Consolidate compiler generated dependencies of target openMVG_sample_image_matching_gmsfilter
[ 77%] Built target openMVG_sample_image_matching_gmsfilter
[ 77%] Automatic MOC for target openMVG_sample_describe_and_match_GUI
AutoMoc subprocess error
------------------------
The moc process failed to compile
"SRC:/openMVG_Samples/describe_and_match_GUI/MainWindow.hpp"
into
"BIN:/openMVG_Samples/describe_and_match_GUI/openMVG_sample_describe_and_match_GUI_autogen/EWIEGA46WW/moc_MainWindow.cpp"
Command
-------
/mnt/e/anaconda/Library/bin/moc.exe -DEIGEN_MPL2_ONLY -DOPENMVG_USE_OPENMP -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_PATENTED_LIGT -I/mnt/e/prog/pris_research/openMVG_Build/openMVG_Samples/describe_and_match_GUI -I/mnt/e/prog/pris_research/openMVG/src/openMVG_Samples/describe_and_match_GUI -I/usr/include/eigen3 -I/mnt/e/prog/pris_research/openMVG/src -I/mnt/e/prog/pris_research/openMVG/src/dependencies/cereal/include -I/mnt/e/prog/pris_research/openMVG/src/third_party/flann/src/cpp -I/mnt/e/anaconda/Library/include/qt -I/mnt/e/anaconda/Library/include/qt/QtWidgets -I/mnt/e/anaconda/Library/include/qt/QtGui -I/mnt/e/anaconda/Library/include/qt/QtANGLE -I/mnt/e/anaconda/Library/include/qt/QtCore -I/mnt/e/anaconda/Library/mkspecs/win32-msvc -I/usr/include/c++/11 -I/usr/include/x86_64-linux-gnu/c++/11 -I/usr/include/c++/11/backward -I/usr/lib/gcc/x86_64-linux-gnu/11/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include --include /mnt/e/prog/pris_research/openMVG_Build/openMVG_Samples/describe_and_match_GUI/openMVG_sample_describe_and_match_GUI_autogen/moc_predefs.h --output-dep-file -o /mnt/e/prog/pris_research/openMVG_Build/openMVG_Samples/describe_and_match_GUI/openMVG_sample_describe_and_match_GUI_autogen/EWIEGA46WW/moc_MainWindow.cpp /mnt/e/prog/pris_research/openMVG/src/openMVG_Samples/describe_and_match_GUI/MainWindow.hpp
Output
------
moc: /mnt/e/prog/pris_research/openMVG/src/openMVG_Samples/describe_and_match_GUI/MainWindow.hpp: No such file
gmake[2]: *** [openMVG_Samples/describe_and_match_GUI/CMakeFiles/openMVG_sample_describe_and_match_GUI_autogen.dir/build.make:71: openMVG_Samples/describe_and_match_GUI/CMakeFiles/openMVG_sample_describe_and_match_GUI_autogen] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:3192: openMVG_Samples/describe_and_match_GUI/CMakeFiles/openMVG_sample_describe_and_match_GUI_autogen.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2 It seems that the line openMVG_Samples/describe_and_match_GUI [ pwd develop ] 8:10 PM
/mnt/e/prog/pris_research/openMVG/src/openMVG_Samples/describe_and_match_GUI
openMVG_Samples/describe_and_match_GUI [ ls develop ] 8:10 PM
CMakeLists.txt ImageView.hpp MainWindow.cpp main.cpp
ImageView.cpp Info.plist.in MainWindow.hpp Any idea of what's happening? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
pmoulon
Dec 8, 2023
Replies: 1 comment 4 replies
-
Maybe an issue with the version of QT. Can you try build without the QT samples? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you add
-DOpenMVG_BUILD_GUI_SOFTWARES=OFF
to the cmake command line (with emptying your cmake cache