open-discussion > Installation Question
Mar 17, 2017  01:03 AM | Hiroyuki Akama - Tokyo Institute of Technology
Installation Question
Hello. Please forgive me for sending you a very basic question on installing Friend into a Ubuntu machine.
I am a complete beginner of Friend. When running ./buildAllUbuntu.sh and after vieweing many "recreating *** library" messages, I came across some warnings especially as follows,
main.cpp: In function 'int main(int, char**)':
main.cpp:17:37: error: 'strcpy' was not declared in this scope
if (argc >1) strcpy(port, argv[1]);
and only libMotor.so, libconnectivity.so, libBrainDecoding.so and libROI.so were created in /Application.
I am wishing to run a Python file in frontends, but engine.connectEngine(); dumped an error.
maybe executing the engine has something wrong. Much appreciated if you could help me.

The other messages are following.
/usr/local/fsl/extras/src/zlib/gzlib.c: In function 'gz_open':
/usr/local/fsl/extras/src/zlib/gzlib.c:11:17: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration]
# define LSEEK lseek
^
/usr/local/fsl/extras/src/zlib/gzlib.c:184:24: note: in expansion of macro 'LSEEK'
state->start = LSEEK(state->fd, 0, SEEK_CUR);
^
/usr/local/fsl/extras/src/zlib/gzread.c: In function 'gz_load':
/usr/local/fsl/extras/src/zlib/gzread.c:31:15: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
ret = read(state->fd, buf + *have, len - *have);
^
/usr/local/fsl/extras/src/zlib/gzread.c: In function 'gzclose_r':
/usr/local/fsl/extras/src/zlib/gzread.c:650:11: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
ret = close(state->fd);
^
/usr/local/fsl/extras/src/zlib/gzwrite.c: In function 'gz_comp':
/usr/local/fsl/extras/src/zlib/gzwrite.c:79:33: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
if (have && ((got = write(state->fd, state->next, have)) < 0 ||
^
/usr/local/fsl/extras/src/zlib/gzwrite.c: In function 'gzclose_w':
/usr/local/fsl/extras/src/zlib/gzwrite.c:528:12: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
ret += close(state->fd);

Thank you so much in advance.

Hiroyuki AKAMA
Associate Professor,
School of Life Science and Technology
Tokyo Institute of Technology,
Institute of Liberal Arts,
W9-10, O-okayama, Meguro-ku, Tokyo-152-8552
Japan
akama.h.aa@m.titech.ac.jp
http://www.dp.hum.titech.ac.jp

Threaded View

TitleAuthorDate
Neuroinformatics Support Jan 27, 2014
Installation Question
Hiroyuki Akama Mar 17, 2017
Rodrigo Basilio Mar 17, 2017
Hiroyuki Akama Mar 17, 2017
Hiroyuki Akama Mar 17, 2017
Rodrigo Basilio Mar 18, 2017