Hi all,
By looking at the archives I see, that there's not much
traffic around here, so now I'll try to raise the statistics
a bit :-) First of all I would like to thanks to all the people
who are responisble for nui/ngl - these are truly fantastic
libraries!!!
Anyway, I've made a first attempt to attach ngl/nui
to my vst plugin. After declaring my plugin class I called:
NGL_PLUGIN_CREATE (FEVPlugin);
I've also created simple editor object (which inherits from
AEffEditor) that I instantied in a plugin constructor.
In this plugin constructor I have only this:
App->GetConsole().Show();
Unfortunately I can't build such a dll.
First I had a problem with "main" function - a definition
in my plugin collided with the one defined in nglPlugin.h.
As a quick hack I just commented out the latter.
But now I've got another error - this time when linking:
plugineditor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall nglConsole::Show(bool)"
([EMAIL PROTECTED]) referenced in function "public:
__thiscall PluginEditor::PluginEditor(class AudioEffect *)"
([EMAIL PROTECTED])
Stop.
plugineditor.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) class nglKernel * App" ([EMAIL PROTECTED])
.\VstPlugins\vst_template.dll : fatal error LNK1120: 2 unresolved externals
and I just don't know what to do with this. I've build ngl and nui
with provided project files (libnui2003.vcproj and libngl2003.vcproj)
as realease static .lib with which I'm linking my project. I haven't
had any problems building nuitest and viewer example applications. I
used cvs version of those lib which I grabbed about 5 days ago.
Am I forgeting something? Or maybe I took wrong approach?
Help :-)
cheers,
Bart
--
"When the only tool you know is a hammer,
every problem looks like a nail."