3 Star 7 Fork 1

saedrna / Basis of Photogrammetry

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_problem3.bat 832 Bytes
一键复制 编辑 原始数据 按行查看 历史
Han Hu 提交于 2024-03-12 15:20 . 修复 catch2 的 API 改变
@REM Test if visual studio vcvarsall.bat is available
if not exist "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" (
echo "Visual Studio 2022 is not installed. Please install it first."
exit /b 1
)
@REM Test if the vs environment is already activated
if not defined VSINSTALLDIR (
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=x64 -host_arch=x64
)
mkdir build
cd build
:: Set this path accordingly
pushd "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
call VC\Auxiliary\Build\vcvars64.bat
popd
cmake -GNinja ^
-DCMAKE_PREFIX_PATH=%CONDA_PREFIX% ^
-DCMAKE_TOOLCHAIN_FILE=%CONDA_PREFIX%\h2o.cmake ^
-DCMAKE_BUILD_TYPE=Release ^
-DPHOTO_PROBLEM_3=ON ^
../
ninja
"bin/problem3.exe"
1
https://gitee.com/saedrna/Basis-of-Photogrammetry.git
git@gitee.com:saedrna/Basis-of-Photogrammetry.git
saedrna
Basis-of-Photogrammetry
Basis of Photogrammetry
master

搜索帮助