problem with installation

Post Reply
_jn_
Posts: 2
Joined: Sun Oct 11, 2009 9:16 am

problem with installation

Post by _jn_ »

Hi!

I am trying to install your software from:
OpenViBE 0.4.0 RC 4 (svn 1651) sources (2009/06/29)

I tried to follow the instructions, and did:
./linux-install_dependencies
(after several problems -- installing some packages through apt-get, it worked)
cp linux-init_env_command-skeleton linux-init_env_command
./linux-build
and I get:
In file included from /home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/ovkCKernelObjectFactory.cpp:8:
/home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/visualisation/ovkCVisualisationTree.h:9:21: error: gtk/gtk.h: No such file or directory
In file included from /home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/ovkCKernelObjectFactory.cpp:8:
/home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/visualisation/ovkCVisualisationTree.h:270: błąd: ISO C++ forbids declaration of `GtkTreeStore, with no type
/home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/visualisation/ovkCVisualisationTree.h:270: błąd: invalid use of `::,
/home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/visualisation/ovkCVisualisationTree.h:270: błąd: expected `;, before `*, token
/home/jn/openvibe/openvibe-kernel-omk/trunc/src/openvibe-kernel/kernel/visualisation/ovkCVisualisationTree.h:271: błąd: field `m_oInternalTreeNode, has incomplete type
make[2]: *** [src/CMakeFiles/OpenViBE-kernel-dynamic.dir/openvibe-kernel/kernel/ovkCKernelObjectFactory.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[1]: *** [src/CMakeFiles/OpenViBE-kernel-dynamic.dir/all] Błąd 2
make: *** [all] Błąd 2

What should I do now?

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: problem with installation

Post by yrenard »

Hello _In_, thank you for your interest in OpenViBE and welcome on this forum,

It looks like you don't have gtk development files installed. The ./linux-install_dependencies script should have compiled a version of this library but it looks like it did not. What linux distro are you using ?
(after several problems -- installing some packages through apt-get, it worked)
What do you mean, can you post e.g. the gtk.log file (will probably explain why GTK is not present)

For your information, the current SVN version of this script uses apt-get on Ubuntu and yum on Fedora in order to install the native packages (this avoids compilations and potential errors). Depending on your distro / time to tweak the script you currently have, you may want to build the sources from the SVN or wait for the new release in a few weeks.

Best regards,
Yann

_jn_
Posts: 2
Joined: Sun Oct 11, 2009 9:16 am

Re: problem with installation

Post by _jn_ »

Thank you for your reply :)

The distribution I use is Ubuntu 8.04.3

I had libktk2.0-dev installed, however it was located in /usr/include/gtk-2.0/gtk

so I linked gtk to it.
But it resulted in other problems -- so I gave up and got the freshest version from svn and it builds perfectly ;)

I will now play around with it :)

Thanks!

yrenard
Site Admin
Posts: 645
Joined: Fri Sep 01, 2006 3:39 pm
Contact:

Re: problem with installation

Post by yrenard »

Enjoy ;)

Post Reply