COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 03-02-2020, 11:34 AM   #1
nukleus
Human being with feelings
 
Join Date: Jun 2018
Posts: 3
Default iPlug2 with Faust on Windows

Hello Folks,

I currently try to build a basic plugin using iPlug2 with Faust, but I have a hard time with this.

I pulled and compiled LLVM and Faust (I am however not sure if Faust has LLVM support enabled).
I then tried to create a Faust-Block using the FAUST_BLOCK macro from IplugFaustGen.h.
The code looks like this:
Code:
 FAUST_BLOCK(osc, mOsc, "D:/devel/tools/faust.src/examples/generator/osc.dsp", 1, 1);
.
As described in this paper:
http://www.ifc18.uni-mainz.de/papers/larkin.pdf
Then I tried to compile and got the following error:
Code:
1>TestSynth.obj : error LNK2001: unresolved external symbol "public: virtual __cdecl FaustGen::~FaustGen(void)" (??1FaustGen@@UEAA@XZ)
1>TestSynth.obj : error LNK2001: unresolved external symbol "public: __cdecl FaustGen::FaustGen(char const *,char const *,int,int,char const *,char const *,char const *)" (??0FaustGen@@QEAA@PEBD0HH000@Z)
I found out that these are defined in IplugFaustGen.cpp but the file contains an <<includeIntrinsic>> Statement which I don’t understand and which would not compile. I am also unable to find further information on how to get this running so I am somewhat lost and would greatly appreciate some support here.
nukleus is offline   Reply With Quote
Old 03-03-2020, 09:50 AM   #2
AHarker
Human being with feelings
 
Join Date: Jul 2010
Posts: 19
Default

Oli is the best person to ask about this, but there might also be other people able to answer compilation stuff for Faust - best place is on the Slack channel which is linked from the iplug2 GitHub readme.
AHarker is offline   Reply With Quote
Old 03-03-2020, 03:43 PM   #3
olilarkin
Human being with feelings
 
Join Date: Apr 2009
Location: UK
Posts: 1,216
Default

as discussed on slack, seem to be some problems with faust JIT on windows 10 at the moment.

I updated the example project with some notes

https://github.com/iPlug2/iPlug2/blo...tDSP/README.md
__________________
VirtualCZ | pMix | Endless Series | iPlug2 | Linkedin | Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)
olilarkin is offline   Reply With Quote
Old 03-04-2020, 04:34 AM   #4
nukleus
Human being with feelings
 
Join Date: Jun 2018
Posts: 3
Default

Hi and thanks again, Oli, for your help.

Actually I wanted to write something about our tries to get this working on windows here but it is already all in the updated notes. So nothing to do here.
nukleus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT -7. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.