OpenViBE Bug Tracker - openvibe
View Issue Details
0000179openvibebug reportpublic2016-06-21 00:132016-07-19 09:18
jfrey 
jtlindgr 
normalmajoralways
resolvedfixed 
x86_64Ubuntu16.04
0000179: Compilation fails on ubuntu 16.04
One cannot compile OpenViBE with the last LTS version of Ubuntu.

Dependencies: ogre 1.9 replaced 1.8, libboost 0.58 replaced 0.54.

Should dependencies (and code) be updated to those new versions, still have to switch the system back to gcc 4.9, from gcc 5.3 that is now the default, otherwise errors arise during compilation.
No tags attached.
Issue History
2016-06-21 00:13jfreyNew Issue
2016-06-21 09:42jtlindgrNote Added: 0001209
2016-06-21 09:42jtlindgrStatusnew => acknowledged
2016-07-01 11:35jtlindgrNote Added: 0001211
2016-07-01 11:35jtlindgrStatusacknowledged => resolved
2016-07-01 11:35jtlindgrResolutionopen => fixed
2016-07-01 11:35jtlindgrAssigned To => jtlindgr
2016-07-07 16:42jfreyNote Added: 0001214
2016-07-07 16:42jfreyStatusresolved => feedback
2016-07-07 16:42jfreyResolutionfixed => reopened
2016-07-08 16:09jtlindgrNote Added: 0001215
2016-07-18 09:43jtlindgrNote Added: 0001216
2016-07-18 09:44jtlindgrNote Edited: 0001216bug_revision_view_page.php?bugnote_id=1216#r27
2016-07-18 18:37jfreyNote Added: 0001217
2016-07-18 18:37jfreyStatusfeedback => assigned
2016-07-19 09:18jtlindgrNote Added: 0001218
2016-07-19 09:18jtlindgrStatusassigned => resolved
2016-07-19 09:18jtlindgrResolutionreopened => fixed

Notes
(0001209)
jtlindgr   
2016-06-21 09:42   
We'll investigate this after point release 16.04.1 is out.

Thanks for the report.
(0001211)
jtlindgr   
2016-07-01 11:35   
Fixed in advance! Try git commit 1773ab6c82e917ab13b9c7c752a6a49ab0f3bc07 (git branch wip-jlindgre-fix-ubuntu1604 or via git master).
(0001214)
jfrey   
2016-07-07 16:42   
Hello,

The commit fixes the "linux-install_dependencies" script, but the compilation still fails, e.g. demos raise some ogre errors, and part as "ovsgCBoxAlgorithmSkeletonGenerator.cpp" that have troubles related to boost library.

I did not test that on a fresh install, though, maybe I did something wrong...
(0001215)
jtlindgr   
2016-07-08 16:09   
When I implemented the commit, I tested it on a 16.04 running on a VM and it worked just fine. To do any further work on the problem, I need the conditions to reproduce. Btw, one thing I noted on 16.04 is that the boost/ogre/cegui versions need to be very specific ones. These are hard-coded to the installer.
(0001216)
jtlindgr   
2016-07-18 09:43   
(edited on: 2016-07-18 09:44)
I tested with another clean Ubuntu 16.04, it was x86_64 on an AMD processor. After install_dependencies.sh, the build completed successfully on the default 5.x gcc. Please check that you have only the versions of the packages that are meant to be in 16.04 installed, as indicated by install dependencies Ubuntu section, and that there are no conflicting files from other versions of boost, ogre or cegui still around. If there's no feedback in a while, I'm going to mark this as closed.

(0001217)
jfrey   
2016-07-18 18:37   
Hi, my bad, I forgot to switch back to gcc 5 when I tried your patch, the compilation is now going well, so far OpenViBE is working. Thanks for the fix! :)
(0001218)
jtlindgr   
2016-07-19 09:18   
Remarking as fixed. Thanks for the feedback!