OpenViBE forum

The OpenViBE community
It is currently Sun Jul 21, 2019 7:53 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Dec 09, 2014 6:31 am 
Offline

Joined: Sat Dec 06, 2014 9:31 am
Posts: 1
I tried to compile OpenVibe in Fedora 20 x64 Server on Virtual Box.
Quote:
$ vagrant init chef/fedora-20
$ vagrant up
$ vagrant ssh
$ git clone git://scm.gforge.inria.fr/openvibe/openvibe.git
$ cd openvibe/scripts/
$ ./linux-install_dependencies
$ ./linux-build


However, I got this error.

Quote:
[ 5%] [ 5%] Building CXX object modules/system/CMakeFiles/openvibe-module-system.dir/src/Time.cpp.o
Built target test_fs
[ 6%] Built target openvibe-module-ebml
In file included from /vagrant/openvibe/modules/system/src/Time.cpp:7:0:
/usr/include/c++/4.8.3/ctime:60:11: ???: '::clock_t' has not been declared
using ::clock_t;
^
/usr/include/c++/4.8.3/ctime:61:11: ???: '::time_t' has not been declared
using ::time_t;
^
/usr/include/c++/4.8.3/ctime:62:11: ???: '::tm' has not been declared
using ::tm;
^
/usr/include/c++/4.8.3/ctime:64:11: ???: '::clock' has not been declared
using ::clock;
^
/usr/include/c++/4.8.3/ctime:65:11: ???: '::difftime' has not been declared
using ::difftime;
^
/usr/include/c++/4.8.3/ctime:66:11: ???: '::mktime' has not been declared
using ::mktime;
^
/usr/include/c++/4.8.3/ctime:67:11: ???: '::time' has not been declared
using ::time;
^
/usr/include/c++/4.8.3/ctime:68:11: ???: '::asctime' has not been declared
using ::asctime;
^
/usr/include/c++/4.8.3/ctime:69:11: ???: '::ctime' has not been declared
using ::ctime;
^
/usr/include/c++/4.8.3/ctime:70:11: ???: '::gmtime' has not been declared
using ::gmtime;
^
/usr/include/c++/4.8.3/ctime:71:11: ???: '::localtime' has not been declared
using ::localtime;
^
/usr/include/c++/4.8.3/ctime:72:11: ???: '::strftime' has not been declared
using ::strftime;
^
[ 6%] make[2]: *** [modules/system/CMakeFiles/openvibe-module-system.dir/src/Time.cpp.o] Error 1
make[1]: *** [modules/system/CMakeFiles/openvibe-module-system.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Built target openvibe-module-socket
[ 6%] Built target test_thresholdDataComparison
make: *** [all] Error 2



Why did this happen?

Actually, I could compile when I comment out "#include <ctime>" on the file "openvibe/modules/system/src/Time.cpp"
And, I got the same error in Ubuntu Server 64-bit 14.04.(ubuntu/trusty64-juju) and latest Debian (chef/debian-7.4).


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 09, 2014 8:46 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 778
Location: INRIA Rennes, FRANCE
Hi, the server branches of the distros are not supported (i.e. we don't test builds on them).

I can't reproduce your problem with the desktop version of FC20 x86_64 (Heisenbug).

I suppose there is some difference in their build systems.

Since the error comes from Fedora header and not OpenViBE code, I'm wondering if can you build anything that has

#include <ctime>

in it? Like a hello world?

Edit: similar issues here,

http://ubuntuforums.org/showthread.php?t=342143
http://www.wanderinghill.com/wp/?p=21


Cheers,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.