<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.luxcorerender.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=U3dreal</id>
	<title>LuxCoreRender Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.luxcorerender.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=U3dreal"/>
	<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/Special:Contributions/U3dreal"/>
	<updated>2026-05-08T22:46:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1800</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1800"/>
		<updated>2021-09-14T00:32:41Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* macOS 11+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== macOS 11+ ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
&lt;br /&gt;
patch needed&lt;br /&gt;
###################&lt;br /&gt;
&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
#####normal####&lt;br /&gt;
pip install numpy&lt;br /&gt;
#####BigSur####&lt;br /&gt;
Download wheel from here https://files.pythonhosted.org/packages/46/09/1bae812d4afa67e365d3d1dbdc0e9071ba7678611f52b49353d6104ae8ff/numpy-1.19.4-cp37-cp37m-macosx_10_9_x86_64.whl&lt;br /&gt;
rename to numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
pip install numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
edit scripts/macos/codesign.sh to match your certificate ( something like A1CD139B9FD66DE9D474D420C1899EA96A622B9A )&lt;br /&gt;
&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1763</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1763"/>
		<updated>2020-12-17T01:12:41Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Make bundle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
&lt;br /&gt;
patch needed&lt;br /&gt;
###################&lt;br /&gt;
&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
#####normal####&lt;br /&gt;
pip install numpy&lt;br /&gt;
#####BigSur####&lt;br /&gt;
Download wheel from here https://files.pythonhosted.org/packages/46/09/1bae812d4afa67e365d3d1dbdc0e9071ba7678611f52b49353d6104ae8ff/numpy-1.19.4-cp37-cp37m-macosx_10_9_x86_64.whl&lt;br /&gt;
rename to numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
pip install numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
edit scripts/macos/codesign.sh to match your certificate ( something like A1CD139B9FD66DE9D474D420C1899EA96A622B9A )&lt;br /&gt;
&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1762</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1762"/>
		<updated>2020-12-17T00:09:40Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
&lt;br /&gt;
patch needed&lt;br /&gt;
###################&lt;br /&gt;
&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
#####normal####&lt;br /&gt;
pip install numpy&lt;br /&gt;
#####BigSur####&lt;br /&gt;
Download wheel from here https://files.pythonhosted.org/packages/46/09/1bae812d4afa67e365d3d1dbdc0e9071ba7678611f52b49353d6104ae8ff/numpy-1.19.4-cp37-cp37m-macosx_10_9_x86_64.whl&lt;br /&gt;
rename to numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
pip install numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1761</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1761"/>
		<updated>2020-12-17T00:09:01Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
&lt;br /&gt;
patch needed&lt;br /&gt;
###################&lt;br /&gt;
&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
#####normal####&lt;br /&gt;
pip install numpy&lt;br /&gt;
#####BigSur####&lt;br /&gt;
Download wheel from here https://files.pythonhosted.org/packages/46/09/1bae812d4afa67e365d3d1dbdc0e9071ba7678611f52b49353d6104ae8ff/numpy-1.19.4-cp37-cp37m-macosx_10_9_x86_64.whl&lt;br /&gt;
rename to numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
and install with &lt;br /&gt;
pip install numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1760</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1760"/>
		<updated>2020-12-17T00:08:35Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
###################&lt;br /&gt;
&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
#####normal####&lt;br /&gt;
pip install numpy&lt;br /&gt;
#####BigSur####&lt;br /&gt;
Download wheel from here https://files.pythonhosted.org/packages/46/09/1bae812d4afa67e365d3d1dbdc0e9071ba7678611f52b49353d6104ae8ff/numpy-1.19.4-cp37-cp37m-macosx_10_9_x86_64.whl&lt;br /&gt;
rename to numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
and install with &lt;br /&gt;
pip install numpy-1.19.4-cp37-cp37m-macosx_11_0_x86_64.whl&lt;br /&gt;
&lt;br /&gt;
####################&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1759</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1759"/>
		<updated>2020-12-16T22:22:39Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc slib bzip2 jpeg&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
#####before BigSur####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
#####For BigSur#####&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; CFLAGS=&amp;quot;-I$(brew --prefix openssl)/include -I$(brew --prefix bzip2)/include -I$(brew --prefix readline)/include -I$(xcrun --show-sdk-path)/usr/include&amp;quot; LDFLAGS=&amp;quot;-L$(brew --prefix openssl)/lib -L$(brew --prefix readline)/lib -L$(brew --prefix zlib)/lib -L$(brew --prefix bzip2)/lib&amp;quot; pyenv install --patch 3.7.4 &amp;lt; &amp;lt;(curl -sSL https://github.com/python/cpython/commit/8ea6353.patch\?full_index\=1)&lt;br /&gt;
###################&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install --upgrade pip&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1758</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1758"/>
		<updated>2020-12-16T22:19:15Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Xcode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1757</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1757"/>
		<updated>2020-12-16T22:18:55Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* cmake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1675</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1675"/>
		<updated>2020-05-12T11:44:14Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1674</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1674"/>
		<updated>2020-05-12T11:43:57Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1673</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1673"/>
		<updated>2020-05-12T11:42:52Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&amp;lt;pre&amp;gt;https://developer.nvidia.com/cuda-10.1-download-archive-base?target_os=MacOSX&amp;amp;target_arch=x86_64&amp;amp;target_version=1013&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1672</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1672"/>
		<updated>2020-05-12T11:41:51Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Compile Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1671</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1671"/>
		<updated>2020-05-12T11:41:32Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Compile Dependencies */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
For CUDA builds on MacOS 10.13 only install cuda toolkit.&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1670</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1670"/>
		<updated>2020-05-12T11:40:30Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Xcode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1669</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1669"/>
		<updated>2020-05-12T11:40:07Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* cmake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1668</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1668"/>
		<updated>2020-05-12T11:39:37Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* cmake */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
use &lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_DISABLE_OPENCL=1&amp;lt;/pre&amp;gt; for non OpenCL build&lt;br /&gt;
and&lt;br /&gt;
&amp;lt;pre&amp;gt;-DLUXRAYS_ENABLE_OPENCL=1 -DLUXRAYS_ENABLE_CUDA=1&amp;lt;/pre&amp;gt;&lt;br /&gt;
for CUDA builds.( 10.13 HighSierra only )&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1667</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1667"/>
		<updated>2020-05-12T11:35:10Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Make bundle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
or for XCode build&lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx_xcode.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1666</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1666"/>
		<updated>2020-05-12T11:33:55Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Make bundle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
from LuxCore root.&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1665</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1665"/>
		<updated>2020-05-12T11:33:24Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Make bundle */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
run &lt;br /&gt;
&amp;lt;pre&amp;gt;./scripts/macos/pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1664</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1664"/>
		<updated>2020-05-12T11:31:12Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Compile LuxCore */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1647</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1647"/>
		<updated>2020-04-13T15:52:49Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake ispc&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1636</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1636"/>
		<updated>2020-03-29T14:52:39Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf automake&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1635</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1635"/>
		<updated>2020-03-29T14:10:47Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar xz libtool autoconf&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1634</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1634"/>
		<updated>2020-03-29T13:51:10Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar libtool autoconf&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
pyenv init&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1633</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1633"/>
		<updated>2020-03-29T02:09:23Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar libtool autoconf&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”.&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1632</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1632"/>
		<updated>2020-03-29T01:00:27Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Install  build environment */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt install git&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
./first_run.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd target-64-sse2/LuxCore-opencl/&lt;br /&gt;
./luxcoreui ./scenes/cornell/cornell.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore-opencl 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore-opencl&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore-opencl/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore-opencl/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison gnu-sed gnu-tar libtool&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-sed/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
PATH=&amp;quot;/usr/local/opt/gnu-tar/libexec/gnubin:$PATH&amp;quot;&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”.&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1616</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1616"/>
		<updated>2020-03-22T17:33:49Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: /* Compile LuxCore */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Download Static compilation scripts&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
&lt;br /&gt;
# Download LuxCore sources&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
&lt;br /&gt;
# Start build script, pass the path to the LuxCore sources as first argument&lt;br /&gt;
# This will take a very long time on the first run because it needs to compile all dependencies&lt;br /&gt;
./build-64-sse2 LuxCore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
./bin/luxcoreui ./scenes/luxball/luxball-hdr.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”.&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
==== cmake ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Xcode ====&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -G Xcode -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open Xcode project and compile.&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1615</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1615"/>
		<updated>2020-03-22T10:23:22Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Download Static compilation scripts&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
&lt;br /&gt;
# Download LuxCore sources&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
&lt;br /&gt;
# Start build script, pass the path to the LuxCore sources as first argument&lt;br /&gt;
# This will take a very long time on the first run because it needs to compile all dependencies&lt;br /&gt;
./build-64-sse2 LuxCore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
./bin/luxcoreui ./scenes/luxball/luxball-hdr.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”.&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a MacDistFiles.tar.gz .&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy MacDistFiles.tar.gz to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make bundle ===&lt;br /&gt;
&lt;br /&gt;
now create a text file in LuxCore root dir ... like &amp;quot;pack_lux_osx.sh&amp;quot;. paste this to the text file and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1614</id>
		<title>Building LuxCoreRender (legacy)</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Building_LuxCoreRender_(legacy)&amp;diff=1614"/>
		<updated>2020-03-22T10:17:14Z</updated>

		<summary type="html">&lt;p&gt;U3dreal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Windows ==&lt;br /&gt;
&lt;br /&gt;
See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile&lt;br /&gt;
&lt;br /&gt;
== Linux == &lt;br /&gt;
&lt;br /&gt;
=== Static link environment ===&lt;br /&gt;
&lt;br /&gt;
A static link environment is used to create binaries for releases. &lt;br /&gt;
Most libraries that LuxCore depends on are embedded into the LuxCore executables.&lt;br /&gt;
&lt;br /&gt;
==== First Run ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Download Static compilation scripts&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LinuxCompile.git&lt;br /&gt;
cd LinuxCompile&lt;br /&gt;
&lt;br /&gt;
# Download LuxCore sources&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
&lt;br /&gt;
# Start build script, pass the path to the LuxCore sources as first argument&lt;br /&gt;
# This will take a very long time on the first run because it needs to compile all dependencies&lt;br /&gt;
./build-64-sse2 LuxCore&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test LuxCoreUI, you can now start it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
./bin/luxcoreui ./scenes/luxball/luxball-hdr.cfg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Updating ====&lt;br /&gt;
&lt;br /&gt;
To update to the latest sources, use standard git commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
git pull&lt;br /&gt;
# Go back to LinuxCompile folder and compile&lt;br /&gt;
cd ..&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Recompiling ====&lt;br /&gt;
&lt;br /&gt;
In case you update the LuxCore repository (by using git pull), re-run the last stage (5) of the build script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./build-64-sse2 LuxCore 5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case you edit any source files and want to recompile quickly, go to the LuxCore sources directory and run make:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd LuxCore&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
(-j&amp;lt;n&amp;gt; specifies number of threads for the compilation process)&lt;br /&gt;
&lt;br /&gt;
The compiled binaries are in LuxCore/bin/, the compiled libraries (e.g. pyluxcore.so) are in LuxCore/lib/&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 14.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip&lt;br /&gt;
&lt;br /&gt;
# Compile Boost&lt;br /&gt;
wget https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.gz&lt;br /&gt;
tar zxvf boost_1_56_0.tar.gz&lt;br /&gt;
cd boost_1_56_0&lt;br /&gt;
./bootstrap.sh --with-python=/usr/bin/python3&lt;br /&gt;
./b2 -j 8 install --prefix=`pwd`/../boost_1_56_0-bin&lt;br /&gt;
cd ..&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/boost_1_56_0-bin/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
cmake -D BOOST_SEARCH_PATH=`pwd`/../boost_1_56_0-bin -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.4m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.4m -DPYTHON_INCLUDE_DIR2=/usr/include/python3.4m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Ubuntu 16.04 LTS (Dynamic linking) ===&lt;br /&gt;
&lt;br /&gt;
Dynamic link builds are only used for developing/debugging, not for release builds.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Install deps&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install git cmake g++ flex bison libbz2-dev libopenimageio-dev libtiff5-dev libpng12-dev libgtk-3-dev libopenexr-dev libgl1-mesa-dev python3-dev python3-pip libboost-all-dev&lt;br /&gt;
&lt;br /&gt;
# Install Embree&lt;br /&gt;
wget https://github.com/embree/embree/releases/download/v2.17.1/embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
tar zxvf embree-2.17.1.x86_64.linux.tar.gz&lt;br /&gt;
export LD_LIBRARY_PATH=`pwd`/embree-2.17.1.x86_64.linux/lib:$LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
# Install Pillow&lt;br /&gt;
sudo pip3 install pillow&lt;br /&gt;
&lt;br /&gt;
# To have Python v3.x in pyluxcore.so&lt;br /&gt;
sudo rm /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py35.so /usr/lib/x86_64-linux-gnu/libboost_python.so&lt;br /&gt;
&lt;br /&gt;
# Compile LuxCore&lt;br /&gt;
git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&lt;br /&gt;
export CMAKE_PREFIX_PATH=/usr/lib/x86_64-linux-gnu:/usr/include/x86_64-linux-gnu&lt;br /&gt;
cmake -D EMBREE_SEARCH_PATH=`pwd`/../embree-2.17.1.x86_64.linux -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.5m.so -DPYTHON_INCLUDE_DIR=/usr/include/python3.5m .&lt;br /&gt;
make -j 8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== MacOs 10.13 + ==&lt;br /&gt;
&lt;br /&gt;
=== Install  build environment ===&lt;br /&gt;
&lt;br /&gt;
Install latest Xcode and Command Line Tools for your OS version.&lt;br /&gt;
&lt;br /&gt;
Install Homebrew&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;pre&amp;gt;/usr/bin/ruby -e &amp;quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&amp;quot;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install brew stuff and python3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;brew install pyenv cmake bison&lt;br /&gt;
eval &amp;quot;$(pyenv init -)”.&lt;br /&gt;
env PYTHON_CONFIGURE_OPTS=&amp;quot;--enable-framework&amp;quot; pyenv install 3.7.4&lt;br /&gt;
pyenv global 3.7.4&lt;br /&gt;
pip install numpy&lt;br /&gt;
pip install pillow&lt;br /&gt;
pip install pyside2&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Compile Dependencies ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;pyenv shell 3.7.4&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/LuxCoreRender/MacOSCompileDeps.git&lt;br /&gt;
cd MacOSCompileDeps&lt;br /&gt;
./cut_deps_release&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will leave you with a .tar of the Dependencies.&lt;br /&gt;
&lt;br /&gt;
=== Compile LuxCore ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;git clone https://github.com/LuxCoreRender/LuxCore.git&lt;br /&gt;
cd LuxCore&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy .tar to LuxCore root and unpack. Just double-click. or &lt;br /&gt;
&amp;lt;pre&amp;gt;tar xzf MacDistFiles.tar.gz&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
change&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;SET(AZURE 1) # Set 0 when compiled locally and not on azure&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to &amp;quot;0&amp;quot; in cmake/PlatformSpecific.cmake&lt;br /&gt;
&lt;br /&gt;
Now do&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=&amp;quot;/usr/local/opt/bison/bin:/usr/local/bin:$PATH&amp;quot;&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
mkdir build&lt;br /&gt;
cd  build&lt;br /&gt;
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..&lt;br /&gt;
make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
now copy paste this to a text file ... like &amp;quot;pack_lux_osx.sh&amp;quot; and save it. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
DEPS_SOURCE=`pwd`/macos&lt;br /&gt;
&lt;br /&gt;
### packing opencl version&lt;br /&gt;
&lt;br /&gt;
mkdir release_OSX&lt;br /&gt;
&lt;br /&gt;
###luxcoreui bundle&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Bundeling OpenCL Version&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cp -R macos/mac_bundle/LuxCore.app release_OSX&lt;br /&gt;
cp build/Release/luxcoreui release_OSX/LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
cd release_OSX&lt;br /&gt;
&lt;br /&gt;
mkdir -p LuxCore.app/Contents/Resources/libs/&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/Resources/libs/libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/Resources/libs/libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/Resources/libs/libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
chmod +w LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/Resources/libs/libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#luxcoreui&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib LuxCore.app/Contents/MacOS/luxcoreui&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreUi installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
###luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
cp ../build/Release/luxcoreconsole LuxCore.app/Contents/MacOS&lt;br /&gt;
&lt;br /&gt;
#luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @executable_path/../Resources/libs/libomp.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @executable_path/../Resources/libs/libembree3.3.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/../Resources/libs/libtbb.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @executable_path/../Resources/libs/libOpenImageIO.1.8.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/../Resources/libs/libtbbmalloc.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @executable_path/../Resources/libs/libtiff.5.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/../Resources/libs/libOpenImageDenoise.1.0.0.dylib ./LuxCore.app/Contents/MacOS/luxcoreconsole&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;LuxCoreConsole installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
mkdir pyluxcore&lt;br /&gt;
&lt;br /&gt;
cp ../build/lib/Release/pyluxcore.so pyluxcore&lt;br /&gt;
cp ../build/lib/pyluxcoretools.zip pyluxcore&lt;br /&gt;
&lt;br /&gt;
cd pyluxcore&lt;br /&gt;
&lt;br /&gt;
#libomp&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libomp.dylib ./libomp.dylib&lt;br /&gt;
chmod +w ./libomp.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libomp.dylib ./libomp.dylib&lt;br /&gt;
&lt;br /&gt;
#libembree &lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
chmod +w ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libembree3.3.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libembree3.3.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libembree3.3.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbb&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
chmod +w ./libtbb.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbb.dylib ./libtbb.dylib&lt;br /&gt;
&lt;br /&gt;
#libtiff&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
chmod +w ./libtiff.5.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtiff.5.dylib ./libtiff.5.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageIO&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
chmod +w ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageIO.1.8.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib ./libOpenImageIO.1.8.dylib&lt;br /&gt;
&lt;br /&gt;
#libtbbmalloc&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
chmod +w ./libtbbmalloc.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libtbbmalloc.dylib ./libtbbmalloc.dylib&lt;br /&gt;
&lt;br /&gt;
#libOpenImageDenoise&lt;br /&gt;
&lt;br /&gt;
cp -f $DEPS_SOURCE/lib/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
chmod +w ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -id @loader_path/libOpenImageDenoise.1.0.0.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib ./libOpenImageDenoise.1.0.0.dylib&lt;br /&gt;
&lt;br /&gt;
#pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
install_name_tool -change @rpath/libomp.dylib @loader_path/libomp.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libembree3.3.dylib @loader_path/libembree3.3.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @loader_path/libtbb.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtiff.5.dylib @loader_path/libtiff.5.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageIO.1.8.dylib @loader_path/libOpenImageIO.1.8.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @loader_path/libtbbmalloc.dylib pyluxcore.so&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @loader_path/libOpenImagedenoise.1.0.0.dylib pyluxcore.so&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;PyLuxCore installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
### denoise&lt;br /&gt;
&lt;br /&gt;
#denoise&lt;br /&gt;
cp ../../macos/bin/denoise .&lt;br /&gt;
chmod +w ./denoise&lt;br /&gt;
install_name_tool -id @executable_path/denoise ./denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libOpenImageDenoise.1.0.0.dylib @executable_path/libOpenImageDenoise.1.0.0.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbb.dylib @executable_path/libtbb.dylib denoise&lt;br /&gt;
install_name_tool -change @rpath/libtbbmalloc.dylib @executable_path/libtbbmalloc.dylib denoise&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Denoise installed&amp;quot;&lt;br /&gt;
&lt;br /&gt;
cd ../..&lt;br /&gt;
&lt;br /&gt;
# Set up correct names for release version and SDK&lt;br /&gt;
if [[ -z &amp;quot;$VERSION_STRING&amp;quot; ]] ; then&lt;br /&gt;
    VERSION_STRING=latest&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
### creating opencl DMG&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Creating OpenCL Version DMG ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
hdiutil create luxcorerender-$VERSION_STRING-mac64$SDK_BUILD.dmg -volname &amp;quot;LuxCoreRender-$VERSION_STRING&amp;quot; -fs HFS+ -srcfolder release_OSX/&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;Done !&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do &amp;lt;pre&amp;gt;chmod +x pack_lux_osx.sh&amp;lt;/pre&amp;gt; and run it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;./pack_lux_osx.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This should end up with a distributable .dmg.&lt;br /&gt;
&lt;br /&gt;
Have fun and good luck.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contributing == &lt;br /&gt;
&lt;br /&gt;
If you want to contribute to LuxCore development or just submit a quick patch, the easiest way to start is to fork the repository on github.&amp;lt;br&amp;gt;&lt;br /&gt;
You can then edit your fork, commit your changes and [https://help.github.com/articles/creating-a-pull-request-from-a-fork/ send us a pull request].&amp;lt;br&amp;gt;&lt;br /&gt;
If you continue to contribute, we will eventually give you direct access to the repositories.&lt;/div&gt;</summary>
		<author><name>U3dreal</name></author>
	</entry>
</feed>