-
Hi! Is it possible to build SPlisHSPlasH as dll and call it to stars simulation from another project? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I never tried to build it as DLL. You can try to switch to "SHARED" in the CMake files to see if that works. |
Beta Was this translation helpful? Give feedback.
-
Thaks!
and others... OK. I think there is no simple way. I try to find a way to use SPlisHSPlasH with Julia, so potentially shared library can be used with Julia with CxxWrap.jl or something else... |
Beta Was this translation helpful? Give feedback.
-
It is not a problem to build as a shared library on linux. On windows however this is unfortunately not directly possible. See my answer here #48 (comment) . TL;DR on windows it's not directly possible to build splishsplash as a shared library because all symbols have to be declared for export "manually". |
Beta Was this translation helpful? Give feedback.
I never tried to build it as DLL. You can try to switch to "SHARED" in the CMake files to see if that works.