LuxCore static on macOS .. finally

Discussion related to the LuxCore functionality, implementations and API.
Post Reply
User avatar
u3dreal
Developer
Posts: 525
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

LuxCore static on macOS .. finally

Post by u3dreal » Tue Sep 14, 2021 4:44 pm

So finally i managed to compile almost static on osx. Everything exept tbb embree and nvida libs is static now.

Tbb is not supposed to be static i read and i get crashes with embree static on my Xenon.
In the Linux release i see that also OIIO is dynamic and i wonder if there is a particular reason for that.?
I get a warning ...

Code: Select all

ld: warning: direct access in function '___cxx_global_var_init.8' from file '../../lib/Release/libslg-core.a(texture.cpp.o)' to global weak symbol 'fmt::v7::detail::basic_data<void>::dragonbox_pow10_significands_128' from file '../../../macos/lib/libOpenImageIO.a(ustring.cpp.o)' means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
I wonder if this could be a problem in future. @Dade @acasta69
So far all seems to work fine.

I will update the repo and the scripts .. but still would like to stick with 10.13 as build target since if not we would lock out nvidia functionaltity on osx. Also i think at some day it will be dropped. maybe 2.7 :?

Hmm now it should be rather possible to build the SDK for osx .. or should absolutely all libs be static then.

So long
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - High Sierra
Xeon X5650@4Ghz, RX 5700 - BigSur / Catalina / High Sierra, Windows 10, Ubuntu 18.04

Post Reply