Installation error when running linux-build

Post Reply
ariandy
Posts: 25
Joined: Fri Aug 14, 2009 3:11 am

Installation error when running linux-build

Post by ariandy »

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: Select all

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. :)

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

Re: Installation error when running linux-build

Post by ariandy »

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.

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

Re: Installation error when running linux-build

Post by yrenard »

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

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

Re: Installation error when running linux-build

Post by ariandy »

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

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

Re: Installation error when running linux-build

Post by yrenard »

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: Select all

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

Code: Select all

svn checkout --revision HEAD svn://scm.gforge.inria.fr/svn/openvibe
I hope this helps.
Yann

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

Re: Installation error when running linux-build

Post by ariandy »

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

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

Re: Installation error when running linux-build

Post by yrenard »

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

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

Re: Installation error when running linux-build

Post by yrenard »

It compiles fine here...
Yann

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

Re: Installation error when running linux-build

Post by ariandy »

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!

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

Re: Installation error when running linux-build

Post by yrenard »

Nice that it works now :)

Post Reply