<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Linker error when using JUCE classes in third party node template]]></title><description><![CDATA[<p dir="auto">Dear HISE community,</p>
<p dir="auto">related to my first post, I have a couple more issues that I could use your help for.</p>
<p dir="auto">I wanted to integrate a JUCE effect for which I have the c++ source code in the form of AudioProcessor.h/.cpp.<br />
This code compiles and works with JUCE 7 and 8.</p>
<p dir="auto"><strong>Question 1.</strong> Will HISE be bumped to a more recent version of JUCE at some point?</p>
<p dir="auto">For now, I created a backport for JUCE 6.</p>
<p dir="auto">To integrate it into HISE, I followed the described procedure:</p>
<ol>
<li>Tools -&gt; Create C++ third party node template</li>
<li>I copied the AudioProcessor.cpp/.h file into the <code>src/</code> subdirectory.</li>
<li>I wrote glue code to actually use the code in the generated template.</li>
<li>I included both AudioProcessor.cpp and AudioProcessor.h in the template file.</li>
<li>I compile the code using Export -&gt; Compile DSP networks as dll</li>
</ol>
<p dir="auto">Now the compilation works well, however the linking fails, indicating that code from juce::AudioProcessor has not been linked.<br />
More precisely, no code seems to have been compiled for arm64 (I'm compiling a MacBook with Intel hardware, using XCode and MacOS Ventura).<br />
Some other classes from JUCE compile and link without any problems.</p>
<p dir="auto">When I actually copy the definitions of the missing functions from JUCE (that comes with HISE) into the third party node template, the linker errors vanish.<br />
(Please note, that I did not remove all linker errors since I do not consider that a solution to the problem, I just wanted to check if the deinitions are actually missing).</p>
<p dir="auto"><strong>Question 2.</strong> So I assume that the source files (at least containing juce::AudioProcessor) are not linked properly in the export sequence of HISE?</p>
<p dir="auto">The last question assumes that some node with dials has been added to the DSP network.<br />
Please also assume that HISE has beed compiled as VST3 plugin and is used in a DAW (I'm using FL Studio).</p>
<p dir="auto"><strong>Question 3:</strong> Is there a way to automate dials/sliders/... of HISE in the DAW? Again related to my first post, I wish to test the effect I'm designing right inside the DAW. (Afterall I assume that is the intended use-case of the plugin-version of HISE?)</p>
<p dir="auto">Thank you very much in advance!</p>
]]></description><link>https://forum.hise.audio/topic/10164/linker-error-when-using-juce-classes-in-third-party-node-template</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 04:47:57 GMT</lastBuildDate><atom:link href="https://forum.hise.audio/topic/10164.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 30 Jul 2024 13:27:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Linker error when using JUCE classes in third party node template on Thu, 08 Aug 2024 09:11:49 GMT]]></title><description><![CDATA[<p dir="auto">Found the file: <code>hi_backend/backend/ProjectDllTemplate.cpp</code></p>
]]></description><link>https://forum.hise.audio/post/84463</link><guid isPermaLink="true">https://forum.hise.audio/post/84463</guid><dc:creator><![CDATA[spider]]></dc:creator><pubDate>Thu, 08 Aug 2024 09:11:49 GMT</pubDate></item><item><title><![CDATA[Reply to Linker error when using JUCE classes in third party node template on Tue, 06 Aug 2024 12:26:12 GMT]]></title><description><![CDATA[<p dir="auto">Update:</p>
<p dir="auto">I tested the same workflow on Windows and encoutered the same problem (linker errors). This made me investigate a little more and I found the <strong>reasons</strong> for the linker error:</p>
<ol>
<li>I have another installation of JUCE (v. 8.0.0) that may have overriden the module paths. I had to make sure that the module is set to the version shipped with HISE.</li>
<li>The <code>AutogeneratedProject.jucer</code> that is generated does not include the "juce_audio_processors" module. Add it and it works, on both mac and Windows.</li>
</ol>
<p dir="auto">I don't know why this choice was made and if there is a way in the UI of HISE to change which modules are included in the auto generated project.<br />
Alternatively, if someone could point me to where I have to modify the source code of HISE would great! Maybe that is quickly done by <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.hise.audio/uid/1">@Christoph-Hart</a>  ?</p>
<p dir="auto">Otherwise, exporting the plugin using the HISE interface will overwrite the project each time and I have to add the module again and again.</p>
]]></description><link>https://forum.hise.audio/post/84375</link><guid isPermaLink="true">https://forum.hise.audio/post/84375</guid><dc:creator><![CDATA[spider]]></dc:creator><pubDate>Tue, 06 Aug 2024 12:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to Linker error when using JUCE classes in third party node template on Thu, 01 Aug 2024 17:50:32 GMT]]></title><description><![CDATA[<p dir="auto">I might share a few more insights, maybe someone has an idea.</p>
<p dir="auto">First, find an image of the aforementioned linker error below.</p>
<p dir="auto"><img src="/assets/uploads/files/1722532605439-screenshot-2024-08-01-at-19.13.47.png" alt="Screenshot 2024-08-01 at 19.13.47.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I assume that if I would compile the same thing on Apple Silicon, I would get a x86_x64 linking error.</p>
<p dir="auto">Interestingly enough, when I export the HISE project containing the very same code as FX plugin (using the export functionality in HISE), I do not get linker errors.</p>
<p dir="auto">Any idea?</p>
]]></description><link>https://forum.hise.audio/post/84085</link><guid isPermaLink="true">https://forum.hise.audio/post/84085</guid><dc:creator><![CDATA[spider]]></dc:creator><pubDate>Thu, 01 Aug 2024 17:50:32 GMT</pubDate></item></channel></rss>