GDAOSU / vis2mesh

Vis2Mesh: Efficient Mesh Reconstruction from Unstructured Point Clouds of Large Scenes with Learned Virtual View Visibility ICCV2021
100 stars 16 forks source link

CMake Build Error while building the OpenMVS repository #10

Closed impaidk closed 2 years ago

impaidk commented 2 years ago

I'm facing logical errors in the vis2mesh/tools/openMVS_src/libs/MVS/Mesh.cpp file of the OpenMVS package. Isn't the repository error-free and ready to use?

I'm trying to build it using setup_tools.sh, all the dependencies mentioned are satisfied.

I haven't made any changes to the build_openmvs.sh script as well, everything is the same as mentioned in the repo.

#!/usr/bin/env bash SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" echo "Installing.. $SCRIPT_DIR" git clone https://github.com/cdcseacave/VCG.git "$SCRIPT_DIR/vcglib" -q cd "$SCRIPT_DIR/vcglib" && git checkout 88f12f212a1645d1fa6416592a434c29e63b57f0 git clone https://github.com/GDAOSU/openMVS_mvasupport.git "$SCRIPT_DIR/openMVS_src" -q cd "$SCRIPT_DIR/openMVS_src" && git checkout 09fdd45e23c4b4fd3a0a4258f8294aae6e9fe8d9 mkdir "$SCRIPT_DIR/openMVS_build" cd "$SCRIPT_DIR/openMVS_build" cmake . "$SCRIPT_DIR/openMVS_src" -DCMAKE_BUILD_TYPE=Release -DVCG_ROOT="$SCRIPT_DIR/vcglib" -DCMAKE_INSTALL_PREFIX="$SCRIPT_DIR" make -j7 && make install

Here is the error I encounter, from line 954 to 979 and line 1384 to 1393 in the following gist link below.

https://gist.github.com/impaidk/76767b2c30dd78daeb8fbb432591c214

Currently, I'm trying to solve the error but I would like to know if anybody else faced this error and if there is a quick fix available.

Looking forward to hearing from you.

Thanks in Advance

impaidk commented 2 years ago

After using the new committed version ff76d90583eba71c37d16dcf29ecf53e0a111fad of the build_openMVS.sh the problem was solved