Skip to content

Instantly share code, notes, and snippets.

@amodig
Created October 2, 2014 11:32
Show Gist options
  • Save amodig/a5048ba004b08c09f274 to your computer and use it in GitHub Desktop.
Save amodig/a5048ba004b08c09f274 to your computer and use it in GitHub Desktop.
$ make mex
gfortran -O3 -fPIC -fexceptions -Wall -g -Wno-uninitialized -o solver30.o -c solver30.f
gfortran -O3 -fPIC -fexceptions -Wall -g -Wno-uninitialized -o linpack.o -c linpack.f
gfortran -O3 -fPIC -fexceptions -Wall -g -Wno-uninitialized -o timer.o -c timer.f
gfortran -O3 -fPIC -fexceptions -Wall -g -Wno-uninitialized -o blas.o -c blas.f
gcc-4.7 -O3 -fPIC -pthread -Wall -Werror -ansi -ffast-math -fomit-frame-pointer -I \
-I/home/amodig/MATLAB/R2014a/extern/include -o matlabexception.o -c matlabexception.cpp
gcc-4.7 -O3 -fPIC -pthread -Wall -Werror -ansi -ffast-math -fomit-frame-pointer -I \
-I/home/amodig/MATLAB/R2014a/extern/include -o matlabscalar.o -c matlabscalar.cpp
In file included from matlabscalar.cpp:1:0:
matlabscalar.h:4:17: fatal error: mex.h: No such file or directory
compilation terminated.
make: *** [matlabscalar.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment