compile eeglab import linux 64 bit
Posted: 01 Mar 2013, 11:50
hi all,
I have 64 bit linux system, and try to compile the mexfile to load bci2000 .datfiles in eeglab, but always get the error (when running buildmex).
g++ -c -I../.. -I../../../../src/extlib/math -I../../../../src/shared/ -I../../../../src/shared/accessors -I../../../../src/shared/bcistream -I../../../../src/shared/config -I../../../../src/shared/fileio -I../../../../src/shared/fileio/dat -I../../../../src/shared/fileio/edf_gdf -I../../../../src/shared/modules -I../../../../src/shared/filters -I../../../../src/shared/modules/signalprocessing -I../../../../src/shared/types -I../../../../src/shared/utils -I../../../../src/shared/utils/Expression -I/matlab/extern/include -I/matlab/simulink/include -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread -fPIC -include gccprefix.h -DBCI_TOOL -DBCI_MEX -DNO_STRICT -DNO_PCHINCLUDES -D_USE_MATH_DEFINES -DNOMINMAX -DMX_COMPAT_32 -O -DNDEBUG "load_bcidat.cpp"
In file included from load_bcidat.cpp:35:
mexutils.h:50: error: conflicting declaration 'typedef long long unsigned int uint64'
../../../../src/shared/defines.h:50: error: 'uint64' has a previous declaration as 'typedef uint64_t uint64'
mex: compile of ' "load_bcidat.cpp"' failed.
This error seems to be related to the fact that i have 64 bit, and try to produce a 32 bit output. Can anyone help me how to fix this bug?
thanks,
maarten
I have 64 bit linux system, and try to compile the mexfile to load bci2000 .datfiles in eeglab, but always get the error (when running buildmex).
g++ -c -I../.. -I../../../../src/extlib/math -I../../../../src/shared/ -I../../../../src/shared/accessors -I../../../../src/shared/bcistream -I../../../../src/shared/config -I../../../../src/shared/fileio -I../../../../src/shared/fileio/dat -I../../../../src/shared/fileio/edf_gdf -I../../../../src/shared/modules -I../../../../src/shared/filters -I../../../../src/shared/modules/signalprocessing -I../../../../src/shared/types -I../../../../src/shared/utils -I../../../../src/shared/utils/Expression -I/matlab/extern/include -I/matlab/simulink/include -DMATLAB_MEX_FILE -ansi -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread -fPIC -include gccprefix.h -DBCI_TOOL -DBCI_MEX -DNO_STRICT -DNO_PCHINCLUDES -D_USE_MATH_DEFINES -DNOMINMAX -DMX_COMPAT_32 -O -DNDEBUG "load_bcidat.cpp"
In file included from load_bcidat.cpp:35:
mexutils.h:50: error: conflicting declaration 'typedef long long unsigned int uint64'
../../../../src/shared/defines.h:50: error: 'uint64' has a previous declaration as 'typedef uint64_t uint64'
mex: compile of ' "load_bcidat.cpp"' failed.
This error seems to be related to the fact that i have 64 bit, and try to produce a 32 bit output. Can anyone help me how to fix this bug?
thanks,
maarten