View Single Post
Old 16th June 2018, 13:18   #27  |  Link
l33tmeatwad
Registered User
 
l33tmeatwad's Avatar
 
Join Date: Jun 2007
Posts: 414
Quote:
Originally Posted by jackoneill View Post
1. As of today, if you compile MVTools from git, you can pass -static-libstdc++ -static-libgcc so you don't have to worry about shipping those libraries.

If using the latest meson from git:
Code:
mkdir build; cd build
meson ../ -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
If using meson 0.46.x it's a bit different due to a bug:
Code:
mkdir build; cd build
meson ../
meson configure -Dcpp_link_args="-static-libstdc++ -static-libgcc"
ninja
(libtool would strip these from LDFLAGS so you have to use meson.)

2. I don't use anything fancier than C++11, so Apple's clang compiler should be able to compile MVTools. What errors do you get?
MVtools is fine for those libs, the fftw dependency was the one they were missing. FFT3DFilter is the one they needed the gcc libs for as it has c++17 code.

Last edited by l33tmeatwad; 16th June 2018 at 13:21.
l33tmeatwad is offline   Reply With Quote