OpenViBE Bug Tracker - openvibe
View Issue Details
0000190openvibebug reportpublic2017-07-31 04:302019-01-27 17:22
msiracusa 
 
normalminoralways
newopen 
x86_64Arch Linuxother
0000190: Bulding fails on Arch Linux due to outdated dependency
The script linux-install_dependencies fails to build the package vrpn:

vrpn_Connection.C: En la función ‘int vrpn_start_server(const char*, char*, char*, const char*)’:
vrpn_Connection.C:2426:32: error: el agregado ‘vrpn_start_server(const char*, char*, char*, const char*)::wait status’ tiene un tipo incompleto y no se puede definir
                     union wait status;
                                ^~~~~~
make: *** [Makefile:549: pc_linux64/vrpn_Connection.o] Error 1


I googled the error and got the following: https://github.com/opensgct/sgct/issues/13 [^]

So I did what the link suggested: I unzipped the vrpn_07_31-ov.zip in dependencies/share/arch and changed the line union wait status to int wait in the file vrpn_Connection.C. After recompressing and running the script the error was gone.
1.- download openvibe 1.3.0, either sources or clone git repo
2.- sudo sh linux-install dependencies
No tags attached.
Issue History
2017-07-31 04:30msiracusaNew Issue
2019-01-27 17:21jtlindgrNote Added: 0001287
2019-01-27 17:22jtlindgrSummaryBulding fails due to outdated dependency => Bulding fails on Arch Linux due to outdated dependency

Notes
(0001287)
jtlindgr   
2019-01-27 17:21   
The suggested fix indeed seems to address the problem also for Ubuntu 18.04, at least for the build part (I didn't test the vrpn connections themselves).

Thanks for the report!