Missing boxes on Windows

Post Reply
AliceB
Posts: 12
Joined: Wed Apr 04, 2018 9:36 am

Missing boxes on Windows

Post by AliceB »

Good morning !

I have a new problem after my compilation: boxes Acquisition, Samples, VRPN and Visualisation are missing.
But when I launch openvibe-designer from dist\extras-Release I don't get any error concerning plugins.
0 metaboxes are added, is this the problem ? (the final error comes from an old test.mxs I have deleted a few days ago):

[ INF ] Adding plugins from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-*.dll]
[ INF ] Added 10 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-classification.dll]
[ INF ] Added 1 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-data-generation.dll]
[ INF ] Added 1 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-feature-extraction.dll]
[ INF ] Added 9 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-file-io.dll]
[ INF ] Added 24 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-signal-processing.dll]
[ INF ] Added 5 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-stimulation.dll]
[ INF ] Added 19 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-stream-codecs.dll]
[ INF ] Added 2 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-streaming.dll]
[ INF ] Added 3 plugin object descriptor(s) from [C:/work/openvibe/dist/sdk-Release/bin/openvibe-plugins-sdk-tools.dll]
[ INF ] Adding metaboxes from [C:/work/openvibe/dist/sdk-Release/share/openvibe/metaboxes/;C:/Users/alice/AppData/Roaming/openvibe-2.0/metaboxes/]
[ INF ] Added 0 metaboxes from [C:/work/openvibe/dist/sdk-Release/share/openvibe/metaboxes/]
[ INF ] Added 0 metaboxes from [C:/Users/alice/AppData/Roaming/openvibe-2.0/metaboxes/]
[ ERROR ] {Error description} : {Can not open scenario file 'C:/Users/alice/Documents/Stage ENS Lyon/Logiciel/OpenVibe/test.mxs'}, {Error type} : {ErrorType::BadFileRead (code 40)}, {Error location} : {C:\work\openvibe\sdk\kernel\src\kernel\scenario\ovkCScenarioManager.cpp::215}
[ ERROR ] Importing scenario from file [C:/Users/alice/Documents/Stage ENS Lyon/Logiciel/OpenVibe/test.mxs] failed... Current file either is corrupted or is not compatible with the selected scenario importer (ie not an OpenViBE scenario file)
[WARNING] Failed to restore scenario [C:/Users/alice/Documents/Stage ENS Lyon/Logiciel/OpenVibe/test.mxs]
[ INF ] Initialization took 3835 ms[/size]

Thank you very much,
Best,
Alice

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Missing boxes on Windows

Post by jtlindgren »

Hello,

good to hear you got it compiling. The problem seems to be that for some reason, its reading the sdk folder for plugins, whereas it should read the extras folder. You should see something like this,

Code: Select all

[  INF  ] Adding kernel configuration file [E:/ovm2/dist/extras-Release//share/openvibe/kernel/openvibe.conf]
[  INF  ] Adding plugins from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-*.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-acquisition.dll]
[  INF  ] Added 3 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-classification.dll]
[  INF  ] Added 2 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-contrib-file-io.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-contrib-misc.dll]
[  INF  ] Added 2 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-contrib-network-io.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-contrib-python.dll]
[  INF  ] Added 15 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-contrib-signal-processing.dll]
[  INF  ] Added 3 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-data-generation.dll]
[  INF  ] Added 17 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-designer-advanced-visualization.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-designer-examples.dll]
[  INF  ] Added 3 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-designer-simple-visualization.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-dll-bridge.dll]
[  INF  ] Added 6 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-evaluation.dll]
[  INF  ] Added 5 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-examples.dll]
[  INF  ] Added 9 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-file-io.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-matlab.dll]
[  INF  ] Added 3 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-network-io.dll]
[  INF  ] Added 10 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-classification.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-data-generation.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-feature-extraction.dll]
[  INF  ] Added 9 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-file-io.dll]
[  INF  ] Added 24 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-signal-processing.dll]
[  INF  ] Added 5 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-stimulation.dll]
[  INF  ] Added 19 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-stream-codecs.dll]
[  INF  ] Added 2 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-streaming.dll]
[  INF  ] Added 3 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-sdk-tools.dll]
[  INF  ] Added 19 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-signal-processing.dll]
[  INF  ] Added 10 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-simple-visualisation.dll]
[  INF  ] Added 9 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-stimulation.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-streaming.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-tests.dll]
[  INF  ] Added 1 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-tools.dll]
[  INF  ] Added 4 plugin object descriptor(s) from [E:/ovm2/dist/extras-Release//bin/openvibe-plugins-vrpn.dll]
The key point is the difference between 'extras-Release' and 'sdk-Release', the diff in the path components before 'dist' in your log and mine are of no importance in this case.

One really dirty way to hack that (without actually solving the problem) if you want is to just copy the dll files from extras-Release to sdk-Release thats mentioned in your copy paste. I'd rather advice getting the path fixed though (not sure why it points to the sdk if you launch from extras-release; my best guess at the moment is something must have gone funny somewhere in your build).

Cheers,
Jussi

AliceB
Posts: 12
Joined: Wed Apr 04, 2018 9:36 am

Re: Missing boxes on Windows

Post by AliceB »

Good morning Jussi,

Thank you for your answer !
I have all the dll files in extras-Release as well but the build still look for the dll files in sdk-Release.
But when I am looking for one "invisible" boxe in the search bar, they all appear. That is strange but they work !

Cheers,
Alice :)

Post Reply