How to compile EEGLabImport on 64-bit Linux

Edit the following lines in defines.h (src/shared/defines.h),

#if( defined( __BORLANDC__ ) && ( __BORLANDC__ > 0x0560 ) ) // bcc32 > 5.5.1
typedef unsigned long long uint64;
typedef signed long long sint64;
#else // __BORLANDC__
typedef unsigned __int64 uint64;
typedef signed __int64 sint64;
#endif // __BORLANDC__

as

typedef unsigned long long uint64;
typedef signed long long sint64;

and excute buildmex in the matlab command line.