compile eeglab import linux 64 bit

Forum for discussion on different signal processing algorithms
Locked
mdevos
Posts: 1
Joined: 01 Mar 2013, 08:11

compile eeglab import linux 64 bit

Post by mdevos » 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

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: compile eeglab import linux 64 bit

Post by mellinger » 11 Mar 2013, 09:58

Hi,

this is a bug in the BCI2000 source code. Unfortunately, the fix requires a number of related changes, so it will take a few days until it will be committed.

Thanks for reporting,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests