grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

Can't import online myFaustProgram.dll file in a D.A.W. #178

Open ilias-audio opened 6 years ago

ilias-audio commented 6 years ago

Hello Everyone,

i'm trying to use Faust as a quick vst prototyper and I really can't make it work. I first tried the online version which export a windows vst as a .dll file. Then I put it in my steinberg (x86) folder. It doesn't work either in Reaper-don't show in the list- or in Audacity-Error: Importer::Import: Opening failed. -. I really don't know how to make it work.

I tried the live version on Windows, same problem. I also tried the version from source (compiled with cmake and everything) impossible to get the libraries linked to my build -_-

I know it's may be not the right place to talk about it, but it's hard to find a forum about it.

thank you for your help

Ilias

ilias-audio commented 6 years ago

Can it be because you don't support Windows 10 ?

sletz commented 6 years ago

@dfober; @orlarey : any idea here?

dfober commented 6 years ago

Windows 10 is supposed to be supported but we don't have so much experience. Difficult to say anything without more details about the problem. Maybe there are some system log with more details?

ilias-audio commented 6 years ago

Hi, I've found a software called Dependency Walker and when I try the exemple LPF I got : dependency

I don't know which other relevent log I could share to you.

thanks

Ilias

dfober commented 6 years ago

Dependency Walker could be useful. Could you close the sub dependencies (just keep one hierarchy level)?

ilias-audio commented 6 years ago

dep1

dfober commented 6 years ago

looks like everything is ok (at dependencies level) Could you send me the dll? Could you also make sure that the architecture is consistent between your host application and the dll. It looks like your applications are x86 (32 bits) and the dll seems to be 64bits.

ilias-audio commented 6 years ago

I'm using Reaper x64, It's just Dependency Walker that is in x86.

LPF.zip

Thanks

Ilias

agraef commented 6 years ago

looks like everything is ok (at dependencies level)

Well, there's that missing libwinpthread-1.dll dependency which might certainly cause the reported issue. I'm not sure where that comes from, but that looks like an msys/mingw dll to me.

ilias-audio commented 6 years ago

For that one I used the FaustLive to generate the .dll, msys/mingw is for the build process no ?

agraef commented 6 years ago

FL itself doesn't create the dll, that's done somewhere on one of Grame's servers. I'm not sure what's the build environment for Windows there, maybe @dfober or someone else from Grame can comment on that. But my guess is that if you can get hold of that dll file and put it alongside the VST or anywhere where Windows finds it, the VST should hopefully load all right. (Well, there's still the 32 vs. 64 bit issue, but 64 bit Reaper should be able to work with either architecture IIRC.)