Skip to content

Commit

Permalink
deploy: 8471a7f
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiwo committed Sep 5, 2024
1 parent fbd4545 commit a580b7c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions dev/TitanProcessing/Installation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,18 @@
<h1>Installation<a class="headerlink" href="#installation" title="Permalink to this heading"></a></h1>
<section id="os-support">
<h2>OS Support<a class="headerlink" href="#os-support" title="Permalink to this heading"></a></h2>
<p>Currently, Titan Processing only supports Linux builds with no plans to support Windows or MacOS, but feel free to try. All package requirements should be cross-platform. There are issues with configuring CMake using Visual Studio solutions and building with MSVC so consider using MinGW or Clang.</p>
<p>Currently, Titan Processing only supports Linux builds for AArch64 and x86_64 with no plans to support Windows or MacOS, but feel free to try. All package requirements should be cross-platform. There are issues with configuring CMake using Visual Studio solutions and building with MSVC so consider using MinGW or Clang.</p>
</section>
<section id="building">
<h2>Building<a class="headerlink" href="#building" title="Permalink to this heading"></a></h2>
<section id="instructions">
<h3>Instructions<a class="headerlink" href="#instructions" title="Permalink to this heading"></a></h3>
<ol class="arabic simple">
<li><p>Install OpenCV 4.8.x or above with the Aruco contrib module. Python support is optional but necessary to run calibration scripts. Follow the official guide to build OpenCV contrib <a class="reference external" href="https://github.com/opencv/opencv_contrib">here</a>.</p></li>
<li><p>Install OpenCV 4.8.x or above with the Aruco contrib module. Python 3.8.x or above support is optional but necessary to run calibration scripts. Follow the official guide to build OpenCV contrib <a class="reference external" href="https://github.com/opencv/opencv_contrib">here</a>, but only the ArUco submodule is used.</p></li>
<li><p>(Optional) Install <a class="reference external" href="https://github.com/IntelRealSense/librealsense">Intel RealSense SDK</a> to build RealSense modules.</p></li>
<li><p>Install <a class="reference external" href="https://github.com/nlohmann/json">JSON for Modern C++</a> using <a class="reference external" href="https://github.com/Microsoft/vcpkg">vcpkg</a> or build it from scratch. To install vcpkg with our own Debian binaries, execute the following.</p></li>
<li><p>Install <a class="reference external" href="https://github.com/google/googletest/blob/main/googletest/README.md">GoogleTest testing framework</a>.</p></li>
<li><p>Install <a class="reference external" href="https://github.com/nlohmann/json">JSON for Modern C++</a> using <a class="reference external" href="https://github.com/Microsoft/vcpkg">vcpkg</a> or build it from scratch.
To install vcpkg with our own Debian binaries, execute the following.</p></li>
</ol>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># Install vcpkg binary (optional)</span>
curl<span class="w"> </span>-OL<span class="w"> </span>https://github.com/ethanc8/titanian-repo/raw/master/debian/pool/main/v/vcpkg/vcpkg_2023.12.10-2+titan2022_amd64.deb
Expand All @@ -339,14 +341,16 @@ <h3>Instructions<a class="headerlink" href="#instructions" title="Permalink to t
cmake<span class="w"> </span>-B<span class="w"> </span>.<span class="w"> </span>-S<span class="w"> </span>..<span class="w"> </span>-DCMAKE_TOOLCHAIN_FILE<span class="o">=[</span>PATH<span class="w"> </span>TO<span class="w"> </span>VCPKG<span class="o">]</span>/scripts/buildsystems/vcpkg.cmake<span class="w"> </span>-DBUILD_EXAMPLES<span class="o">=</span><span class="m">1</span>
</pre></div>
</div>
<ol class="arabic simple" start="4">
<li><p>Build the project using your build system.</p></li>
<ol class="arabic simple" start="5">
<li><p>Build and install the project using your build system.</p></li>
</ol>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># For Makefile</span>
make<span class="w"> </span>-j
sudo<span class="w"> </span>make<span class="w"> </span>install

<span class="c1"># For Ninja</span>
ninja
sudo<span class="w"> </span>ninja<span class="w"> </span>install
</pre></div>
</div>
</section>
Expand Down
12 changes: 8 additions & 4 deletions dev/_sources/TitanProcessing/Installation/index.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

## OS Support

Currently, Titan Processing only supports Linux builds with no plans to support Windows or MacOS, but feel free to try. All package requirements should be cross-platform. There are issues with configuring CMake using Visual Studio solutions and building with MSVC so consider using MinGW or Clang.
Currently, Titan Processing only supports Linux builds for AArch64 and x86_64 with no plans to support Windows or MacOS, but feel free to try. All package requirements should be cross-platform. There are issues with configuring CMake using Visual Studio solutions and building with MSVC so consider using MinGW or Clang.

## Building

### Instructions

1. Install OpenCV 4.8.x or above with the Aruco contrib module. Python support is optional but necessary to run calibration scripts. Follow the official guide to build OpenCV contrib [here](https://github.com/opencv/opencv_contrib).
1. Install OpenCV 4.8.x or above with the Aruco contrib module. Python 3.8.x or above support is optional but necessary to run calibration scripts. Follow the official guide to build OpenCV contrib [here](https://github.com/opencv/opencv_contrib), but only the ArUco submodule is used.
2. (Optional) Install [Intel RealSense SDK](https://github.com/IntelRealSense/librealsense) to build RealSense modules.
3. Install [JSON for Modern C++](https://github.com/nlohmann/json) using [vcpkg](https://github.com/Microsoft/vcpkg) or build it from scratch. To install vcpkg with our own Debian binaries, execute the following.
3. Install [GoogleTest testing framework](https://github.com/google/googletest/blob/main/googletest/README.md).
4. Install [JSON for Modern C++](https://github.com/nlohmann/json) using [vcpkg](https://github.com/Microsoft/vcpkg) or build it from scratch.
To install vcpkg with our own Debian binaries, execute the following.

```bash
# Install vcpkg binary (optional)
Expand Down Expand Up @@ -38,14 +40,16 @@ cmake -B . -S .. -DCMAKE_TOOLCHAIN_FILE=[PATH TO VCPKG]/scripts/buildsystems/vcp
cmake -B . -S .. -DCMAKE_TOOLCHAIN_FILE=[PATH TO VCPKG]/scripts/buildsystems/vcpkg.cmake -DBUILD_EXAMPLES=1
```

4. Build the project using your build system.
5. Build and install the project using your build system.

```bash
# For Makefile
make -j
sudo make install

# For Ninja
ninja
sudo ninja install
```

### Build Options
Expand Down
Loading

0 comments on commit a580b7c

Please sign in to comment.