What could cause a vst plugin not to work under Linux ?!
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Hi all,
sorry for bad english ...
does anyone know about specific changes that have to be done to the examples from the sdk to make a vst plugin ( effect ) working under linux ( jack !! ) ?!
I tried my example - basically taken from ADelayEditGUI sdk example with no success. Also the original DelayEditGUI nor the Again ( which has no GUI ) showed up by double clicking in Studio To Go. ( Loaded standalone by jack linux audio server iirc )
All are working in Cubase btw ...
I tried some other plugins ( albino, kjaerhus classic effects ) which are ok ...
I've tried to change the name of the dll export function to PluginInstance to avoid the the compiler / linker ? ) warning about returning wrong type, but it didn't help. ( This has been discussed here lately - in an other context ?! )
Unfortunately I have no more ideas where to start from
I use VC++ 2003.
Can anyone help, please ?!
Thomas
sorry for bad english ...
does anyone know about specific changes that have to be done to the examples from the sdk to make a vst plugin ( effect ) working under linux ( jack !! ) ?!
I tried my example - basically taken from ADelayEditGUI sdk example with no success. Also the original DelayEditGUI nor the Again ( which has no GUI ) showed up by double clicking in Studio To Go. ( Loaded standalone by jack linux audio server iirc )
All are working in Cubase btw ...
I tried some other plugins ( albino, kjaerhus classic effects ) which are ok ...
I've tried to change the name of the dll export function to PluginInstance to avoid the the compiler / linker ? ) warning about returning wrong type, but it didn't help. ( This has been discussed here lately - in an other context ?! )
Unfortunately I have no more ideas where to start from
I use VC++ 2003.
Can anyone help, please ?!
Thomas
-
- KVRAF
- 2458 posts since 3 Oct, 2002 from SF CA USA NA Earth
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Thanks Borogrove,
Thanks anyway !!
Thomas
No, it should work with windows dlls. I sucessfully tested albino2 and some of Torben Classic effects. I'm sure they build with VC++ ...I don't know anything at all about linux and vst, but I would assume that linux wants .so format dynamic libraries, and I would assume that VC doesn't know how to make those. I think you're going to want to build with gcc.
Thanks anyway !!
Thomas
-
- KVRAF
- 1940 posts since 16 Aug, 2004 from Vienna, Austria
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Thanks Hermann,
No, i'm building my plugin under windows with VC++ 2003 and it works well with Cubase.
I wonder if the VSTGUI could cause a problem ...
Any ideas ?!
Thomas
No, i'm building my plugin under windows with VC++ 2003 and it works well with Cubase.
I wonder if the VSTGUI could cause a problem ...
Any ideas ?!
Thomas
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
I'm using Studio ToGo from Fervent Music. It's a bootable CD ( Debian I guess ) from the developers of Rosegarden. Right now I don't know what I'm actually doing :What do you use on Linux that allows you to run Win32 plugins there?
It is jack a linux audio server which loads vst dlls via dssi-vst wrapper, but I could be wrong. There are also other possibilities ( something called fst ) but I don't know exactly yet ...
Once Jack has recognized a vst plugin it should also show up in Rosegarden.
If you want know to know more visit
www.rosegardenmusic.com
Regards,
Thomas
-
- KVRist
- 300 posts since 11 Feb, 2003
I don't know when I will have time to try since the linux is at work, will see...
Anyway I found this useful page about VST in linux:
http://djcj.org/LAU/ladspavst/
Anyway I found this useful page about VST in linux:
http://djcj.org/LAU/ladspavst/
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Thanks ! I already saw this page.Anyway I found this useful page about VST in linux:
After taking a closer look I saw that CMT Bitcrusher an ZR-3 are the only plugins that work and come with source code.
Maybe I should try to run/compile them to learn more ...
Thanks !
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Ok, I solved the problem :
The example DelayEditGUI from the VST SDK compiled with VC++ 6.0 works ok ( at least it shows up when loaded by jack ) but it doesn't work ( under Linux !! ) when compiled with VC++ 2003 ...
I don't know what the problem is ( yet ) ...
Thomas
The example DelayEditGUI from the VST SDK compiled with VC++ 6.0 works ok ( at least it shows up when loaded by jack ) but it doesn't work ( under Linux !! ) when compiled with VC++ 2003 ...
I don't know what the problem is ( yet ) ...
Thomas
-
- KVRian
- 1325 posts since 1 Sep, 2004
Look at the VC++ .Net compiling options. Probably you have some dependencies from external runtimes (in form of DLLs), which aren't with VC++ 6.EagleEye wrote:Ok, I solved the problem :
The example DelayEditGUI from the VST SDK compiled with VC++ 6.0 works ok ( at least it shows up when loaded by jack ) but it doesn't work ( under Linux !! ) when compiled with VC++ 2003 ...
I don't know what the problem is ( yet ) ...
Thomas
That's a common thing for many problems with the .Net compilers from Microsoft. The executables require often some special runtime dlls. If not installed, the programs (and dlls) fail to load.
You should staticly link all the dependencies (as far as possible) to prevent those problems.
-
- KVRian
- 1325 posts since 1 Sep, 2004
No the Classic plugins are obviously developed with Borland compilers.EagleEye wrote:Thanks Borogrove,
No, it should work with windows dlls. I sucessfully tested albino2 and some of Torben Classic effects. I'm sure they build with VC++ ...I don't know anything at all about linux and vst, but I would assume that linux wants .so format dynamic libraries, and I would assume that VC doesn't know how to make those. I think you're going to want to build with gcc.
Thanks anyway !!
Thomas
-
- KVRist
- Topic Starter
- 99 posts since 25 Apr, 2002
Thank you !