CPlayerVisualisation::setWidget FAILED error

Making & changing box plugins and external apps
Post Reply
Captain Crash
Posts: 3
Joined: Mon Sep 06, 2010 9:20 am
Contact:

CPlayerVisualisation::setWidget FAILED error

Post by Captain Crash »

Hello

I'm having another problem while designing my own box. When trying to run a scenario with only my box in it I get the following error message:

Code: Select all

[WARNING] CPlayerVisualisation::setWidget FAILED : couldn't retrieve simulated box with identifier (0x00001916, 0x00006173)
What causes this kind of error? I'm a novice C++ programmer so maybe I'm just overlooking just a little thing.

http://www.2shared.com/file/_-bAyihg/er ... oblem.html


Thanks for your time !

bpayan
Posts: 46
Joined: Fri Jan 08, 2010 4:02 pm

Re: CPlayerVisualisation::setWidget FAILED error

Post by bpayan »

Dear Captain Crash

You have made a little mistake, in your file "ovpCBoxAlgorithmResponseAndInteractionErrorDetection.h". You forget the line

Code: Select all

virtual OpenViBE::boolean hasFunctionality(OpenViBE::Kernel::EPluginFunctionality ePF) const { return ePF == OpenViBE::Kernel::PluginFunctionality_Visualization; } 
You can find your file in this link http://www.2shared.com/file/R7xSLTBz/openvibe.html. I made few modifications:

- I added the line write above

- I changed all your images' paths and I made a tree for organized your files like the other plugins

I hope this helps

Baptiste

Captain Crash
Posts: 3
Joined: Mon Sep 06, 2010 9:20 am
Contact:

Re: CPlayerVisualisation::setWidget FAILED error

Post by Captain Crash »

Dear Baptiste

Thank you for your quick response. I will look into it and notify you once I get the plug-in up and running.

Captain Crash

Post Reply