Last active
August 16, 2017 20:02
-
-
Save tbenst/12d0430ff97781c53a124f8506285386 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trial>> run('/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/MEX_compile.m') | |
Verbose mode is on. | |
... Looking for compiler 'g++' ... | |
... Executing command 'which g++' ...Yes ('/usr/bin/g++'). | |
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so'). | |
Found installed compiler 'g++'. | |
Options file details | |
------------------------------------------------------------------- | |
Compiler location: /usr/bin/gcc-4.9 | |
Options file: /home/tyler/.matlab/R2017a/mex_C++_glnxa64.xml | |
CMDLINE2 : /usr/bin/gcc-4.9 -pthread -Wl,--no-undefined -shared -O -Wl,--version-script,"/opt/MATLAB/R2017a/extern/lib/glnxa64/c_exportsmexfileversion.map" /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.o /tmp/mex_18749399650554_24205/Spiketrain.o /tmp/mex_18749399650554_24205/DataReader.o /tmp/mex_18749399650554_24205/Spiketrains.o /tmp/mex_18749399650554_24205/Pair.o /tmp/mex_18749399650554_24205/ISIProfile.o /tmp/mex_18749399650554_24205/SPIKEProfile.o /tmp/mex_18749399650554_24205/cpp_mexapi_version.o -Wl,-rpath-link,/opt/MATLAB/R2017a/bin/glnxa64 -L"/opt/MATLAB/R2017a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o mexAdaptiveISIDistance.mexa64 | |
CXX : /usr/bin/gcc-4.9 | |
DEFINES : -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE | |
MATLABMEX : -DMATLAB_MEX_FILE | |
CFLAGS : -fexceptions -fPIC -fno-omit-frame-pointer -pthread | |
CXXFLAGS : -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 | |
INCLUDE : -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" | |
CXXOPTIMFLAGS : -O -DNDEBUG | |
CXXDEBUGFLAGS : -g | |
LDXX : /usr/bin/gcc-4.9 | |
LDFLAGS : -pthread -Wl,--no-undefined | |
LDTYPE : -shared | |
LINKEXPORT : -Wl,--version-script,"/opt/MATLAB/R2017a/extern/lib/glnxa64/mexFunction.map" | |
LINKEXPORTVER : -Wl,--version-script,"/opt/MATLAB/R2017a/extern/lib/glnxa64/c_exportsmexfileversion.map" | |
LINKLIBS : -Wl,-rpath-link,/opt/MATLAB/R2017a/bin/glnxa64 -L"/opt/MATLAB/R2017a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ | |
LDOPTIMFLAGS : -O | |
LDDEBUGFLAGS : -g | |
MWCPPLIB : "/opt/MATLAB/R2017a/sys/os/glnxa64/libstdc++.so.6" | |
OBJEXT : .o | |
LDEXT : .mexa64 | |
SETENV : CC="gcc" | |
CXX="/usr/bin/gcc-4.9" | |
CFLAGS="-fexceptions -fPIC -fno-omit-frame-pointer -pthread -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE " | |
CXXFLAGS="-fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE " | |
COPTIMFLAGS="-O -DNDEBUG" | |
CXXOPTIMFLAGS="-O -DNDEBUG" | |
CDEBUGFLAGS="-g" | |
CXXDEBUGFLAGS="-g" | |
LD="gcc" | |
LDXX="/usr/bin/gcc-4.9" | |
LDFLAGS="-pthread -Wl,--no-undefined -shared -Wl,-rpath-link,/opt/MATLAB/R2017a/bin/glnxa64 -L"/opt/MATLAB/R2017a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/opt/MATLAB/R2017a/extern/lib/glnxa64/mexFunction.map"" | |
LDDEBUGFLAGS="-g" | |
GCC : /usr/bin/gcc-4.9 | |
CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so | |
MATLABROOT : /opt/MATLAB/R2017a | |
ARCH : glnxa64 | |
SRC : /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Spiketrain.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/DataReader.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Spiketrains.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Pair.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/ISIProfile.cpp;/home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/SPIKEProfile.cpp;/opt/MATLAB/R2017a/extern/version/cpp_mexapi_version.cpp | |
OBJ : /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.o;/tmp/mex_18749399650554_24205/Spiketrain.o;/tmp/mex_18749399650554_24205/DataReader.o;/tmp/mex_18749399650554_24205/Spiketrains.o;/tmp/mex_18749399650554_24205/Pair.o;/tmp/mex_18749399650554_24205/ISIProfile.o;/tmp/mex_18749399650554_24205/SPIKEProfile.o;/tmp/mex_18749399650554_24205/cpp_mexapi_version.o | |
OBJS : /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.o /tmp/mex_18749399650554_24205/Spiketrain.o /tmp/mex_18749399650554_24205/DataReader.o /tmp/mex_18749399650554_24205/Spiketrains.o /tmp/mex_18749399650554_24205/Pair.o /tmp/mex_18749399650554_24205/ISIProfile.o /tmp/mex_18749399650554_24205/SPIKEProfile.o /tmp/mex_18749399650554_24205/cpp_mexapi_version.o | |
SRCROOT : /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance | |
DEF : /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.def | |
EXP : mexAdaptiveISIDistance.exp | |
LIB : mexAdaptiveISIDistance.lib | |
EXE : mexAdaptiveISIDistance.mexa64 | |
ILK : mexAdaptiveISIDistance.ilk | |
MANIFEST : mexAdaptiveISIDistance.mexa64.manifest | |
TEMPNAME : mexAdaptiveISIDistance | |
EXEDIR : | |
EXENAME : mexAdaptiveISIDistance | |
OPTIM : -O -DNDEBUG | |
LINKOPTIM : -O | |
CMDLINE1_0 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp -o /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.o | |
CMDLINE1_1 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Spiketrain.cpp -o /tmp/mex_18749399650554_24205/Spiketrain.o | |
CMDLINE1_2 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/DataReader.cpp -o /tmp/mex_18749399650554_24205/DataReader.o | |
CMDLINE1_3 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Spiketrains.cpp -o /tmp/mex_18749399650554_24205/Spiketrains.o | |
CMDLINE1_4 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/Pair.cpp -o /tmp/mex_18749399650554_24205/Pair.o | |
CMDLINE1_5 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/ISIProfile.cpp -o /tmp/mex_18749399650554_24205/ISIProfile.o | |
CMDLINE1_6 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/SPIKEProfile.cpp -o /tmp/mex_18749399650554_24205/SPIKEProfile.o | |
CMDLINE1_7 : /usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /opt/MATLAB/R2017a/extern/version/cpp_mexapi_version.cpp -o /tmp/mex_18749399650554_24205/cpp_mexapi_version.o | |
------------------------------------------------------------------- | |
Building with 'g++'. | |
/usr/bin/gcc-4.9 -c -DTARGET_API_VERSION=700 -Dchar16_t=uint16_T -DUSE_MEX_CMD -D_GNU_SOURCE -DMATLAB_MEX_FILE -I"/opt/MATLAB/R2017a/extern/include" -I"/opt/MATLAB/R2017a/simulink/include" -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 -O -DNDEBUG /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp -o /tmp/mex_18749399650554_24205/mexAdaptiveISIDistance.o | |
Error using mex | |
In file included from /usr/include/c++/4.9/bits/stl_algobase.h:61:0, | |
from /usr/include/c++/4.9/vector:60, | |
from /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp:12: | |
/usr/include/c++/4.9/bits/cpp_type_traits.h:206:12: error: redefinition of ‘struct std::__is_integer<short unsigned int>’ | |
struct __is_integer<unsigned short> | |
^ | |
/usr/include/c++/4.9/bits/cpp_type_traits.h:184:12: error: previous definition of ‘struct std::__is_integer<short unsigned int>’ | |
struct __is_integer<char16_t> | |
^ | |
In file included from /usr/include/c++/4.9/bits/move.h:57:0, | |
from /usr/include/c++/4.9/bits/stl_pair.h:59, | |
from /usr/include/c++/4.9/bits/stl_algobase.h:64, | |
from /usr/include/c++/4.9/vector:60, | |
from /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp:12: | |
/usr/include/c++/4.9/type_traits:218:12: error: redefinition of ‘struct std::__is_integral_helper<short unsigned int>’ | |
struct __is_integral_helper<unsigned short> | |
^ | |
/usr/include/c++/4.9/type_traits:206:12: error: previous definition of ‘struct std::__is_integral_helper<short unsigned int>’ | |
struct __is_integral_helper<char16_t> | |
^ | |
/usr/include/c++/4.9/type_traits:1711:12: error: redefinition of ‘struct std::__make_signed<short unsigned int>’ | |
struct __make_signed<char16_t> : __make_signed<uint_least16_t> | |
^ | |
/usr/include/c++/4.9/type_traits:1688:12: error: previous definition of ‘struct std::__make_signed<short unsigned int>’ | |
struct __make_signed<unsigned short> | |
^ | |
In file included from /usr/include/c++/4.9/bits/stl_bvector.h:1181:0, | |
from /usr/include/c++/4.9/vector:65, | |
from /home/tyler/Dropbox/Shared/PDtrustOT_Tyler/MATLAB/distance/cSPIKE_package_v1.1/cSPIKEmex/mexAdaptiveISIDistance.cpp:12: | |
/usr/include/c++/4.9/bits/functional_hash.h:113:3: error: redefinition of ‘struct std::hash<short unsigned int>’ | |
_Cxx_hashtable_define_trivial_hash(unsigned short) | |
^ | |
/usr/include/c++/4.9/bits/functional_hash.h:95:3: error: previous definition of ‘struct std::hash<short unsigned int>’ | |
_Cxx_hashtable_define_trivial_hash(char16_t) | |
^ | |
Error in MEX_compile (line 5) | |
mex -v GCC='/usr/bin/gcc-4.9' -Dchar16_t=uint16_T mexAdaptiveISIDistance.cpp Spiketrain.cpp DataReader.cpp Spiketrains.cpp Pair.cpp ISIProfile.cpp | |
SPIKEProfile.cpp | |
Error in run (line 86) | |
evalin('caller', [script ';']); | |
Trial>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment