From 4f795aad96199738acb37f82b033e818e1978a9e Mon Sep 17 00:00:00 2001 From: yubbit Date: Mon, 18 May 2026 20:52:33 +0800 Subject: [PATCH] Add build instructions for LichtFeld Studio --- .gitignore | 2 +- lichtfeld-studio/LichtFeld-Studio | 2 +- lichtfeld-studio/LichtFeld-Studio.exe.lnk | Bin 0 -> 1299 bytes lichtfeld-studio/build-instructions.txt | 49 ++++++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 lichtfeld-studio/LichtFeld-Studio.exe.lnk create mode 100644 lichtfeld-studio/build-instructions.txt diff --git a/.gitignore b/.gitignore index 8bcbd13..57f9c5f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,4 @@ colmap/share colmap/plugins colmap/COLMAP.bat colmap/RUN_TESTS.bat -/lichtfeld-studio/LichtFeld-Studio* +/lichtfeld-studio/LichtFeld-Studio-Portable/ diff --git a/lichtfeld-studio/LichtFeld-Studio b/lichtfeld-studio/LichtFeld-Studio index 4ad2d1a..584f154 160000 --- a/lichtfeld-studio/LichtFeld-Studio +++ b/lichtfeld-studio/LichtFeld-Studio @@ -1 +1 @@ -Subproject commit 4ad2d1a4c554f7a779e98e7a7d81b29b18813dbe +Subproject commit 584f154bfd8ec5ac4a148f678f0b2a22cf45a272 diff --git a/lichtfeld-studio/LichtFeld-Studio.exe.lnk b/lichtfeld-studio/LichtFeld-Studio.exe.lnk new file mode 100644 index 0000000000000000000000000000000000000000..8194700f87ccd2f65888f44b71c4606efe3fd417 GIT binary patch literal 1299 zcmb7DO=uHQ5dIQdNN-U?z^WM0L#%F^TA{U|^pM7&E5>dGwGV2O-I68iZb)7*f(RZw zSlf#TDzy-#BH|A;7Y{-a6+}b`c=6DKf-NHc6$CFmIJ34fw3Oh4d2eR&-hA`Tn^ggL z0$y5yXYPvl1bhgQ-QHbodNDuinR)x^_euCAs7cU|aITv1;f` zkLkbj-iO`M=;S7}$9lx_nYw)p9j;dq_Xqsw)RnxEcI<-87t_*oY(+Ybl{F=Fw4ez; zW^#kyPgKNFBSN>rqYS>WE*qNzg#bF~yn;Loq~X9u0g}8Tc@m}@QOI)WXCX@wN%z8Z zV!4)C!w<_$XXJ=s=}JKsb<+X*mugT&SARv!x;0$b!kF86sgtLd-%)0h@G_KpgzB)| zinxvEOMK zl;tKV_iG(#+wqUmPrIhYv|(E}3t7;Bt~q~Vv$03xxx~FhZ)EB~X>2RS zGo(n6zJ8NGG&O%)ecT#&u;by^368UzA*DAgpJa!`wCOWdbfb`!PL6!5*%-K6YV92z fk59Kf+4bt&P~Vm5{)P2ZzG!gr^G~(W|D5v=`co?q literal 0 HcmV?d00001 diff --git a/lichtfeld-studio/build-instructions.txt b/lichtfeld-studio/build-instructions.txt new file mode 100644 index 0000000..d2b4a4c --- /dev/null +++ b/lichtfeld-studio/build-instructions.txt @@ -0,0 +1,49 @@ +1. Go to AppData directory + +``` +cd %APPDATA% +``` + +2. Clone and set up vcpkg + +``` +git clone https://github.com/microsoft/vcpkg.git +cd vcpkg && .\bootstrap-vcpkg.bat -disableMetrics && cd .. +``` + +3. Run the following in the LichtFeld-Studio directory + NOTE: This creates a portable build for devices with CUDA Compute Capability 8.6 + +``` +cmake -B build -S . -G Ninja ^ + -DCMAKE_BUILD_TYPE=Release ^ + -DBUILD_PORTABLE=ON ^ + -DBUILD_PYTHON_STUBS=OFF ^ + -DCMAKE_CUDA_ARCHITECTURES=86 ^ + -DBUILD_CUDA_MIN_SM=86 ^ + -DCMAKE_TOOLCHAIN_FILE="%APPDATA%\vcpkg\scripts\buildsystems\vcpkg.cmake" +``` + +4. Run the following. Adjust the number of threads accordingly + +``` +cmake --build build -j4 +``` + +5. Run the following to create the portable build. + +``` +cmake --install build --prefix ../LichtFeld-Studio-Portable +``` + +| NOTE: The full directory structure of the portable install should look like so: + +``` +. +├── bin/ +├── DLLs/ +├── extensions/ +├── Lib/ +├── share/ +└── LICENSE (35 KB) +``` \ No newline at end of file