Thread: Re: [Biosig-general] Problems reading Nihon-Kohden .eeg data
Brought to you by:
schloegl
From: Sebastian S. <seb...@un...> - 2012-12-19 12:24:58
|
elmo@elmo:/home/sebastian/biosig4c++-1.4.2$ sudo make mex4m make -C mex DEFINES='-D=NDEBUG -D=WITH_ZLIB -D=WITH_PTHREAD -D=__4HAERTEL__ -D=WITH_FAMOS -D=WITHOUT_NETWORK -D=WITH_FEF -D=MAKE_EDFLIB' CROSS=/usr/local/src/mxe/usr/bin/i686-pc-mingw32 CROSS64=/usr/local/src/mce-w64/usr/bin/i686-pc-mingw32 LDLIBS="-lz -lpthread" OCTAVE_VERSION= mex4m make[1]: Betrete Verzeichnis '/home/sebastian/biosig4c++-1.4.2/mex' /usr/local/bin/MATLAB/bin/mex -largeArrayDims -D=NDEBUG -D=WITH_ZLIB -D=WITH_PTHREAD -D=__4HAERTEL__ -D=WITH_FAMOS -D=WITHOUT_NETWORK -D=WITH_FEF -D=MAKE_EDFLIB "mexSLOAD.cpp" -lz -lpthread ../libbiosig.a ../libbiosig.a Warning: You are using gcc version "4.6.3-1ubuntu5)". The version currently supported with MEX is "4.3.4". For a list of currently supported compilers see: http://www.mathworks.com/support/compilers/current_release/ <Kommandozeile>:0:0: Warnung: »NDEBUG« redefiniert [standardmäßig aktiviert] <Kommandozeile>:0:0: Anmerkung: dies ist die Stelle der vorherigen Definition mexSLOAD.cpp: In Funktion »void mexFunction(int, mxArray**, int, const mxArray**)«: mexSLOAD.cpp:453:149: Warnung: Format »%i« erwartet Argumenttyp »int«, aber Argument 4 hat Typ »size_t {aka long unsigned int}« [-Wformat] mexSLOAD.cpp:453:149: Warnung: Format »%i« erwartet Argumenttyp »int«, aber Argument 5 hat Typ »size_t {aka long unsigned int}« [-Wformat] mexSLOAD.cpp:453:149: Warnung: Format »%Li« erwartet Argumenttyp »long long int«, aber Argument 6 hat Typ »nrec_t {aka long int}« [-Wformat] mexSLOAD.cpp:453:149: Warnung: Format »%i« erwartet Argumenttyp »int«, aber Argument 7 hat Typ »size_t {aka long unsigned int}« [-Wformat] ../libbiosig.a(biosig.o): In function `CSstart': biosig.c:(.text+0x2c): undefined reference to `cholmod_start' ../libbiosig.a(biosig.o): In function `ifopen': biosig.c:(.text+0x971): undefined reference to `gzopen' ../libbiosig.a(biosig.o): In function `ifread': biosig.c:(.text+0xa21): undefined reference to `gzread' ../libbiosig.a(biosig.o): In function `ifwrite': biosig.c:(.text+0xa61): undefined reference to `gzwrite' ../libbiosig.a(biosig.o): In function `ifseek': biosig.c:(.text+0xb76): undefined reference to `gzseek' ../libbiosig.a(biosig.o): In function `ifsetpos': biosig.c:(.text+0xc92): undefined reference to `gzseek' biosig.c:(.text+0xca1): undefined reference to `gztell' ../libbiosig.a(biosig.o): In function `ifgetpos': biosig.c:(.text+0xce9): undefined reference to `gztell' ../libbiosig.a(biosig.o): In function `iferror': biosig.c:(.text+0xd9d): undefined reference to `gzerror' ../libbiosig.a(biosig.o): In function `destructHDR': biosig.c:(.text+0x4231): undefined reference to `cholmod_free_sparse' ../libbiosig.a(biosig.o): In function `swrite': biosig.c:(.text+0x4d56): undefined reference to `gzprintf' ../libbiosig.a(biosig.o): In function `sread': biosig.c:(.text+0x5a90): undefined reference to `cholmod_sdmult' biosig.c:(.text+0x6682): undefined reference to `cholmod_sdmult' ../libbiosig.a(biosig.o): In function `sopen': biosig.c:(.text+0xaa2c): undefined reference to `gzdopen' biosig.c:(.text+0x1dc32): undefined reference to `cholmod_read_sparse' ../libbiosig.a(biosig.o): In function `RerefCHANNEL': biosig.c:(.text+0x20176): undefined reference to `cholmod_free_sparse' biosig.c:(.text+0x2022a): undefined reference to `cholmod_free_sparse' ../libbiosig.a(biosig.o): In function `CSstop': biosig.c:(.text+0x18): undefined reference to `cholmod_finish' ../libbiosig.a(biosig.o): In function `ifclose': biosig.c:(.text+0x9b8): undefined reference to `gzclose' ../libbiosig.a(biosig.o): In function `ifflush': biosig.c:(.text+0x9e5): undefined reference to `gzflush' ../libbiosig.a(biosig.o): In function `ifprintf': biosig.c:(.text+0xaa2): undefined reference to `gzprintf' ../libbiosig.a(biosig.o): In function `ifputc': biosig.c:(.text+0xad5): undefined reference to `gzputc' ../libbiosig.a(biosig.o): In function `ifgetc': biosig.c:(.text+0xb00): undefined reference to `gzgetc' ../libbiosig.a(biosig.o): In function `ifgets': biosig.c:(.text+0xb38): undefined reference to `gzgets' ../libbiosig.a(biosig.o): In function `iftell': biosig.c:(.text+0xc00): undefined reference to `gztell' ../libbiosig.a(biosig.o): In function `ifeof': biosig.c:(.text+0xd60): undefined reference to `gzeof' ../libbiosig.a(tinyxml.o): In function `TiXmlUnknown::gzPrint(void*, int) const': tinyxml.cpp:(.text+0x151): undefined reference to `gzprintf' ../libbiosig.a(tinyxml.o): In function `TiXmlComment::gzPrint(void*, int) const': tinyxml.cpp:(.text+0x1b1): undefined reference to `gzprintf' ../libbiosig.a(tinyxml.o): In function `TiXmlDeclaration::gzPrint(void*, int, TiXmlString*) const': tinyxml.cpp:(.text+0x4bf): undefined reference to `gzprintf' tinyxml.cpp:(.text+0x4fc): undefined reference to `gzprintf' tinyxml.cpp:(.text+0x560): undefined reference to `gzprintf' ../libbiosig.a(tinyxml.o):tinyxml.cpp:(.text+0x5c4): more undefined references to `gzprintf' follow ../libbiosig.a(tinyxml.o): In function `TiXmlDocument::LoadFile(void*, TiXmlEncoding)': tinyxml.cpp:(.text+0x1cc2): undefined reference to `gzread' tinyxml.cpp:(.text+0x1cd0): undefined reference to `gzeof' ../libbiosig.a(tinyxml.o): In function `TiXmlDocument::LoadFile(char const*, TiXmlEncoding)': tinyxml.cpp:(.text+0x1f8b): undefined reference to `gzopen' tinyxml.cpp:(.text+0x1fab): undefined reference to `gzclose' ../libbiosig.a(tinyxml.o): In function `TiXmlDocument::SaveFile(void*) const': tinyxml.cpp:(.text+0x214b): undefined reference to `gzputc' tinyxml.cpp:(.text+0x2158): undefined reference to `gzputc' tinyxml.cpp:(.text+0x2165): undefined reference to `gzputc' tinyxml.cpp:(.text+0x2181): undefined reference to `gzerror' ../libbiosig.a(tinyxml.o): In function `TiXmlDocument::SaveFile(char const*, char) const': tinyxml.cpp:(.text+0x21c5): undefined reference to `gzopen' tinyxml.cpp:(.text+0x21e6): undefined reference to `gzclose' ../libbiosig.a(tinyxml.o): In function `TiXmlDocument::gzPrint(void*, int) const': tinyxml.cpp:(.text+0x2454): undefined reference to `gzprintf' ../libbiosig.a(tinyxml.o): In function `TiXmlElement::gzPrint(void*, int) const': tinyxml.cpp:(.text+0x2530): undefined reference to `gzprintf' tinyxml.cpp:(.text+0x254e): undefined reference to `gzprintf' tinyxml.cpp:(.text+0x2575): undefined reference to `gzprintf' tinyxml.cpp:(.text+0x25c1): undefined reference to `gzprintf' ../libbiosig.a(tinyxml.o):tinyxml.cpp:(.text+0x2603): more undefined references to `gzprintf' follow collect2: ld gab 1 als Ende-Status zurück mex: link of ' "mexSLOAD.mexa64"' failed. make[1]: *** [mexSLOAD.mexa64] Fehler 1 make[1]: Verlasse Verzeichnis '/home/sebastian/biosig4c++-1.4.2/mex' make: *** [mex4m] Fehler 2 |
From: Alois S. <alo...@is...> - 2012-12-19 13:14:46
|
libsuitesparse and libz are missing. Install apt-get install libsuitesparse-dev zlib or similar. Alternatively, you can compile it without these by modifying Makefile in the following way: Remove or disable these lines: DEFINES += -D=WITH_CHOLMOD DEFINES += -D=WITH_ZLIB However, this disables support for on-the-fly spatial filtering and on-the-fly decompression. Alois On 12/19/2012 01:24 PM, Sebastian Schindler wrote: > Dear list-members and developers, > > I have to apologize but I have a very basic question about using the biosig > toolbox. I am currently trying to read intracranial EEG data from the > Nihon-Kohden 1100 format in SPM8. When I am trying to read .eeg data I am reminded: > "family of Nihon-Kohden 1100 format is implemented only fully in libbiosig.You > need to have mexSLOAD installed in order to load file " > > Though I tried to install mexSLOAD. I am using Ubuntu and I have currently > downloaded Source v1.4.2 > <https://sourceforge.net/projects/biosig/files/BioSig%20for%20C_C%2B%2B/src/biosig4c%2B%2B-1.4.2.src.tar.gz/download> > (but also tried v.1.30. for Linux). I am running the make mex4m file but I get > an error message in my terminal: "mex: link of ' "mexSLOAD.mexa64"' failed." > I have the error log attached. I am a bit confused, I tried to set the path to > MATLAB main folder in the ../mex/makefile or in the ../makefile, maybe I missed > some important information. > > I would be very happy if anyone could give me a hint what I am doing wrong, or > what is a more useful approach to read Nihon Kohden .eeg data. > > Sebastian > > -------------------------------------------------------------------- > M.Sc. Sebastian Schindler > Allgemeine Psychologie II- Affektive Neuropsychologie > Universität Bielefeld > Fakultät für Psychologie und Sportwissenschaft > Abteilung für Psychologie > Postfach 10 01 31 > D-33501 Bielefeld > > Phone: ++49 0 521 106-4527 > Fax: ++49 0 521 106-154454 > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > > > > _______________________________________________ > Biosig-general mailing list > Bio...@li... > https://lists.sourceforge.net/lists/listinfo/biosig-general |