OpenViBE forum

The OpenViBE community
It is currently Wed Sep 18, 2019 11:38 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Oct 16, 2009 3:11 pm 
Offline

Joined: Fri Aug 14, 2009 3:11 am
Posts: 25
Hi there,

Few hours ago I was downloading latest version of OpenViBE from subversion (svnversion 1727). Then I run linux-install-dependencies script and the script installs the deps from native packages. After that i rename linux-init_env_command_skeleton to linux-init_env_command, then i call linux-build. The progress ran fine until this stage:

Code:
Scanning dependencies of target OpenViBE-plugins-classification-dynamic
[ 20%] [ 40%] [ 60%] Building CXX object CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/src/ovpCLDAClassifier.o
Building CXX object CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/src/ovp_main.o
Building CXX object CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.o
In file included from /opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.h:8,
                 from /opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:1:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmCommonClassifierListener::onAlgorithmClassIdentifierChanged(OpenViBE::Kernel::IBox&)’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:86: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:103: error: ‘OVTK_Algorithm_Classifier_InputParameterId_FeatureVector’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:104: error: ‘OVTK_Algorithm_Classifier_InputParameterId_FeatureVectorSet’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:105: error: ‘OVTK_Algorithm_Classifier_InputParameterId_Configuration’ was not declared in this scope
In file included from /opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:1:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.h: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmClassifierProcessorDesc::getBoxPrototype(OpenViBE::Kernel::IBoxProto&) const’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.h:67: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
In file included from /opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierTrainer.h:8,
                 from /opt/openvibe/openvibe-plugins/classification/trunc/src/ovp_main.cpp:4:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmCommonClassifierListener::onAlgorithmClassIdentifierChanged(OpenViBE::Kernel::IBox&)’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:86: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:103: error: ‘OVTK_Algorithm_Classifier_InputParameterId_FeatureVector’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:104: error: ‘OVTK_Algorithm_Classifier_InputParameterId_FeatureVectorSet’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmCommonClassifierListener.inl:105: error: ‘OVTK_Algorithm_Classifier_InputParameterId_Configuration’ was not declared in this scope
In file included from /opt/openvibe/openvibe-plugins/classification/trunc/src/ovp_main.cpp:4:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierTrainer.h: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmClassifierTrainerDesc::getBoxPrototype(OpenViBE::Kernel::IBoxProto&) const’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierTrainer.h:81: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
In file included from /opt/openvibe/openvibe-plugins/classification/trunc/src/ovp_main.cpp:5:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.h: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmClassifierProcessorDesc::getBoxPrototype(OpenViBE::Kernel::IBoxProto&) const’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.h:67: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
make[2]: *** [CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/src/ovp_main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmClassifierProcessor::initialize()’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:20: error: ‘OVTK_TypeId_ClassificationAlgorithm’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:48: error: ‘OVTK_Algorithm_Classifier_InputParameterId_FeatureVector’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:49: error: ‘OVTK_Algorithm_Classifier_OutputParameterId_ClassificationValues’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:51: error: ‘OVTK_Algorithm_Classifier_InputParameterId_Configuration’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:63: error: ‘OVTK_Algorithm_Classifier_InputTriggerId_LoadConfiguration’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp: In member function ‘virtual OpenViBE::boolean OpenViBEPlugins::Classification::CBoxAlgorithmClassifierProcessor::process()’:
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:110: error: ‘OVTK_Algorithm_Classifier_OutputParameterId_Class’ was not declared in this scope
/opt/openvibe/openvibe-plugins/classification/trunc/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.cpp:123: error: ‘OVTK_Algorithm_Classifier_InputTriggerId_Classify’ was not declared in this scope
make[2]: *** [CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/src/box-algorithms/classification/ovpCBoxAlgorithmClassifierProcessor.o] Error 1
make[1]: *** [CMakeFiles/OpenViBE-plugins-classification-dynamic.dir/all] Error 2
make: *** [all] Error 2

ariandy@nec:/opt/openvibe/scripts$



I don't have any idea how to fix this, any suggestion would be very helpful.

Thank you. :)


Top
 Profile  
Reply with quote  
PostPosted: Sun Oct 18, 2009 2:07 pm 
Offline

Joined: Fri Aug 14, 2009 3:11 am
Posts: 25
My computer also produce same output as above when installing previous version from svn. So it's my computer which has the problem. Any idea to fix this? :?

Thank you.


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 19, 2009 1:03 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
Hello ariandy,

did you actually update your SVN repository globally or did you update only the scripts subdirectory ? Sorry to ask but this is a common mistake ;)

Best regards,
Yann


Top
 Profile  
Reply with quote  
PostPosted: Mon Oct 19, 2009 2:24 pm 
Offline

Joined: Fri Aug 14, 2009 3:11 am
Posts: 25
Err.. I don't actually catch what do you mean (I'm also new with svn based installation) :oops: , but here's what i did:

$ mkdir openvibe_r1723
$ cd openvibe_r1723
$ svn co --revision 1723 svn://scm.gforge.inria.fr/svn/openvibe

And same routine like above when installing different revision number. Is that what you mean update globally, downloading all the source tree? But still I can't build the software with same error. I'm using Ubuntu 9.04.

Thank you. :D


Top
 Profile  
Reply with quote  
PostPosted: Tue Oct 20, 2009 2:11 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
ariandy,

yes, this was what I meant.

In fact, simply using svn checkout (with no --revision argument) gets the latest revision of the repository. Later, you can svn update to update your sources to later revisions if existing. Most people starting with SVN on OpenViBE use svn update in the scripts directory, so they only update this directory, not the whole repository...

Now given that you completely checked-out the repository, I guess the revision you are trying to compile is broken. I recommend that you take the latest one :

Code:
svn checkout svn://scm.gforge.inria.fr/svn/openvibe


or

Code:
svn checkout --revision HEAD svn://scm.gforge.inria.fr/svn/openvibe


I hope this helps.
Yann


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 22, 2009 7:25 am 
Offline

Joined: Fri Aug 14, 2009 3:11 am
Posts: 25
Well, the error output posted above _is_ from latest version of openvibe which i tried to install on my Ubuntu 9.04. I thought it was a faulty revision so I decided to try installing previous version, but apparently it made same building error.

Update: installation ran smoothly when I move to other computer with Ubuntu 8.10 :D . Maybe i have cmake problem on my 9.04? What do you think?

BTW, color differentiation on multiview is great :D

Thanks


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 22, 2009 2:44 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
ariandy, I use xUbuntu 9.04 daily on x86_64 without any problem.

I need more information on your configuration...

I'll do some testing on x86 also, but I doubt I have any trouble since I already tried this in virtual machines.

Yann


Top
 Profile  
Reply with quote  
PostPosted: Thu Oct 22, 2009 5:41 pm 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
It compiles fine here...
Yann


Top
 Profile  
Reply with quote  
PostPosted: Sat Oct 31, 2009 2:16 pm 
Offline

Joined: Fri Aug 14, 2009 3:11 am
Posts: 25
Thanks for your support, but it seems the problem is on my ubuntu setup. Now OpenVibe runs well on fresh ubuntu installation, so instead of tinkering with OV installation problem i rather use my time to study more about biofeedback and BCIs.

And this thread is closed. Thank you.

And congratulation for new OV release, I'm playing with it now, great!


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 13, 2009 9:46 am 
Offline
Site Admin

Joined: Fri Sep 01, 2006 3:39 pm
Posts: 645
Nice that it works now :)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maël Soucaze.