Jump to content

Can't load AppOculus


photo

Recommended Posts

Posted

Hello!  I'm trying to add VR support to existing Unigine application developed in C++.  I copied AppOculus plugin to application folder.  When I starting application Unigine complains about missing CreatePlugin() function:

 

14:59:55 ---- Plugins ----
14:59:55 Loading "AppOculus_double_x64.dll"...
14:59:55 Loading "C:/project/Bin/AppOculus_double_x64.dll"...
14:59:55 Loading "C:/project/Bin/AppProjection_double_x64.dll"...
14:59:55 Loading "C:/project/Bin/Unigine_double_x64.dll"...
14:59:55 EnginePlugins::addPlugin(): can't find CreatePlugin() function in "C:/project/Bin/Unigine_double_x64.dll" library
14:59:55 Plugins initialization: 28ms

 

Any ideas how this issue can be solved?

Posted

Thanks for info!  Now I got next error:

 

16:09:33 AppOculusPlugin::AppOculusPlugin(): App is not NULL

 

I'm passing -extern_plugin AppOculus option to init function and non-null app argument.  What is correct way to init AppOculus plugin?

Posted
15 hours ago, silent said:

If you are using non-default main app (engine is embedded into qt /sdl or wpf/winforms) none of the app plugins will work.

More information you can find in the documentation: https://developer.unigine.com/en/docs/2.12/principles/render/output/stereo/appoculus/

 

Yes, we are using non-default main app.  Engine is embedded into qt.  I followed your link but I failed to find what should I do in this situation.  Is it possible to make non-default main app compatible with plugin?

Posted

Bad news... but thanks for quick reply!

×
×
  • Create New...