Csound Csound-dev Csound-tekno Search About

[Cs-dev] Windows build broken for vst4cs

Date2014-07-31 01:19
FromMichael Gogins
Subject[Cs-dev] Windows build broken for vst4cs
AttachmentsNone  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 Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com

Date2014-07-31 01:39
FromSteven Yi
SubjectRe: [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
 wrote:
> 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 Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-07-31 12:49
FromMichael Gogins
SubjectRe: [Cs-dev] Windows build broken for vst4cs
AttachmentsNone  None  
Thanks, that was easy.

Mike


-----------------------------------------------------
Michael Gogins
Irreducible 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:

     double onTime = double(p->h.insdshead->p2.value);

On Wed, Jul 30, 2014 at 8:19 PM, Michael Gogins
<michael.gogins@gmail.com> wrote:
> 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 Gogins
> Irreducible Productions
> http://michaelgogins.tumblr.com
> Michael dot Gogins at gmail dot com
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel