CAMFR icon indicating copy to clipboard operation
CAMFR copied to clipboard

Create statically-linked version for MacOS Installer

Open demisjohn opened this issue 6 years ago • 1 comments

From @demisjohn on February 28, 2018 8:17

Current implementation requires the user to build/install many MacPorts packages. For example, boost-python-mt.dylib must be found at /opt/local/lib/libboost_python-mt.dylibin order for python to load_camfr.so` properly.

Would prefer to statically link these libraries, so that _camfr.so contains the required libs, allowing for a MacOS "installer" to simply put the camfr/ module folder into the system site-packages and it works, without the user needing to install anything on macports. Also, link against any MacOS dynamic system libraries, or else build them into the module statically.

How do you write setup.py to do that?

demisjohn avatar Apr 11 '18 04:04 demisjohn

Need to install the -static versions of each dependency from MacPorts. Not sure they all have that variant ready to go.

demisjohn avatar Apr 11 '18 04:04 demisjohn