Is it supposed to work on linux? The make ends with /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dbosl_' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggetrs_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggetrf_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggesvd_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dggeev_not_found' /usr/bin/ld: lib/.libs/libMF.so: undefined reference to `dbofa_'
Thank you, It looks like I could compile it. Testing the dylib now... On 2 Oct 2022, at 23:52, Michael E. Henderson mhender@users.sourceforge.net wrote: Whew. I finally got my Mac set up. Haven't used it in a while and everything was out of date. 8-)} Anyway, I figure out how to get libtool configured correctly. I also took the opportunity to fix all the things -Wall complains about (mostly printing long int with %d, but some non-trivial things). I still have a couple of things I'd like to clean...
Actually, when trying to call it from Julia, I am not sure it worked rveltz$ ls -lsth lib/.libs/ total 40 0 lrwxr-xr-x 1 rveltz staff 13B 26 sep 21:10 libMF.dylib -> libMF.0.dylib 40 -rwxr-xr-x 1 rveltz staff 16K 26 sep 21:10 libMF.0.dylib the make ended with: ./include/MFImplicitMF.h:301:1: warning: '/*' within block comment [-Wcomment] /*! \fn MFImplicitMF MFIMFCreateEdgeIn3SpaceWithRadius(double *o,double *d,double R,MFErrorHandler e); ^ 1 warning generated. /bin/sh ./libtool --tag=CC --mode=link...
Actually, when trying to call it from Julia, I am not sure it worked rveltz$ ls -lsth lib/.libs/ total 40 0 lrwxr-xr-x 1 rveltz staff 13B 26 sep 21:10 libMF.dylib -> libMF.0.dylib 40 -rwxr-xr-x 1 rveltz staff 16K 26 sep 21:10 libMF.0.dylib the make did: ./include/MFImplicitMF.h:301:1: warning: '/*' within block comment [-Wcomment] /*! \fn MFImplicitMF MFIMFCreateEdgeIn3SpaceWithRadius(double *o,double *d,double R,MFErrorHandler e); ^ 1 warning generated. /bin/sh ./libtool --tag=CC --mode=link gcc...
Looks like it worked, thanks a lot
I admit I must be a bit stiff, but your suggestion fails for me multifario-v0.9k rveltz$ gcc -shared -o lib/libMFShared.so src/*.o Undefined symbols for architecture x86_64: "_ECCreateDerivativeOfFunction", referenced from: _MFIMFCreateAlgebraicExpressionWithRadius in MFAlgebraic.o "_ECCreateFunction", referenced from: _MFIMFCreateAlgebraicExpressionWithRadius in MFAlgebraic.o "_ECEvaluateFunction", referenced from: _MFSingularAlgebraic in MFAlgebraic.o _MFProjectAlgebraic in MFAlgebraic.o _MFTangentAlgebraic...
I tried ./configure --enable-shared but I cant get a libMF.so, do you have hint for this noob question? (I am trying to make a wrapper to Julia programming language)
this seems to work make 'CFLAGS=-Wno-return-type -Wno-error=implicit-function-declaration' Thanks a lot