# Introujucer not copying stk module files

**URL:** <https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182>\
**Category:** General JUCE discussion\
**Created:** [January 10, 2014, 6:32pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182 "2014-01-10T18:32:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![turntable](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@turntable](https://forum.juce.com/u/turntable)\
**Post date:** [January 10, 2014, 6:32pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182/1 "2014-01-10T18:32:34Z")

</div>

Howdy

I'm using the stk module, and having some problems with introjucer.

Somehow, the internal 'stk' folder, within the module folder, is not being copied...though all the rest of the files are.

I've checked the module\_info file and it all looks in order, compared to the other modules, but it won't copy that subdirectory.

I should note too, that the IJ complains it 'cant find module at specified path'...even though I was able to add it just fine from the menu. If I manually change the 'path to module' to the module directory itself ("../JUCE/modules/stk\_module"), it seems to find it.

&nbsp;

Any idea where to look to track this one down?

&nbsp;

Thanks

---

<div class="post-metadata">

**Author:** ![turntable](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@turntable](https://forum.juce.com/u/turntable)\
**Post date:** [January 10, 2014, 6:50pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182/2 "2014-01-10T18:50:56Z")

</div>

Still not sure about the 'cannot find at specified path' thing...but after deleting the copied folder, setting the path right, it sorted itself.

---

<div class="post-metadata">

**Author:** ![turntable](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@turntable](https://forum.juce.com/u/turntable)\
**Post date:** [January 13, 2014, 4:31pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182/3 "2014-01-13T16:31:19Z")

</div>

Something is making it so when I save with the Introjucer, it wont copy the included directory in the stk module folder.

I'm digging deeper...

---

<div class="post-metadata">

**Author:** ![turntable](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@turntable](https://forum.juce.com/u/turntable)\
**Post date:** [January 13, 2014, 4:59pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182/4 "2014-01-13T16:59:09Z")

</div>

Seems like removing the .git folder from the module folder did the trick.

---

<div class="post-metadata">

**Author:** ![turntable](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@turntable](https://forum.juce.com/u/turntable)\
**Post date:** [April 22, 2014, 2:24pm UTC](https://forum.juce.com/t/introujucer-not-copying-stk-module-files/12182/5 "2014-04-22T14:24:05Z")

</div>

Back again....

I went and restructured some of my folders (renamed the main folders that the Jucer files sit in) and this problem has come back again.

&nbsp;

Whenever I hit 'save project' in the introjucer, the stk module is not copying correctly. What happens is it copies the stk.h file, but none of the other files in the directory, or even the stk sub-folder containing all the code.

&nbsp;

The juce\_module\_info code (looks ok to me?):

```
{
  "id": "stk",
  "name": "STK Library",
  "version": "4.4.3",
  "description": "STK Library for audio sysnthesis and effects",
  "website": "https://ccrma.stanford.edu/software/stk",
  "license": "GPL/Commercial",

  "dependencies": [{ "id": "juce_core", "version": "matching" }],

  "include": "stk.h",

  "compile": [ { "file": "stk.cpp", "target": "! xcode" },
                      { "file": "stk.mm", "target": "xcode" } ],

  "browse": ["stk/*"]
}
```

&nbsp;

The stk.h file that does copy (it should be noted...this is NOT the same file that is in the stk\_module folder):

```
// This is an auto-generated file to redirect any included
// module headers to the correct external folder.

#include "/stk/stk.h"
```

Does that file get created by the introjucer, and how can I figure out why that might be failing? My other JUCE modules do not behave the same way.

I'd like to get this module working via the introjucer as its so handy, but in a pinch I will just try to include the code another way.

Thank yall

&nbsp;
