Difference between revisions of "Compiling LuxCore"

From LuxCoreRender Wiki
Jump to navigation Jump to search
Line 9: Line 9:


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

Revision as of 09:48, 2 December 2017

Linux

# 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

In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make (or make -j8 for multithreaded compilation with 8 threads).