Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Chua opcodes failing (Windows)

Date2017-01-17 22:01
FromSteven Yi
Subject[Csnd-dev] Chua opcodes failing (Windows)
Hi All,

I'm getting problems compiling with the latest from develop branch
regarding the chua opcodes:
[ 73%] Building CXX object
Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.obj
In file included from
C:/msys64/mingw64/include/boost/numeric/ublas/vector.hpp:21:0,
                 from
C:/msys64/home/stevenyi/work/csound/csound/Opcodes/chua/ChuaOscillator.cpp:120:
C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp: In member
function 'void boost::numeric::ublas::unbounded_array::serialize(Archive&, unsigned int)':
C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp:299:18:
error: 'make_array' is not a member of 'boost::serialization'
             ar & serialization::make_array(data_, s);
                  ^~~~~~~~~~~~~
C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp: In member
function 'void boost::numeric::ublas::bounded_array::serialize(Archive&, unsigned int)':
C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp:494:18:
error: 'make_array' is not a member of 'boost::serialization'
             ar & serialization::make_array(data_, s);
                  ^~~~~~~~~~~~~
make[2]: *** [Opcodes/CMakeFiles/chua.dir/build.make:63:
Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:1087:
Opcodes/CMakeFiles/chua.dir/all] Error 2
make: *** [Makefile:161: all] Error 2

I did an update of mingw64/msys today and it looks like boost is at
version 1.63 now.  I'm not quite sure what is going on, as it seems to
be problems with the code from the package.  However, I'm only
guessing. Is anyone else using 1.63 on Windows having problems?

Thanks!

Date2017-01-17 22:15
FromMichael Gogins
SubjectRe: [Csnd-dev] Chua opcodes failing (Windows)
I am not on Boost 1.63. I will upgrade soon and let you know what
happens. I will change the code perhaps to use Eigen which is faster
anyway.

Best,
Mike

-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Tue, Jan 17, 2017 at 5:01 PM, Steven Yi  wrote:
> Hi All,
>
> I'm getting problems compiling with the latest from develop branch
> regarding the chua opcodes:
> [ 73%] Building CXX object
> Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.obj
> In file included from
> C:/msys64/mingw64/include/boost/numeric/ublas/vector.hpp:21:0,
>                  from
> C:/msys64/home/stevenyi/work/csound/csound/Opcodes/chua/ChuaOscillator.cpp:120:
> C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp: In member
> function 'void boost::numeric::ublas::unbounded_array ALLOC>::serialize(Archive&, unsigned int)':
> C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp:299:18:
> error: 'make_array' is not a member of 'boost::serialization'
>              ar & serialization::make_array(data_, s);
>                   ^~~~~~~~~~~~~
> C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp: In member
> function 'void boost::numeric::ublas::bounded_array ALLOC>::serialize(Archive&, unsigned int)':
> C:/msys64/mingw64/include/boost/numeric/ublas/storage.hpp:494:18:
> error: 'make_array' is not a member of 'boost::serialization'
>              ar & serialization::make_array(data_, s);
>                   ^~~~~~~~~~~~~
> make[2]: *** [Opcodes/CMakeFiles/chua.dir/build.make:63:
> Opcodes/CMakeFiles/chua.dir/chua/ChuaOscillator.cpp.obj] Error 1
> make[1]: *** [CMakeFiles/Makefile2:1087:
> Opcodes/CMakeFiles/chua.dir/all] Error 2
> make: *** [Makefile:161: all] Error 2
>
> I did an update of mingw64/msys today and it looks like boost is at
> version 1.63 now.  I'm not quite sure what is going on, as it seems to
> be problems with the code from the package.  However, I'm only
> guessing. Is anyone else using 1.63 on Windows having problems?
>
> Thanks!