Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CI workflow committed Feb 2, 2024
1 parent a8e2271 commit 97290e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _sources/install.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ cmake -DCMAKE_C_COMPILER=/path/to/gcc -DCMAKE_CXX_COMPILER=path/to/g++ ..
* When compiling with the Python bindings enabled CMake will sometimes choose the wrong Python binary and/or include files, resulting in a failed compilation. If this happens the correct paths can be directly as follows:

```bash
cmake -DPython=ON -DPYTHON_INCLUDE_DIRS=/path/to/python/include/dir -DPYTHON_EXECUTABLE=/path/to/python/binary ..
cmake -DPython=ON -DPYTHON_INCLUDE_DIR=/path/to/python/include/dir -DPYTHON_EXECUTABLE=/path/to/python/binary ..
```

If you are using conda environments, the paths should look something like:
Expand Down
2 changes: 1 addition & 1 deletion install.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h4><code class="docutils literal notranslate"><span class="pre">oxpy</span></co
<li><p>When running <code class="docutils literal notranslate"><span class="pre">make</span></code> if you run into a problem at the end of compilation where it cannot find <code class="docutils literal notranslate"><span class="pre">python.h</span></code>, this means that you don’t have the Python developer kit installed. See <a class="reference external" href="https://stackoverflow.com/a/21530768/9738112">this StackOverflow answer</a> on how to install with a variety of package managers. If you do have it installed, see the next bullet point.</p></li>
<li><p>When compiling with the Python bindings enabled CMake will sometimes choose the wrong Python binary and/or include files, resulting in a failed compilation. If this happens the correct paths can be directly as follows:</p></li>
</ul>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>cmake<span class="w"> </span>-DPython<span class="o">=</span>ON<span class="w"> </span>-DPYTHON_INCLUDE_DIRS<span class="o">=</span>/path/to/python/include/dir<span class="w"> </span>-DPYTHON_EXECUTABLE<span class="o">=</span>/path/to/python/binary<span class="w"> </span>..
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>cmake<span class="w"> </span>-DPython<span class="o">=</span>ON<span class="w"> </span>-DPYTHON_INCLUDE_DIR<span class="o">=</span>/path/to/python/include/dir<span class="w"> </span>-DPYTHON_EXECUTABLE<span class="o">=</span>/path/to/python/binary<span class="w"> </span>..
</pre></div>
</div>
<p>If you are using conda environments, the paths should look something like:</p>
Expand Down

0 comments on commit 97290e3

Please sign in to comment.