0
I Use This!
Activity Not Available

News

Analyzed over 1 year ago. based on code collected over 2 years ago.
Posted about 5 years ago by Maxwell McMaxy
Well, I got it all to compile. It was a massive pain. I modified several include directives and compilation options as described above (trivial modifications, I suspect) but also commmented out a couple of FPU-related lines (potentially more ... [More] consequential?) since Apple purportedly does not support the setting of FPU flags. I've attached my whole build directory (which includes the binaries) here. I was talking to myself on this forum - perhaps there isn't a lot of Mac interest here - but I thought... [Less]
Posted about 5 years ago by Robert
Almost forgot to mention that the very first issue I had was with sincos when compiling femmcomplex.cpp: Error using mex /Users/rapmaster/Documents/MATLAB/xfemm_linux64/mfemm/../cfemm/libfemm/liblua/femmcomplex.cpp:629:5: error: use of undeclared ... [More] identifier 'sincos'; did you mean '__sincos'? sincos(x.im, &sin_x, &cos_x); __sincos /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:655:29: note: '__sincos' declared here __header_always_inline void __sincos(double __x, double *__sinp,... [Less]
Posted about 5 years ago by Maxwell McMaxy
Almost forgot to mention that the very first issue I had was with sincos when compiling femmcomplex.cpp: Error using mex /Users/rapmaster/Documents/MATLAB/xfemm_linux64/mfemm/../cfemm/libfemm/liblua/femmcomplex.cpp:629:5: error: use of undeclared ... [More] identifier 'sincos'; did you mean '__sincos'? sincos(x.im, &sin_x, &cos_x); __sincos /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:655:29: note: '__sincos' declared here __header_always_inline void __sincos(double __x, double *__sinp,... [Less]
Posted about 5 years ago by Robert
Almost forgot to mention that the very first issue I had was with sincos when compiling femmcomplex.cpp: Error using mex /Users/rapmaster/Documents/MATLAB/xfemm_linux64/mfemm/../cfemm/libfemm/liblua/femmcomplex.cpp:629:5: error: use of undeclared ... [More] identifier 'sincos'; did you mean '__sincos'? sincos(x.im, &sin_x, &cos_x); Quite helpfully, it suggested swapping for a similar function with preceeded by two underscores: __sincos /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:655:29:... [Less]
Posted about 5 years ago by Maxwell McMaxy
Almost forgot to mention that the very first issue I had was with sincos when compiling femmcomplex.cpp: Error using mex /Users/rapmaster/Documents/MATLAB/xfemm_linux64/mfemm/../cfemm/libfemm/liblua/femmcomplex.cpp:629:5: error: use of undeclared ... [More] identifier 'sincos'; did you mean '__sincos'? sincos(x.im, &sin_x, &cos_x); Quite helpfully, it suggested swapping for a similar function with preceeded by two underscores: __sincos /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:655:29:... [Less]
Posted about 5 years ago by Robert
Has anyone had any luck compiling the MATLAB interface on MacOS? I'm not particularly C / C++ / compiler-savvy, so I could really use a hand... if it's even possible to compile for my architecture at all. Clang is the default compiler on MacOS. ... [More] Basically, I'm just trying to run mfemm_setup (release 3_0) to completion. I was able to address a compilation issue with many of the files by changing the include directive for malloc.h to cstdlib. This allowed setup to make progress until it hit mexfmesher.cpp,... [Less]
Posted about 5 years ago by Maxwell McMaxy
Has anyone had any luck compiling the MATLAB interface on MacOS? I'm not particularly C / C++ / compiler-savvy, so I could really use a hand... if it's even possible to compile for my architecture at all. Clang is the default compiler on MacOS. ... [More] Basically, I'm just trying to run mfemm_setup (release 3_0) to completion. I was able to address a compilation issue with many of the files by changing the include directive for malloc.h to cstdlib. This allowed setup to make progress until it hit mexfmesher.cpp,... [Less]
Posted about 5 years ago by Robert
Has anyone had any luck compiling the MATLAB interface on MacOS? I'm not particularly C / C++ / compiler-savvy, so I could really use a hand... if it's even possible to compile for my architecture at all. Clang is the default compiler on MacOS. ... [More] Basically, I'm just trying to run mfemm_setup (release 3_0) to completion. I was able to address a compilation issue with many of the files by changing the include directive for "malloc.h" to [Less]
Posted about 5 years ago by Maxwell McMaxy
Has anyone had any luck compiling the MATLAB interface on MacOS? I'm not particularly C / C++ / compiler-savvy, so I could really use a hand... if it's even possible to compile for my architecture at all. Clang is the default compiler on MacOS. ... [More] Basically, I'm just trying to run mfemm_setup (release 3_0) to completion. I was able to address a compilation issue with many of the files by changing the include directive for "malloc.h" to [Less]
Posted about 5 years ago by Maxwell McMaxy
Has anyone had any luck compiling the MATLAB interface on MacOS? I'm not particularly C/C++ or compiler-savy, so I could really use a hand... if it's even possible to compile for my architecture at all. Clang is the default compiler on MacOS. ... [More] Basically, I'm just trying to run mfemm_setup (release 3_0) to completion. I was able to address a compilation issue with many of the files by changing the include directive for "malloc.h" to [Less]