Page 2 of 3

Re: HOWTO - compile on OSX 2020

Posted: Fri Jan 31, 2020 3:39 pm
by Ahr0n
Thank you. Almost done but there is one issue with the last step. I am in LuxCore folder, I do chmod +x pack_lux_osx.sh and then ./pack_lux_osx.sh but this happens:

Code: Select all

./pack_lux_osx.sh: line 1: {rtf1ansiansicpg1250cocoartf1671cocoasubrtf600: command not found
./pack_lux_osx.sh: line 2: syntax error near unexpected token `}'
./pack_lux_osx.sh: line 2: `{\fonttbl\f0\fnil\fcharset0 Monaco;}'
So this is the last step but I had one issue after changing the AZURE to 0. I mean this step:

Code: Select all

export PATH="/usr/local/opt/bison/bin:/usr/local/bin:$PATH"
DEPS_SOURCE=`pwd`/macos

mkdir build
cd  build
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..
make
Everything's okay but the last command - make doesn't make anything and I get an info:

Code: Select all

imac-marcin:build Martin$ make
make: *** No targets specified and no makefile found.  Stop.
So two questions: How can I solve first and second issue?

Re: HOWTO - compile on OSX 2020

Posted: Sat Feb 01, 2020 3:46 pm
by u3dreal
Ahr0n wrote: Fri Jan 31, 2020 3:39 pm Thank you. Almost done but there is one issue with the last step. I am in LuxCore folder, I do chmod +x pack_lux_osx.sh and then ./pack_lux_osx.sh but this happens:

Code: Select all

./pack_lux_osx.sh: line 1: {rtf1ansiansicpg1250cocoartf1671cocoasubrtf600: command not found
./pack_lux_osx.sh: line 2: syntax error near unexpected token `}'
./pack_lux_osx.sh: line 2: `{\fonttbl\f0\fnil\fcharset0 Monaco;}'
So this is the last step but I had one issue after changing the AZURE to 0. I mean this step:

Code: Select all

export PATH="/usr/local/opt/bison/bin:/usr/local/bin:$PATH"
DEPS_SOURCE=`pwd`/macos

mkdir build
cd  build
cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..
make
Everything's okay but the last command - make doesn't make anything and I get an info:

Code: Select all

imac-marcin:build Martin$ make
make: *** No targets specified and no makefile found.  Stop.
So two questions: How can I solve first and second issue?
1. looks like you copied too much here ... just the green text ....it should start with "#!/bin/bash"
2. you did something wrong there is nothing to make in the "build" dir so i guess you forgot the ".." with the cmake command

Code: Select all

cmake -DOSX_DEPENDENCY_ROOT=$DEPS_SOURCE -DCMAKE_BUILD_TYPE=Release ..

Re: HOWTO - compile on OSX 2020

Posted: Sat Feb 01, 2020 4:24 pm
by Fox
If Mac tutor is done, then Linux next plz :)

Re: HOWTO - compile on OSX 2020

Posted: Sat Feb 01, 2020 11:27 pm
by u3dreal
Fox wrote: Sat Feb 01, 2020 4:24 pm If Mac tutor is done, then Linux next plz :)
https://wiki.luxcorerender.org/Compiling_LuxCore

Have a look here

Re: HOWTO - compile on OSX 2020

Posted: Sun Feb 02, 2020 12:00 am
by Fox
u3dreal wrote: Sat Feb 01, 2020 11:27 pm
Fox wrote: Sat Feb 01, 2020 4:24 pm If Mac tutor is done, then Linux next plz :)
https://wiki.luxcorerender.org/Compiling_LuxCore

Have a look here
When i run ./build-64-sse2 it gets stuck at finding python and opencl :roll:

Re: HOWTO - compile on OSX 2020

Posted: Sun Feb 02, 2020 12:06 am
by u3dreal
plz open a new thread ... this is OSX

Re: HOWTO - compile on OSX 2020

Posted: Sun Feb 02, 2020 12:33 am
by Fox
u3dreal wrote: Sun Feb 02, 2020 12:06 am plz open a new thread ... this is OSX
Sure. I will do it later, i have long border render going and can't log off windows right now to play with Linux. Maybe week or so.

Re: HOWTO - compile on OSX 2020

Posted: Thu Feb 06, 2020 11:23 pm
by Sharlybg
A friend of mine is trying to install the lastest blendluxcore for Mac but it is craching evrytime at installation :

This build : https://github.com/LuxCoreRender/BlendL ... _v2.3beta1

Sys / Mac Pro 2013 and os 10.14.6 both blender 2.81 and 2.82 craShing on install.

When he try to enable addon after installation it crash. Blender close itself when you try to enable the addon.

Re: HOWTO - compile on OSX 2020

Posted: Fri Feb 07, 2020 4:08 pm
by u3dreal
Yes will have to invest a little more i guess.

Have not been able to reproduce the problem on Mojave :|

Re: HOWTO - compile on OSX 2020

Posted: Sun Mar 22, 2020 10:25 am
by u3dreal
This updated guide can now be found here

https://wiki.luxcorerender.org/Compiling_LuxCore