cdcseacave/openMVS

Compilation failure

oym050922021 opened this issue · 2 comments

Describe the bug
When I followed the tutorial steps to compile openMVS ,The following error occurred. What is the reason?
Thank you.

To Reproduce
the step of compilation is as follows.

#Clone OpenMVS
git clone --recurse-submodules https://github.com/cdcseacave/openMVS.git

#Make build directory:
cd openMVS
mkdir make
cd make

#Run CMake:
cmake ..

Expected behavior
The compilation is stopped with this message.

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /usr/bin/autoreconf -vfi
Working Directory: /root/Ouyangmei/vcpkg/buildtrees/python3/src/v3.11.5-e367fb7dd4.clean/
Error code: 1
See logs for more information:
/root/Ouyangmei/vcpkg/buildtrees/python3/autoconf-x64-linux-err.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:728 (vcpkg_execute_required_process)
ports/python3/portfile.cmake:274 (vcpkg_configure_make)
scripts/ports.cmake:170 (include)

error: building python3:x64-linux failed with: BUILD_FAILED
Elapsed time to handle python3:x64-linux: 3.2 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+python3
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[python3]+Build+error+on+x64-linux&body=Copy+issue+body+from+%2Froot%2FOuyangmei%2FopenMVS%2Fmake%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md

-- Running vcpkg install - failed
CMake Error at /root/Ouyangmei/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
/root/Ouyangmei/openMVS/make/vcpkg-manifest-install.log
Call Stack (most recent call first):
/root/anaconda3/envs/neuralangelo/share/cmake-3.27/Modules/CMakeDetermineSystem.cmake:148 (include)
CMakeLists.txt:52 (PROJECT)

CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

Desktop (please complete the following information)

  1. Ubuntu 22.04 system
  2. CUDA 11.7

did you install build-essentials?

did you install build-essentials?

@cdcseacave I installed the build-essentials using the package named vcpkg.