Difference between revisions of "Compiling LuxCore"

From LuxCoreRender Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Linux ==  
== Linux ==  
=== First Run ===


<pre>
<pre>
Line 20: Line 22:
</pre>
</pre>


In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run <code>make</code> (or <code>make -j8</code> for multithreaded compilation with 8 threads).
=== Recompiling ===
 
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run:
<pre>
make -j8
</pre>
(-j<n> specifies number of threads for the compilation process)
 
The compiled binaries are in LuxCore/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore/lib/

Revision as of 09:54, 2 December 2017

Linux

First Run

# Static compilation scripts
git clone https://github.com/LuxCoreRender/LinuxCompile.git
cd LinuxCompile
# LuxCore sources
git clone https://github.com/LuxCoreRender/LuxCore.git

# Start build script, pass the path to the LuxCore sources as first argument
# This will take a very long time on the first run because it needs to compile all dependencies
./build-64-sse2 LuxCore

To test LuxCoreUI, you can now start it:

cd LuxCore
./bin/luxcoreui ./scenes/luxball/luxball-hdr.cfg

Recompiling

In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run:

make -j8

(-j<n> specifies number of threads for the compilation process)

The compiled binaries are in LuxCore/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore/lib/