OpenViBE forum

The OpenViBE community
It is currently Wed Oct 23, 2019 10:21 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Boxes ignored
PostPosted: Wed May 29, 2019 8:37 am 
Offline

Joined: Fri Feb 22, 2019 3:27 pm
Posts: 15
Hi again,

I seem to have a problem with the Designer of openvibe, I developed different boxes of visualization but systematically when I launch the designer one of the warnings is :
Code:
[WARNING] Duplicate plugin object descriptor class identifier [Hand] and [VisualInterface]... second one is ignored

But the two boxes are different, with different names.
Here are the codes introduced as boxes.

https://github.com/TristanVenot/Diffusion.git

I really don't know how it manages to ignore it.

Thanks in advance,
Tristan Venot


Top
 Profile  
Reply with quote  
 Post subject: Re: Boxes ignored
PostPosted: Wed May 29, 2019 2:01 pm 
Offline

Joined: Wed Oct 31, 2018 9:14 am
Posts: 108
HI,
The Identifier of your class must be different the skeleton generate a code for that but you can write anything

Code:
#define OVP_ClassId_BoxAlgorithm_VisualInterface (0x9043ece1, 0xc2dc5b71)
#define OVP_ClassId_BoxAlgorithm_VisualInterfaceDesc (0xad428a6b, 0xa842ddd6)

#define OVP_ClassId_BoxAlgorithm_Hand (0x9043ece1, 0xc2dc5b71)
#define OVP_ClassId_BoxAlgorithm_HandDesc (0xad428a6b, 0xa842ddd6)


Top
 Profile  
Reply with quote  
 Post subject: Re: Boxes ignored
PostPosted: Fri May 31, 2019 12:41 pm 
Offline

Joined: Fri Feb 22, 2019 3:27 pm
Posts: 15
Hi !

Thank you so much !!
I am sorry it was so obvious...
However I tried and it still gives the same result...
A thing strange to make it work is to start in the main.cpp to put first VisualInterfaceDesc and then HandDesc.
But I don't know why...


Tristan V.


Top
 Profile  
Reply with quote  
 Post subject: Re: Boxes ignored
PostPosted: Mon Jun 03, 2019 12:33 pm 
Offline

Joined: Wed Oct 31, 2018 9:14 am
Posts: 108
This is a compilation problem in which I often deal .... If you change only one part of a header (for example add a member or in your case change the identifier) the compilation takes into account, but not the compiled version ...... (logical where are you?) at times I had crashes because I was adding members to a class the only way to force the general update is to change the main.cpp what you had to do. It is not the modification of the order, but the modification of the file which forced the recompilation of an element personally often I add or remove an empty line.


Top
 Profile  
Reply with quote  
 Post subject: Re: Boxes ignored
PostPosted: Thu Jul 04, 2019 1:47 pm 
Offline

Joined: Fri Feb 22, 2019 3:27 pm
Posts: 15
Hi,

Yes I came to the same conclusion, you need to change the main.cpp if you want to add settings for example, which is completely odd, I did not see anywhere why this problem could occur with a c++ software. But thanks for taking your time for answering, it seems that there are a lot of untold mystery elements in OpenVibe, I tried to create a short user guide for my team to avoid different situations I had. Is there a platform for the small external contributions to help other people or OpenVibe relies only on the Tutorial website and the forum ?

Best regards,
Tristan V.


Top
 Profile  
Reply with quote  
 Post subject: Re: Boxes ignored
PostPosted: Thu Jul 04, 2019 3:28 pm 
Offline

Joined: Wed Oct 31, 2018 9:14 am
Posts: 108
I try to correct a maximum of oddity but there is a lot of work.^^
The simplifcation of the build system is a way (maybe) to correct this.
Yes it's the only place but if you want to contribute to the tutorials I can add your tutorial (I have to check but normally written in markdown)
Thibaut


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 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.