[Bf-cycles] building Cycles on Mac with C++11 features

Jens Vewrwiebe info at jensverwiebe.de
Wed Mar 9 15:28:27 CET 2016


Correction: build not with hidden visibility for blender afaik:

#!/bin/sh

# build
./bootstrap.sh
./bjam -j8 variant=release cxxflags='-mmacosx-version-min=10.7 
-std=c++11 -stdlib=libc++' link=static threading=multi architecture=x86 
address-model=64 --macosx-version=10.11 --macosx-version-min=10.7 
--with-filesystem --with-thread --with-regex --with-system 
--with-date_time --with-wave --with-iostreams --with-python 
--with-program_options --with-serialization --with-locale stage -a

# copy files
cp -rf stage/lib  ../
mkdir -p ../include
cp -r boost ../include/

etc...etc.....

Am 09.03.2016 um 15:26 schrieb Jens Vewrwiebe:
> #!/bin/sh
>
> # build
> ./bootstrap.sh
> ./bjam -j8 variant=release cxxflags='-fvisibility=hidden 
> -fvisibility-inlines-hidden -mmacosx-version-min=10.7 -std=c++11 
> -stdlib=libc++' link=static threading=multi architecture=x86 
> address-model=32_64 --macosx-version=10.11 --macosx-version-min=10.7 
> --with-filesystem --with-thread --with-regex --with-system 
> --with-date_time --with-wave --with-iostreams --with-python 
> --with-program_options --with-serialization --with-locale stage -a
>
> # copy files
> cp -rf stage/lib  ../
> mkdir -p ../include
> cp -r boost ../include/
>
> etc..etc
>
> Am 09.03.2016 um 14:24 schrieb Mohamed Sakr:
>> Hi,
>>
>> I got problems building Cycles on Mac "with the provided libs" with 
>> C++11 features.
>> the reason is Boost is buggy, and I need to use STL function bind 
>> stuff instead of Boost.
>>
>> any ideas?
>> cheers,
>> Mohamed Sakr
>>
>>
>> _______________________________________________
>> Bf-cycles mailing list
>> Bf-cycles at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-cycles
>
> -- 
>
> Jens Verwiebe
> Allerskehre 44 - 22309 Hamburg
>
> Tel.: +49 40 67 78 50
> mobile: +49 172 400 49 07
> mailto:info at jensverwiebe.de
> web:http://www.jensverwiebe.de
>
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles

-- 

Jens Verwiebe
Allerskehre 44 - 22309 Hamburg

Tel.: +49 40 67 78 50
mobile: +49 172 400 49 07
mailto: info at jensverwiebe.de
web: http://www.jensverwiebe.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20160309/63c837ec/attachment.htm 


More information about the Bf-cycles mailing list