#1
|
|||
|
|||
Custom plug-in
Hello,
I need to develop a plug-in for a custom sensor. I have a development licence. I followed the tutorial for the Visual Studio setup here: http://docs.worldviz.com/vizard/#Usi...20SDK%7C_____2 Then I created a simple code that do nothing with the informations at this link: http://docs.worldviz.com/vizard/#Ext...20SDK%7C_____3 So at the end I created two files: MyExtension.h Code:
#include <viz/Extension> class MyExtension : public viz::Extension { public: MyExtension(void); virtual const char* getName() const { return "My Extension"; } protected: virtual ~MyExtension(void); }; MyExtension.cpp Code:
#include "MyExtension.h" extern "C" __declspec(dllexport) viz::Extension* CreateVizardExtension(viz::Data &data) { return new MyExtension(); } MyExtension::MyExtension(void) : viz::Extension() { } MyExtension::~MyExtension(void) { } Then I geneerated the MyExtension.dle and tried to load it with Vizard 5 with the following code Code:
import viz viz.go() mysensor = viz.add('MyExtension.dle') The result is the error: ERROR: Failed to load plug-in: 'MyExtension.dle' What am I missing? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding custom faces | mjabon | Vizard | 2 | 04-01-2009 09:34 PM |
How do I add custom functions to a custom plugin? | reedev | Plug-in development | 7 | 02-01-2009 04:39 AM |
Custom Drop-Down Menus and Sliders | south_bank | Vizard | 2 | 05-20-2008 05:27 AM |
animating custom faces: in search of "open_mouth" morphs | vr_boyko | Vizard | 1 | 09-16-2004 11:30 AM |
Creating Custom Avatar Heads | farshizzo | Vizard | 22 | 09-12-2004 10:23 PM |