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.
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.
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 :)
running 'make win32' from mingw64 results in the following errors for the
ABSaturator (the first chugin in the makefile) and stops compiling:
"Build FAILED.
"C:\Users\Ben\chugins\ABSaturator\ABSaturator.vcxproj" (default target) (1)
->
(PrepareForBuild target) -> C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(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\ABSaturator\ABSaturator.vcxproj]
"C:\Users\Ben\chugins\ABSaturator\ABSaturator.vcxproj" (default target) (1)
->
(ClCompile target) -> C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(153,5):
error MSB6006: "CL.exe" exited with code -1073741515.
[C:\Users\Ben\chugins\ABSaturator\ABSaturator.vcxproj]"
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
<PlatformToolset>v100</PlatformToolset> back to
<PlatformToolset>v141</PlatformToolset> in the ABSaturator makefile.
Running make win32 resulted in a pretty verbose log and a statement in
mingw64 of a successful build for ABSaturator!!
Next, running sudo make install resulted in the following:
$ make install
CHUCK_STRICT=1 make -C ABSaturator/ install
make[1]: Entering directory 'C:/Users/Ben/chugins/ABSaturator'
gcc -O3 -Werror -c -o ABSaturator.o ABSaturator.cpp
process_begin: CreateProcess(NULL, gcc -O3 -Werror -c -o ABSaturator.o
ABSaturator.cpp, ...) failed.
make (e=2): The system cannot find the file specified.
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 'undefined type' error.
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 :)
Thanks
Ben
On Wed, May 16, 2018 at 2:19 AM, Jack Atherton
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'm pretty sure the Mac installer does).
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's what's going on!
-Jack
On Tue, May 15, 2018 at 11:10 PM, Ben Sandvik
wrote: List, I have been trying to update to chuck 1.4.0.0 for a few days, but I can't get chugins to compile or load on Windows 10 64-bit using miniAudicle. I'm getting the "undefined type '...' in declaration" 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't use chugins seem to be working fine. Here is what I have tried
Downloaded the 1.4 executable and went through the standard installation
I have copied the files from the chugins GitHub zip file to: C:\WINDOWS\system32/ChucK C:\ProgramFiles\ChucK\chugins C:\ProgramFiles(x86)\ChucK\chugins
and made sure the directory is listed under the chugins preferences in miniAudicle. Not sure which is best directory, just trying everything. 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. 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.
Any ideas? Am I missing some obvious step during installation? Is there a Windows10-specific issue? 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.
thanks Ben
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link <#m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
<#m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> _______________________________________________ chuck-users mailing list
<#m_-7921755889847518136_m_7236496386533434902_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users