[Cs-dev] Windows build broken for vst4cs
Date | 2014-07-31 01:19 |
From | Michael Gogins |
Subject | [Cs-dev] Windows build broken for vst4cs |
Attachments | None None |
Scanning dependencies of target vst4cs [ 74%] Building CXX object Opcodes/CMakeFiles/vst4cs.dir/vst4cs/src/vst4cs.cpp.obj c:/Users/mike/csound-csound6-git/Opcodes/vst4cs/src/vst4cs.cpp: In function 'int vstnote_init(CSOUND*, void*)':
c:/Users/mike/csound-csound6-git/Opcodes/vst4cs/src/vst4cs.cpp:453:46: error: invalid cast from type 'CS_VAR_MEM {aka csvarmem}' to type 'double' double onTime = double(p->h.insdshead->p2);
^ ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com |
Date | 2014-07-31 01:39 |
From | Steven Yi |
Subject | Re: [Cs-dev] Windows build broken for vst4cs |
Try changing the line to: double onTime = double(p->h.insdshead->p2.value); On Wed, Jul 30, 2014 at 8:19 PM, Michael Gogins |
Date | 2014-07-31 12:49 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Windows build broken for vst4cs |
Attachments | None None |
Thanks, that was easy. Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Wed, Jul 30, 2014 at 8:39 PM, Steven Yi <stevenyi@gmail.com> wrote: Try changing the line to: |