<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.luxcorerender.org/index.php?action=history&amp;feed=atom&amp;title=Compiling_LuxCore_%28legacy%29</id>
	<title>Compiling LuxCore (legacy) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.luxcorerender.org/index.php?action=history&amp;feed=atom&amp;title=Compiling_LuxCore_%28legacy%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Compiling_LuxCore_(legacy)&amp;action=history"/>
	<updated>2026-04-17T14:19:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Compiling_LuxCore_(legacy)&amp;diff=1816&amp;oldid=prev</id>
		<title>CodeHD at 22:26, 10 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Compiling_LuxCore_(legacy)&amp;diff=1816&amp;oldid=prev"/>
		<updated>2025-04-10T22:26:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:26, 11 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__TOC__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;b&amp;gt;Note: This version of the guide applied to LuxCore version 2.6 and below.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;For instructions for the latest version, please see the page [[Compiling LuxCore]].&amp;lt;/b&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Windows ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Windows ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CodeHD</name></author>
	</entry>
	<entry>
		<id>https://wiki.luxcorerender.org/index.php?title=Compiling_LuxCore_(legacy)&amp;diff=1815&amp;oldid=prev</id>
		<title>CodeHD: Created page with &quot;== Windows ==  See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile  == Linux ==   === Static link environment ===  A static link environment is used to create binaries for releases.  Most libraries that LuxCore depends on are embedded into the LuxCore executables.  ==== First Run ====  On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:  &lt;pre&gt; sudo apt install git git clone https://github.com/LuxCoreRender/LinuxComp...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.luxcorerender.org/index.php?title=Compiling_LuxCore_(legacy)&amp;diff=1815&amp;oldid=prev"/>
		<updated>2025-04-10T22:24:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Windows ==  See the Readme file here: https://github.com/LuxCoreRender/WindowsCompile  == Linux ==   === Static link environment ===  A static link environment is used to create binaries for releases.  Most libraries that LuxCore depends on are embedded into the LuxCore executables.  ==== First Run ====  On a recent Ubuntu (e.g. 19.10), you can compile LuxCore with the following commands:  &amp;lt;pre&amp;gt; sudo apt install git git clone https://github.com/LuxCoreRender/LinuxComp...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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;
&amp;#039;&amp;#039;&amp;#039;NOTE: Default Boost version in Ubuntu 16.04LTS is v1.58. Any serialization related feature will not work with standard version v1.56.&amp;#039;&amp;#039;&amp;#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>CodeHD</name></author>
	</entry>
</feed>