WorldViz User Forum  

Go Back   WorldViz User Forum > Plug-in development

Thread Tools Rate Thread Display Modes
Old 10-10-2014, 08:05 AM
ICT4Health ICT4Health is offline
Join Date: Oct 2014
Posts: 1
Custom plug-in

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:

Then I created a simple code that do nothing with the informations at this link:

So at the end I created two files:


#include <viz/Extension>
class MyExtension : public viz::Extension
    virtual const char* getName() const { return "My Extension"; }
	virtual ~MyExtension(void);


#include "MyExtension.h"

extern "C" __declspec(dllexport) viz::Extension* CreateVizardExtension(viz::Data &data)
    return new MyExtension();

MyExtension::MyExtension(void) : viz::Extension()



Then I geneerated the MyExtension.dle and tried to load it with Vizard 5 with the following code
import viz
mysensor = viz.add('MyExtension.dle')

The result is the error:

ERROR: Failed to load plug-in: 'MyExtension.dle'

What am I missing?
Reply With Quote
Old 11-14-2014, 12:17 AM
mellott124 mellott124 is offline
Join Date: Jul 2014
Posts: 20
Make sure your plug-in is in the Vizard plug-in folder. Otherwise it seems fine.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding custom faces mjabon Vizard 2 04-01-2009 08: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 04:27 AM
animating custom faces: in search of "open_mouth" morphs vr_boyko Vizard 1 09-16-2004 10:30 AM
Creating Custom Avatar Heads farshizzo Vizard 22 09-12-2004 09:23 PM

All times are GMT -7. The time now is 11:26 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Copyright 2002-2014 WorldViz LLC