# FL Studio refuses to load example plugins

**URL:** <https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484>\
**Category:** Windows\
**Created:** [1 October 2021 23:33 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484 "2021-10-01T23:33:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Mad\_Duck](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/the_mad_duck/32/207_2.png) [@The\_Mad\_Duck](https://iplug2.discourse.group/u/The_Mad_Duck)\
**Post date:** [1 October 2021 23:33 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/1 "2021-10-01T23:33:15Z")

</div>

Hello, I am new to using this plugin interface. I have followed the provided windows tutorial, and I have made sure the file is set to compile with the FL Studio setting under `select_host.py`. I do receive one strange error when I compile, but the program proceeds, and even works within the Visual Studio debugger as intended.

`|Error|MSB3073|The command CALL C:\Users\minio\iPlug2\Examples\IPlugInstrument\scripts\postbuild-win.bat .vst3 IPlugInstrument Win32 1 C:\Users\minio\iPlug2\Examples\IPlugInstrument\build-win\vst3\Win32\Debug\IPlugInstrument.vst3 C:\Program Files (x86)\VstPlugins C:\Program Files\VstPlugins C:\Program Files (x86)\Common Files\VST3 C:\Program Files\Common Files\VST3 C:\Program Files (x86)\Common Files\Avid\Audio\Plug-Ins C:\Program Files\Common Files\Avid\Audio\Plug-Ins C:\Users\minio\iPlug2\Examples\IPlugInstrument\build-win C:\Users\minio\iPlug2\Examples\IPlugInstrument\projects\..\..\..\Dependencies\IPlug\VST3_SDK\doc\artwork\VST_Logo_Steinberg.ico C:\Users\minio\iPlug2\Examples\IPlugInstrument\projects\..\..\..\Dependencies\IPlug\AAX_SDK\Utilities\PlugIn.ico C:\Users\minio\iPlug2\Examples\IPlugInstrument\projects\..\..\..\Scripts\create_bundle.bat<br>:VCEnd exited with code 9009.|IPlugInstrument-vst3|C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets|155||`

FL Studio returns this error when I try to load it

> There was a problem opening the plugin IPlugInstrument for an unknown reason. Please make sure it was installed correctly.

My other question, am I putting the compiled program in the proper folder? My current path for it is

`C:\Program Files\Common Files\VST3\IPlugInstrument.vst3`  
To clarify, this is the folder within `build-win`

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [2 October 2021 09:57 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/2 "2021-10-02T09:57:02Z")

</div>

It looks like you are building a 32 bit binary. Maybe choosing x64 will work?

The post build script may be failing if some of these VST folders dont exist

If your paths are different, you can specify them here:

> <https://github.com/iPlug2/iPlug2/blob/796ea73884474bcb37a5bd6d1eccd5ba534987cc/common-win.props#L40>

---

<div class="post-metadata">

**Author:** ![The\_Mad\_Duck](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/the_mad_duck/32/207_2.png) [@The\_Mad\_Duck](https://iplug2.discourse.group/u/The_Mad_Duck)\
**Post date:** [2 October 2021 14:58 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/3 "2021-10-02T14:58:56Z")

</div>

I’ll give this a try and get back to you, thank you!

---

<div class="post-metadata">

**Author:** ![The\_Mad\_Duck](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/the_mad_duck/32/207_2.png) [@The\_Mad\_Duck](https://iplug2.discourse.group/u/The_Mad_Duck)\
**Post date:** [2 October 2021 17:33 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/4 "2021-10-02T17:33:04Z")

</div>

The issue still persists, here is a copy of my paths there:

```auto
    <VST2_32_HOST_PATH Condition="'$(VST2_32_HOST_PATH)'==''">$(ProgramFiles)\Image-Line\FL Studio 20\FL.exe</VST2_32_HOST_PATH>
    <VST2_64_HOST_PATH Condition="'$(VST2_64_HOST_PATH)'==''">$(ProgramFiles)\Image-Line\FL Studio 20\FL64.exe</VST2_64_HOST_PATH>
    <VST3_32_HOST_PATH Condition="'$(VST3_32_HOST_PATH)'==''">$(ProgramFiles)\Image-Line\FL Studio 20\FL.exe</VST3_32_HOST_PATH>
    <VST3_64_HOST_PATH Condition="'$(VST3_64_HOST_PATH)'==''">$(ProgramFiles)\Image-Line\FL Studio 20\FL64.exe</VST3_64_HOST_PATH>
    <VST3_32_PATH Condition="'$(VST3_32_PATH)'==''">$(CommonProgramFiles)\VST3</VST3_32_PATH>
    <VST3_64_PATH Condition="'$(VST3_64_PATH)'==''">$(CommonProgramW6432)\VST3</VST3_64_PATH>
    <VST2_32_PATH Condition="'$(VST2_32_PATH)'==''">$(ProgramFiles)\VstPlugins</VST2_32_PATH>
    <VST2_64_PATH Condition="'$(VST2_64_PATH)'==''">$(ProgramW6432)\VstPlugins</VST2_64_PATH>
    <AAX_32_PATH Condition="'$(AAX_32_PATH)'==''">$(CommonProgramFiles)\Avid\Audio\Plug-Ins</AAX_32_PATH>
    <AAX_64_PATH Condition="'$(AAX_64_PATH)'==''">$(CommonProgramW6432)\Avid\Audio\Plug-Ins</AAX_64_PATH>

```

Also, when I try to compile the aax instead it tells me it cannot open file `AAXLibrary_x64_D.lib`, am I missing a dependency there? I added the AAX\_SDK as instructed in `README.md`.

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [2 October 2021 19:45 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/5 "2021-10-02T19:45:20Z")

</div>

It’s possible you don’t have write permissions to the VST3 folders. Did you do this part of the tutorial:

> Navigate to C:\Program Files\Common Files\VST3 in explorer and right click, selecting “Properties”. On the “Security” tab, give the group “Users” full control

---

<div class="post-metadata">

**Author:** ![The\_Mad\_Duck](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/the_mad_duck/32/207_2.png) [@The\_Mad\_Duck](https://iplug2.discourse.group/u/The_Mad_Duck)\
**Post date:** [2 October 2021 19:54 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/6 "2021-10-02T19:54:01Z")

</div>

Full control is enabled already it appears.  
 ![image](https://global.discourse-cdn.com/free1/uploads/iplug2/original/1X/fe9292fea6233668415182c96bbb0521c8ed0353.png)

Is there another part of the tutorial I’m missing? I followed the one [here](https://github.com/iPlug2/iPlug2/wiki/02_Getting_started_windows).

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [2 October 2021 20:15 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/7 "2021-10-02T20:15:12Z")

</div>

No that is the tutorial.

```auto
C:\Users\minio\iPlug2\Examples\IPlugInstrument\projects\..\..\..\Dependencies\IPlug\VST3_SDK\doc\artwork\VST_Logo_Steinberg.ico C:\Users\minio\iPlug2\Examples\IPlugInstrument\projects\..\..\..\Dependencies\IPlug\AAX_SDK\Utilities\PlugIn.ico

```

do these files exist?

---

<div class="post-metadata">

**Author:** ![The\_Mad\_Duck](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/the_mad_duck/32/207_2.png) [@The\_Mad\_Duck](https://iplug2.discourse.group/u/The_Mad_Duck)\
**Post date:** [2 October 2021 20:32 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/8 "2021-10-02T20:32:11Z")

</div>

Yes, I’ve found both in their respective paths.

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [2 October 2021 20:45 UTC](https://iplug2.discourse.group/t/fl-studio-refuses-to-load-example-plugins/484/9 "2021-10-02T20:45:22Z")

</div>

Not sure what is going on but create\_bundle.bat can’t find some files
