Author: Daniel tulips liu
copyright © tulipsliu
matlab C++ compile
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2015 (C)' for C language compilation.
To choose a different C compiler, select one from the following:
MinGW64 Compiler (C) mex -setup:D:\programinstalls\Polyspace\R2020a\bin\win64\mexopts\mingw64.xm l C
Microsoft Visual C++ 2015 (C) mex -setup:C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l C
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
Renamed options file 'C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l' to 'C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64_backup.xm l'.
MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.
>> delete *.mexw64
>> compile_mex_files
Verbose mode is on.
... Looking for compiler 'MinGW64 Compiler (C)' ...
... Looking for environment variable 'MW_MINGW64_LOC' ...Yes ('C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset').
... Looking for file 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc.exe' ...Yes.
... Looking for folder 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset' ...Yes.
Found installed compiler 'MinGW64 Compiler (C)'.
Set PATH = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin;D:\programinstalls\Polyspace\R2020a\extern\include\win64;D:\programinstalls\Polyspace\R2020a\extern\include;D:\programinstalls\Polyspace\R2020a\simulink\include;D:\programinstalls\Polyspace\R2020a\lib\win64;D:\programinstalls\Java\JDK14\bin;";";C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\PSTools;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\CTEX\UserData\miktex\bin;D:\CTEX\MiKTeX\miktex\bin;D:\CTEX\CTeX\ctex\bin;D:\CTEX\CTeX\cct\bin;D:\CTEX\CTeX\ty\bin;D:\CTEX\Ghostsc ript\gs9.05\bin;D:\CTEX\GSview\gsview;";D:\programinstalls\Polyspace\R2020a\runtime\win64;D:\programinstalls\Polyspace\R2020a\bin;D:\programinstalls\MATLAB\R2018b\runtime\win64;D:\programinstalls\MATLAB\R2018b\bin;D:\programinstalls\Polyspace\R2020a\polyspace\bin;C:\Users\tulipsliu\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.5.0\;D:\programinstalls\Git\cmd;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\";";D:\cygwin64\bin";C:\Users\tulipsliu\anaconda3;C:\Users\tulipsliu\anaconda3\Library\mingw-w64\bin;C:\Users\tulipsliu\anaconda3\Library\usr\bin;C:\Users\tulipsliu\anaconda3\Library\bin;C:\Users\tulipsliu\anaconda3\sc ripts;C:\Users\tulipsliu\AppData\Local\Microsoft\WindowsApps;C:\Users\tulipsliu\AppData\Roaming\TinyTeX\bin\win32;
Set INCLUDE = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;
Set LIB = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;
Set MW_TARGET_ARCH = win64;
Set LIBPATH = D:\programinstalls\Polyspace\R2020a\extern\lib\win64;
Options file details
-------------------------------------------------------------------
Compiler location: C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
Options file: C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l
CMDLINE2 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o valXder.mexw64
CC : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
COMPILER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
DEFINES : -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fexceptions -fno-omit-fr ame-pointer
INCLUDE : -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64"
COPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CDEBUGFLAGS : -g
LD : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LINKER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LDTYPE : -shared -static
LDFLAGS : -m64 -Wl,--no-undefined
LINKEXPORT : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
LINKEXPORTVER : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def"
LIBLOC : D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64
LINKLIBS : -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas
LDOPTIMFLAGS : -s
LDDEBUGFLAGS : -g
OBJEXT : .obj
LDEXT : .mexw64
SETENV : set COMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXCOMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set COMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set CXXCOMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -std=c++11 -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set OPTIMFLAGS=-O2 -fwrapv -DNDEBUG
set DEBUGFLAGS=-g
set LINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXLINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set LINKFLAGS=-m64 -Wl,--no-undefined -shared -static -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
set LINKDEBUGFLAGS=-g
set NAME_OUTPUT=-o "%OUTDIR%%MEX_NAME%%MEX_EXT%"
MINGWROOT : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
MATLABROOT : D:\programinstalls\Polyspace\R2020a
ARCH : win64
SRC : "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\valXder.c";"D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c"
OBJ : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj;C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj
OBJS : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj
SRCROOT : E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\valXder
DEF : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.def
EXP : "valXder.exp"
LIB : "valXder.lib"
EXE : valXder.mexw64
ILK : "valXder.ilk"
MANIFEST : "valXder.mexw64.manifest"
TEMPNAME : valXder
EXEDIR :
EXENAME : valXder
COMPFLAGS : -O2 -ftree-vectorize -ftree-vectorize-verbose=7 -fopt-info-missed -Wall
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -s
CMDLINE1_0 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\valXder.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj
CMDLINE1_1 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj
-------------------------------------------------------------------
Building with 'MinGW64 Compiler (C)'.
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\valXder.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\valXder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65026934158780_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o valXder.mexw64
MEX completed successfully.
Verbose mode is on.
... Looking for compiler 'MinGW64 Compiler (C)' ...
... Looking for environment variable 'MW_MINGW64_LOC' ...Yes ('C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset').
... Looking for file 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc.exe' ...Yes.
... Looking for folder 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset' ...Yes.
Found installed compiler 'MinGW64 Compiler (C)'.
Set PATH = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin;D:\programinstalls\Polyspace\R2020a\extern\include\win64;D:\programinstalls\Polyspace\R2020a\extern\include;D:\programinstalls\Polyspace\R2020a\simulink\include;D:\programinstalls\Polyspace\R2020a\lib\win64;D:\programinstalls\Java\JDK14\bin;";";C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\PSTools;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\CTEX\UserData\miktex\bin;D:\CTEX\MiKTeX\miktex\bin;D:\CTEX\CTeX\ctex\bin;D:\CTEX\CTeX\cct\bin;D:\CTEX\CTeX\ty\bin;D:\CTEX\Ghostsc ript\gs9.05\bin;D:\CTEX\GSview\gsview;";D:\programinstalls\Polyspace\R2020a\runtime\win64;D:\programinstalls\Polyspace\R2020a\bin;D:\programinstalls\MATLAB\R2018b\runtime\win64;D:\programinstalls\MATLAB\R2018b\bin;D:\programinstalls\Polyspace\R2020a\polyspace\bin;C:\Users\tulipsliu\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.5.0\;D:\programinstalls\Git\cmd;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\";";D:\cygwin64\bin";C:\Users\tulipsliu\anaconda3;C:\Users\tulipsliu\anaconda3\Library\mingw-w64\bin;C:\Users\tulipsliu\anaconda3\Library\usr\bin;C:\Users\tulipsliu\anaconda3\Library\bin;C:\Users\tulipsliu\anaconda3\sc ripts;C:\Users\tulipsliu\AppData\Local\Microsoft\WindowsApps;C:\Users\tulipsliu\AppData\Roaming\TinyTeX\bin\win32;
Set INCLUDE = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;
Set LIB = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;
Set MW_TARGET_ARCH = win64;win64;
Set LIBPATH = D:\programinstalls\Polyspace\R2020a\extern\lib\win64;D:\programinstalls\Polyspace\R2020a\extern\lib\win64;
Options file details
-------------------------------------------------------------------
Compiler location: C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
Options file: C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l
CMDLINE2 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o matdrivXvecval.mexw64
CC : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
COMPILER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
DEFINES : -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fexceptions -fno-omit-fr ame-pointer
INCLUDE : -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64"
COPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CDEBUGFLAGS : -g
LD : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LINKER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LDTYPE : -shared -static
LDFLAGS : -m64 -Wl,--no-undefined
LINKEXPORT : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
LINKEXPORTVER : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def"
LIBLOC : D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64
LINKLIBS : -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas
LDOPTIMFLAGS : -s
LDDEBUGFLAGS : -g
OBJEXT : .obj
LDEXT : .mexw64
SETENV : set COMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXCOMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set COMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set CXXCOMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -std=c++11 -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set OPTIMFLAGS=-O2 -fwrapv -DNDEBUG
set DEBUGFLAGS=-g
set LINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXLINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set LINKFLAGS=-m64 -Wl,--no-undefined -shared -static -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
set LINKDEBUGFLAGS=-g
set NAME_OUTPUT=-o "%OUTDIR%%MEX_NAME%%MEX_EXT%"
MINGWROOT : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
MATLABROOT : D:\programinstalls\Polyspace\R2020a
ARCH : win64
SRC : "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matdrivXvecval.c";"D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c"
OBJ : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj;C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj
OBJS : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj
SRCROOT : E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matdrivXvecval
DEF : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.def
EXP : "matdrivXvecval.exp"
LIB : "matdrivXvecval.lib"
EXE : matdrivXvecval.mexw64
ILK : "matdrivXvecval.ilk"
MANIFEST : "matdrivXvecval.mexw64.manifest"
TEMPNAME : matdrivXvecval
EXEDIR :
EXENAME : matdrivXvecval
COMPFLAGS : -O2 -ftree-vectorize -ftree-vectorize-verbose=7 -fopt-info-missed -Wall
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -s
CMDLINE1_0 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matdrivXvecval.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj
CMDLINE1_1 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj
-------------------------------------------------------------------
Building with 'MinGW64 Compiler (C)'.
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matdrivXvecval.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\matdrivXvecval.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65037597180677_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o matdrivXvecval.mexw64
MEX completed successfully.
Verbose mode is on.
... Looking for compiler 'MinGW64 Compiler (C)' ...
... Looking for environment variable 'MW_MINGW64_LOC' ...Yes ('C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset').
... Looking for file 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc.exe' ...Yes.
... Looking for folder 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset' ...Yes.
Found installed compiler 'MinGW64 Compiler (C)'.
Set PATH = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin;D:\programinstalls\Polyspace\R2020a\extern\include\win64;D:\programinstalls\Polyspace\R2020a\extern\include;D:\programinstalls\Polyspace\R2020a\simulink\include;D:\programinstalls\Polyspace\R2020a\lib\win64;D:\programinstalls\Java\JDK14\bin;";";C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\PSTools;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\CTEX\UserData\miktex\bin;D:\CTEX\MiKTeX\miktex\bin;D:\CTEX\CTeX\ctex\bin;D:\CTEX\CTeX\cct\bin;D:\CTEX\CTeX\ty\bin;D:\CTEX\Ghostsc ript\gs9.05\bin;D:\CTEX\GSview\gsview;";D:\programinstalls\Polyspace\R2020a\runtime\win64;D:\programinstalls\Polyspace\R2020a\bin;D:\programinstalls\MATLAB\R2018b\runtime\win64;D:\programinstalls\MATLAB\R2018b\bin;D:\programinstalls\Polyspace\R2020a\polyspace\bin;C:\Users\tulipsliu\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.5.0\;D:\programinstalls\Git\cmd;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\";";D:\cygwin64\bin";C:\Users\tulipsliu\anaconda3;C:\Users\tulipsliu\anaconda3\Library\mingw-w64\bin;C:\Users\tulipsliu\anaconda3\Library\usr\bin;C:\Users\tulipsliu\anaconda3\Library\bin;C:\Users\tulipsliu\anaconda3\sc ripts;C:\Users\tulipsliu\AppData\Local\Microsoft\WindowsApps;C:\Users\tulipsliu\AppData\Roaming\TinyTeX\bin\win32;
Set INCLUDE = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;
Set LIB = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;
Set MW_TARGET_ARCH = win64;win64;
Set LIBPATH = D:\programinstalls\Polyspace\R2020a\extern\lib\win64;D:\programinstalls\Polyspace\R2020a\extern\lib\win64;
Options file details
-------------------------------------------------------------------
Compiler location: C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
Options file: C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l
CMDLINE2 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o matvalXmatder.mexw64
CC : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
COMPILER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
DEFINES : -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fexceptions -fno-omit-fr ame-pointer
INCLUDE : -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64"
COPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CDEBUGFLAGS : -g
LD : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LINKER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LDTYPE : -shared -static
LDFLAGS : -m64 -Wl,--no-undefined
LINKEXPORT : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
LINKEXPORTVER : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def"
LIBLOC : D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64
LINKLIBS : -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas
LDOPTIMFLAGS : -s
LDDEBUGFLAGS : -g
OBJEXT : .obj
LDEXT : .mexw64
SETENV : set COMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXCOMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set COMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set CXXCOMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -std=c++11 -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set OPTIMFLAGS=-O2 -fwrapv -DNDEBUG
set DEBUGFLAGS=-g
set LINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXLINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set LINKFLAGS=-m64 -Wl,--no-undefined -shared -static -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
set LINKDEBUGFLAGS=-g
set NAME_OUTPUT=-o "%OUTDIR%%MEX_NAME%%MEX_EXT%"
MINGWROOT : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
MATLABROOT : D:\programinstalls\Polyspace\R2020a
ARCH : win64
SRC : "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matvalXmatder.c";"D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c"
OBJ : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj;C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj
OBJS : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj
SRCROOT : E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matvalXmatder
DEF : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.def
EXP : "matvalXmatder.exp"
LIB : "matvalXmatder.lib"
EXE : matvalXmatder.mexw64
ILK : "matvalXmatder.ilk"
MANIFEST : "matvalXmatder.mexw64.manifest"
TEMPNAME : matvalXmatder
EXEDIR :
EXENAME : matvalXmatder
COMPFLAGS : -O2 -ftree-vectorize -ftree-vectorize-verbose=7 -fopt-info-missed -Wall
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -s
CMDLINE1_0 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matvalXmatder.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj
CMDLINE1_1 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj
-------------------------------------------------------------------
Building with 'MinGW64 Compiler (C)'.
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\matvalXmatder.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\matvalXmatder.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65040486481568_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o matvalXmatder.mexw64
MEX completed successfully.
Verbose mode is on.
... Looking for compiler 'MinGW64 Compiler (C)' ...
... Looking for environment variable 'MW_MINGW64_LOC' ...Yes ('C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset').
... Looking for file 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc.exe' ...Yes.
... Looking for folder 'C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset' ...Yes.
Found installed compiler 'MinGW64 Compiler (C)'.
Set PATH = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin;D:\programinstalls\Polyspace\R2020a\extern\include\win64;D:\programinstalls\Polyspace\R2020a\extern\include;D:\programinstalls\Polyspace\R2020a\simulink\include;D:\programinstalls\Polyspace\R2020a\lib\win64;D:\programinstalls\Java\JDK14\bin;";";C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;D:\PSTools;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\CTEX\UserData\miktex\bin;D:\CTEX\MiKTeX\miktex\bin;D:\CTEX\CTeX\ctex\bin;D:\CTEX\CTeX\cct\bin;D:\CTEX\CTeX\ty\bin;D:\CTEX\Ghostsc ript\gs9.05\bin;D:\CTEX\GSview\gsview;";D:\programinstalls\Polyspace\R2020a\runtime\win64;D:\programinstalls\Polyspace\R2020a\bin;D:\programinstalls\MATLAB\R2018b\runtime\win64;D:\programinstalls\MATLAB\R2018b\bin;D:\programinstalls\Polyspace\R2020a\polyspace\bin;C:\Users\tulipsliu\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.5.0\;D:\programinstalls\Git\cmd;C:\Windows\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\";";D:\cygwin64\bin";C:\Users\tulipsliu\anaconda3;C:\Users\tulipsliu\anaconda3\Library\mingw-w64\bin;C:\Users\tulipsliu\anaconda3\Library\usr\bin;C:\Users\tulipsliu\anaconda3\Library\bin;C:\Users\tulipsliu\anaconda3\sc ripts;C:\Users\tulipsliu\AppData\Local\Microsoft\WindowsApps;C:\Users\tulipsliu\AppData\Roaming\TinyTeX\bin\win32;
Set INCLUDE = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\include;;
Set LIB = C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\lib;;
Set MW_TARGET_ARCH = win64;win64;
Set LIBPATH = D:\programinstalls\Polyspace\R2020a\extern\lib\win64;D:\programinstalls\Polyspace\R2020a\extern\lib\win64;
Options file details
-------------------------------------------------------------------
Compiler location: C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
Options file: C:\Users\tulipsliu\AppData\Roaming\MathWorks\MATLAB\R2020a\mex_C_win64.xm l
CMDLINE2 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o dertransp.mexw64
CC : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
COMPILER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
DEFINES : -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE
MATLABMEX : -DMATLAB_MEX_FILE
CFLAGS : -fexceptions -fno-omit-fr ame-pointer
INCLUDE : -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64"
COPTIMFLAGS : -O2 -fwrapv -DNDEBUG
CDEBUGFLAGS : -g
LD : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LINKER : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
LDTYPE : -shared -static
LDFLAGS : -m64 -Wl,--no-undefined
LINKEXPORT : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
LINKEXPORTVER : -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def"
LIBLOC : D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64
LINKLIBS : -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas
LDOPTIMFLAGS : -s
LDDEBUGFLAGS : -g
OBJEXT : .obj
LDEXT : .mexw64
SETENV : set COMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXCOMPILER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set COMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set CXXCOMPFLAGS=-c -fexceptions -fno-omit-fr ame-pointer -std=c++11 -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -DMATLAB_MEX_FILE
set OPTIMFLAGS=-O2 -fwrapv -DNDEBUG
set DEBUGFLAGS=-g
set LINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc
set CXXLINKER=C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\g++
set LINKFLAGS=-m64 -Wl,--no-undefined -shared -static -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/mexFunction.def"
set LINKDEBUGFLAGS=-g
set NAME_OUTPUT=-o "%OUTDIR%%MEX_NAME%%MEX_EXT%"
MINGWROOT : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset
MATLABROOT : D:\programinstalls\Polyspace\R2020a
ARCH : win64
SRC : "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\dertransp.c";"D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c"
OBJ : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj;C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj
OBJS : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj
SRCROOT : E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\dertransp
DEF : C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.def
EXP : "dertransp.exp"
LIB : "dertransp.lib"
EXE : dertransp.mexw64
ILK : "dertransp.ilk"
MANIFEST : "dertransp.mexw64.manifest"
TEMPNAME : dertransp
EXEDIR :
EXENAME : dertransp
COMPFLAGS : -O2 -ftree-vectorize -ftree-vectorize-verbose=7 -fopt-info-missed -Wall
OPTIM : -O2 -fwrapv -DNDEBUG
LINKOPTIM : -s
CMDLINE1_0 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\dertransp.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj
CMDLINE1_1 : C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj
-------------------------------------------------------------------
Building with 'MinGW64 Compiler (C)'.
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "E:\DSGEstudio\ReviewofEconomicDynamics\hadsge-master\MATLABAutoDiff-master\@myAD\private\dertransp.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -c -DMX_COMPAT_64 -DMATLAB_DEFAULT_RELEASE=R2017b -DUSE_MEX_CMD -m64 -DMATLAB_MEX_FILE -I"D:\programinstalls\Polyspace\R2020a/extern/include" -I"D:\programinstalls\Polyspace\R2020a/simulink/include" -I"D:\programinstalls\Polyspace\R2020a/extern\lib\win64\mingw64" -fexceptions -fno-omit-fr ame-pointer -O2 -fwrapv -DNDEBUG "D:\programinstalls\Polyspace\R2020a\extern\version\c_mexapi_version.c" -o C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj
C:\ProgramData\MATLAB\SupportPackages\R2020a\3P.instrset\mingw_w64.instrset\bin\gcc -m64 -Wl,--no-undefined -shared -static -s -Wl,"D:\programinstalls\Polyspace\R2020a/extern/lib/win64/mingw64/exportsmexfileversion.def" C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\dertransp.obj C:\Users\TULIPS~1\AppData\Local\Temp\mex_65042827276650_5088\c_mexapi_version.obj -L"D:\programinstalls\Polyspace\R2020a\extern\lib\win64\mingw64" -llibmx -llibmex -llibmat -lm -llibmwlapack -llibmwblas -o dertransp.mexw64
MEX completed successfully.
>>
Enjoy
旭东