Hi,
First time xfemm user. I tried to set up the matlab interface to xfemm by running mfemm_setup(). It started compiling nicely (see below) but then I got an error
>> mfemm_setup()
mex -c -O -D_GLIBCXX_USE_CXX11_ABI=1 -I"../cfemm/fmesher" -I"../cfemm/fmesher/triangle" -I"../cfemm/libfemm" -I"../cfemm/libfemm/liblua" -DCPU86 -DNDEBUG GCC="$GCC" OPTIMFLAGS="" CXXFLAGS="$CXXFLAGS -std=c++11 -fpermissive" LDFLAGS="$LDFLAGS -static-libstdc++ '-Wl,--no-undefined'" C:\Users\hp\Downloads\xfemm-master\xfemm-master\mfemm\..\cfemm\libfemm\liblua\femmcomplex.cpp -outdir C:\Users\hp\Downloads\xfemm-master\xfemm-master\mfemm\..\cfemm\libfemm\liblua
Building with 'MinGW64 Compiler (C++)'.
MEX completed successfully.
... on and on until I got the following error
mex -c -O -D_GLIBCXX_USE_CXX11_ABI=1 -I"../cfemm/fmesher" -I"../cfemm/fmesher/triangle" -I"../cfemm/libfemm" -I"../cfemm/libfemm/liblua" -DCPU86 -DNDEBUG GCC="$GCC" OPTIMFLAGS="" CXXFLAGS="$CXXFLAGS -std=c++11 -fpermissive" LDFLAGS="$LDFLAGS -static-libstdc++ '-Wl,--no-undefined'" C:\Users\hp\Downloads\xfemm-master\xfemm-master\mfemm\..\cfemm\libfemm\femmversion.cpp -outdir C:\Users\hp\Downloads\xfemm-master\xfemm-master\mfemm\..\cfemm\libfemm
Building with 'MinGW64 Compiler (C++)'.
Error using mex
C:\Users\hp\Downloads\xfemm-master\xfemm-master\cfemm\libfemm\femmversion.cpp:1:25: fatal error: femmversion.h: No such file or directory
#include "femmversion.h"
when I looked in C:\Users\hp\Downloads\xfemm-master\xfemm-master\cfemm\libfemm I saw that the file was actually called femmversion.h.in ? I tried to rename it to simply femmversion.h and ran again mfemm_setup but then got this issue (only pasting below the beginning of the error:
Error using mex
In file included from C:\Users\hp\Downloads\xfemm-master\xfemm-master\cfemm\libfemm\LuaInstance.cpp:21:0:
C:\Users\hp\Downloads\xfemm-master\xfemm-master\cfemm\libfemm\femmversion.h:21:28: error: stray '@' in program
#define FEMM_VERSION_MAJOR @XFEMM_VERSION_MAJOR@
I'm a bit stuck with that, would appreciate a hand.
Thanks
Hi,
First time xfemm user. I tried to set up the matlab interface to xfemm by running mfemm_setup(). It started compiling nicely (see below) but then I got an error
>> mfemm_setup()... on and on until I got the following error
when I looked in C:\Users\hp\Downloads\xfemm-master\xfemm-master\cfemm\libfemm I saw that the file was actually called femmversion.h.in ? I tried to rename it to simply femmversion.h and ran again mfemm_setup but then got this issue (only pasting below the beginning of the error:
I'm a bit stuck with that, would appreciate a hand.
Thanks