<div dir="ltr"><div>Compilation of Chugins on Windows has not been pretty. Right now the system is designed so to allow a complete build from command line using some version of the VS compiler and msbuild, but as I recall this entails an elaborate and brittle setup of environment variables and $PATH configuration. Any recommendations/pull requests for getting the system to work a little more nicely would be welcome. Updating the build tools version sounds like a good start. </div><div><br></div><div>When I have a moment I will look into this myself (I don&#39;t have a permanent Windows set up), but Im also optimistic about Jack&#39;s workaround above. </div><div><br></div><div>Spencer</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 7:54 AM, Jack Atherton <span dir="ltr">&lt;<a href="mailto:lja@ccrma.stanford.edu" target="_blank">lja@ccrma.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ben,<div><br></div><div>Sorry to hear you went down that rabbit hole. I believe the intended action is to retarget the solution to whatever is on your machine for building the Chugins.</div><div><br></div><div>I&#39;ve just set up my own Windows machine within the last few days, and installed miniAudicle this morning. What I am seeing when I start the VM with log level = info is that miniAudicle is only looking in C:\Program Files\ChucK\chugins\ for the location of chugins, instead of looking in all the folders of the miniAudicle chugins preferences pane window. This is an old bug that I think we fixed at some point, but maybe the official installer didn&#39;t get updated yet. The installer actually installs the chugins at C:\Program Files (x86)\ChucK\chugins\ if you choose the default install location, so the temporary fix is to make a new folder C:\Program Files\ChucK\chugins\ and copy all of the chugins over into there.</div><div><br></div><div>If you set the ChucK&gt;Log Level&gt;Info in the menu bar before starting the VM, you should be able to see a printout of where it is scanning for chugins and which ones it loads successfully in the console window. When I did this on my new laptop, I was able to get it to load all the provided chugins, and run a script using one of them without syntax errors.</div><div><br></div><div>Again, sorry for the hassle. Let me know if this works.</div><div><br></div><div>Best,</div><div>Jack</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 22, 2018 at 7:26 PM, Ben Sandvik <span dir="ltr">&lt;<a href="mailto:bpsandvik@gmail.com" target="_blank">bpsandvik@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><span><div class="gmail_extra">That kind of makes sense because when I have 1.3.5.2 installed there is a chugins folder created that has a bunch of .CHUG files dated 10/21/2015.  These all work in 1.3.5.2.  However, I cant install or use any of the newer chugins in 1.3.5.2 on Win10 and when upgrading to 1.4.0.0 none of them work.</div><div class="gmail_extra"><br>I have also tried to compile the chugins from the github repo as you suggested, so far no luck and it has sent me down quite the rabbit hole trying to find the right combination of Visual Studio versions, build tools, SDKs, Windows 2010 compilers, etc. etc.  I am now stuck on build errors that I just cant figure out.</div><div class="gmail_extra">The main issue with compiling the chugins in chuck 1.4.0.0 on Windows 10 seems to be the use of the v100 build tools in the makefile for each chugin. I think I have installed every v100 related build tool on the internet :)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">running &#39;make win32&#39; from mingw64 results in the following errors for the ABSaturator (the first chugin in the makefile) and stops compiling:</div><div class="gmail_extra"><font face="monospace,monospace">&quot;Build FAILED.</font></div><div class="gmail_extra"><font face="monospace,monospace">&quot;C:\Users\Ben\chugins\ABSatura<wbr>tor\ABSaturator.vcxproj&quot; (default target) (1) -&gt;<br>(PrepareForBuild target) -&gt; C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4<wbr>.0\Microsoft.CppBuild.targets(<wbr>297,5): warning MSB8003: Could not find WindowsSDKDir variable from the registry. TargetFrameworkVersion or PlatformToolset may be set to an invalid version number. [C:\Users\Ben\chugins\ABSatura<wbr>tor\ABSaturator.vcxproj]</font></div><div class="gmail_extra"><font face="monospace,monospace">&quot;C:\Users\Ben\chugins\ABSatura<wbr>tor\ABSaturator.vcxproj&quot; (default target) (1) -&gt;<br>(ClCompile target) -&gt; C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4<wbr>.0\Platforms\Win32\Microsoft.<wbr>Cpp.Win32.Targets(153,5): error MSB6006: &quot;CL.exe&quot; exited with code -1073741515. [C:\Users\Ben\chugins\ABSatura<wbr>tor\ABSaturator.vcxproj]&quot;</font></div><div class="gmail_extra"><br></div><div class="gmail_extra">I noticed on the github that a fix on Jan 17 that changed the toolset of each chugin from v141 to v100, so as an experiment I changed each line of &lt;PlatformToolset&gt;v100&lt;/Platfor<wbr>mToolset&gt; back to &lt;PlatformToolset&gt;v141&lt;/Platfor<wbr>mToolset&gt; in the ABSaturator makefile.</div><div class="gmail_extra">Running make win32 resulted in a pretty verbose log and a statement in mingw64 of a successful build for ABSaturator!!</div><div class="gmail_extra"> <br>Next, running sudo make install resulted in the following:<br><font face="monospace,monospace">$ make install<br>CHUCK_STRICT=1 make -C ABSaturator/ install<br>make[1]: Entering directory &#39;C:/Users/Ben/chugins/ABSatura<wbr>tor&#39;<br>gcc -O3 -Werror -c -o ABSaturator.o ABSaturator.cpp<br>process_begin: CreateProcess(NULL, gcc -O3 -Werror -c -o ABSaturator.o ABSaturator.cpp, ...) failed.<br>make (e=2): The system cannot find the file specified.</font></div><div class="gmail_extra"><font face="Courier New"><br></font></div><div class="gmail_extra">So I moved the contents of ABSaturator/Release to ABSaturator/ and changed the file name of ABSaturator.obj to ABSaturator.o and ran make install again.  This time, no log of any ABSaturator activity.  I tried using the chugin again in miniAudicle and got the same &#39;undefined type&#39; error.  </div><div class="gmail_extra">  </div><div class="gmail_extra">So ... are there any Windows 10 users or devs that have succesfully installed and used the chugins for 1.4.0.0?  Any guidance would be appreciated. Ihave basically used all my free time for a week on this.  I really want to use the ArrayOutOfBounds line number features and to try out the new NHHall reverb :)</div><div class="gmail_extra">Thanks</div><span class="m_3282469593605501594HOEnZb"><font color="#888888"><div class="gmail_extra">Ben<span><span><br></span></span></div></font></span><div><div class="m_3282469593605501594h5"><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 16, 2018 at 2:19 AM, Jack Atherton <span dir="ltr">&lt;<a href="mailto:lja@ccrma.stanford.edu" target="_blank">lja@ccrma.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div dir="ltr">I am pretty sure that chugins that worked with 1.3.X have an internal version number that is incompatible with 1.4.0.0 -- the API for chugins changed. You could try recompiling the chugins from the chugin repo and seeing if that works. I am not sure if the Windows installer also installs chugins like the Mac installer does (at least, I&#39;m pretty sure the Mac installer does).<div><br></div><div>That sounds nasty about the log level crash. I wonder if it is something that happens when attempting to load incompatible chugins... we should probably fix it if that&#39;s what&#39;s going on!<br><div><br></div><div>-Jack</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_3282469593605501594m_-5689126269115495148gmail-h5">On Tue, May 15, 2018 at 11:10 PM, Ben Sandvik <span dir="ltr">&lt;<a href="mailto:bpsandvik@gmail.com" target="_blank">bpsandvik@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div><div class="m_3282469593605501594m_-5689126269115495148gmail-h5"><div dir="ltr"><div>List,</div><div>I have been trying to update to chuck 1.4.0.0 for a few days, but I can&#39;t get chugins to compile or load on Windows 10 64-bit using miniAudicle.  I&#39;m getting the &quot;undefined type &#39;...&#39;  in declaration&quot; error message for every chugin when adding to the VM, including ones that had been working correctly with 1.3.5.2.  Other .ck files that don&#39;t use chugins seem to be working fine.  Here is what I have tried</div><div><br></div><div>Downloaded the 1.4 executable and went through the standard installation </div><div><br></div><div>I have copied the files from the chugins GitHub zip file to:</div><div>C:\WINDOWS\system32/ChucK</div><div>C:\ProgramFiles\ChucK\chugins</div><div>C:\ProgramFiles(x86)\ChucK\chu<wbr>gins</div><div><br></div><div>and made sure the directory is listed under the chugins preferences in miniAudicle.  Not sure which is best directory, just trying everything.</div><div>I have also tried just putting the github files for a specific chugin in the same folder with an example .ck files.  Still the same error message.</div><div>If I uninstall 1.4 and re-install 1.3.5.2 the older chugins are working fine, but newer ones like Wavetable and ExpEnv are not.</div><div><br></div><div>Any ideas?  Am I missing some obvious step during installation?  Is there a Windows10-specific issue?</div><div>Also, not sure if this is related, but changing the Log Level to anything other than System causes miniAudicle to crash when starting the vm.</div><div><br></div><div>thanks</div><div>Ben</div><div><br></div><div><br></div><div><br></div></div><div id="m_3282469593605501594m_-5689126269115495148gmail-m_-7921755889847518136m_7236496386533434902DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top-color:rgb(211,212,222);border-top-width:1px;border-top-style:solid">
        <tbody><tr>
        <td style="width:55px;padding-top:13px"><a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=icon" target="_blank"><img width="46" height="29" style="width:46px;height:29px" alt="" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"></a></td>
                <td style="width:470px;color:rgb(65,66,78);line-height:18px;padding-top:12px;font-family:Arial,Helvetica,sans-serif;font-size:13px">Virus-free. <a style="color:rgb(68,83,234)" href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail&amp;utm_term=link" target="_blank">www.avast.com</a>
                </td>
        </tr>
</tbody></table><a href="#m_3282469593605501594_m_-5689126269115495148_m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" height="1" width="1"></a></div><a href="#m_3282469593605501594_m_-5689126269115495148_m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" height="1" width="1">
<br></a></div></div><a href="#m_3282469593605501594_m_-5689126269115495148_m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" height="1" width="1">______________________________<wbr>_________________<br>
chuck-users mailing list<br>
</a><a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton<wbr>.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu<wbr>/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton<wbr>.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu<wbr>/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div></div></div></span></span></div>
<br>______________________________<wbr>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton<wbr>.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.edu<wbr>/mailman/listinfo/chuck-users</a><br>
<br></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.<wbr>princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" rel="noreferrer" target="_blank">https://lists.cs.princeton.<wbr>edu/mailman/listinfo/chuck-<wbr>users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-family:arial;font-size:small"><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2">Spencer Salazar, PhD</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2">Special Faculty</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2">Music Technology: Interaction, Intelligence, and Design</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2">California Institute of the Arts</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2"><br></font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2"><a href="mailto:ssalazar@calarts.edu" target="_blank">ssalazar@calarts.edu</a> | +1 831.277.4654</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font size="2"><a href="https://spencersalazar.com/" target="_blank">https://spencersalazar.com</a> </font></div><div><font size="2"><br></font></div></div></div></div>
</div>