build fail on openbsd
Date | 2016-08-26 21:45 |
From | s |
Subject | build fail on openbsd |
hi while i'm not a c programmer, i get the sense that the openbsd libraries are not going to allow me to build csound6 ... here's the output i received: [ 5%] Building CXX object Opcodes/CMakeFiles/padsynth.dir/padsynth_gen.cpp.o ../csound/Opcodes/padsynth_gen.cpp:28:18: error: random: No such file or directory ../csound/Opcodes/padsynth_gen.cpp: In function 'int padsynth_gen(FGDATA*, FUNC*)': ../csound/Opcodes/padsynth_gen.cpp:481: error: 'vector' is not a member of 'std' ../csound/Opcodes/padsynth_gen.cpp:481: error: expected primary-expression before 'double' ../csound/Opcodes/padsynth_gen.cpp:481: error: expected `;' before 'double' ../csound/Opcodes/padsynth_gen.cpp:482: error: 'A' was not declared in this scope ../csound/Opcodes/padsynth_gen.cpp:516: error: 'default_random_engine' is not a member of 'std' ../csound/Opcodes/padsynth_gen.cpp:516: error: expected `;' before 'generator' ../csound/Opcodes/padsynth_gen.cpp:517: error: 'uniform_real_distribution' is not a member of 'std' ../csound/Opcodes/padsynth_gen.cpp:517: error: expected primary-expression before 'double' ../csound/Opcodes/padsynth_gen.cpp:517: error: expected `;' before 'double' ../csound/Opcodes/padsynth_gen.cpp:519: error: 'generator' was not declared in this scope ../csound/Opcodes/padsynth_gen.cpp:519: error: 'distribution' was not declared in this scope ../csound/Opcodes/padsynth_gen.cpp:521: error: no matching function for call to 'std::complex |
Date | 2016-08-26 23:23 |
From | Michael Gogins |
Subject | Re: build fail on openbsd |
Show us gcc -v. Like this: mkg@Sun-Yukong:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Aug 26, 2016 at 4:45 PM, s <johns@or8.net> wrote: hi |
Date | 2016-08-27 17:20 |
From | s |
Subject | Re: build fail on openbsd |
On 08/26/16 18:23, Michael Gogins wrote: > Show us gcc -v. $ gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd5.9/4.2.1/specs Target: i386-unknown-openbsd5.9 Configured with: OpenBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 |
Date | 2016-08-27 18:05 |
From | Michael Gogins |
Subject | Re: build fail on openbsd |
OK, this is a compiler for 32 bit CPU architecture, whereas the current normal builds for Csound on all platforms are for 64 bit CPU architecture. It should still be possible to build for 32 bit CPU architecture, but check to make sure that you have g++ installed in the same way: mkg@Sun-Yukong:~$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2) Also check that you have the standard C++ library installed: mkg@Sun-Yukong:~$ find /usr/lib -name "*stdc++*" /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.a /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++fs.a /usr/lib/gcc/x86_64-linux-gnu/5/libstdc++.so /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.a /usr/lib/gcc/x86_64-linux-gnu/4.8/libstdc++.so If not, either install it, or configure the Csound build to use no C++ dependencies at all. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Sat, Aug 27, 2016 at 12:20 PM, s <johns@or8.net> wrote: On 08/26/16 18:23, Michael Gogins wrote: |
Date | 2016-08-27 19:18 |
From | John |
Subject | Re: build fail on openbsd |
I build for 32 bit Linux regularly with no problems. Sent from TypeApp On 27 Aug 2016, at 18:06, Michael Gogins <michael.gogins@GMAIL.COM> wrote:
|
Date | 2016-08-27 19:23 |
From | Steven Yi |
Subject | Re: build fail on openbsd |
The version of gcc looks quite old: gcc version 4.2.1 20070719 I would hazard a guess that the C++ code used by Michael requires C++11. On Sat, Aug 27, 2016 at 12:20 PM, s |
Date | 2016-08-27 19:29 |
From | s |
Subject | Re: build fail on openbsd |
On 08/27/16 14:23, Steven Yi wrote: > The version of gcc looks quite old: yes, this is my thought. the openbsd guys move very slowly ... also, i have stdc++ libs. it's ok- i have a laptop that runs debian so it is my guess that i will face a much lower hurdle as far as getting csound to run with linux than i have found with openbsd. there might even be a debian package to make it all easier ... there is no replacement for csound. |
Date | 2016-08-27 20:12 |
From | jpff |
Subject | Re: build fail on openbsd |
There is a Debian package, and a more recent build in my regular snapshot donedaily from git. ==John ff On Sat, 27 Aug 2016, s wrote: > On 08/27/16 14:23, Steven Yi wrote: >> The version of gcc looks quite old: > > yes, this is my thought. the openbsd guys move very slowly ... > > also, i have stdc++ libs. > > it's ok- i have a laptop that runs debian so it is my guess that i will face > a much lower hurdle as far as getting csound to run with linux than i have > found with openbsd. there might even be a debian package to make it all > easier ... > > there is no replacement for csound. > > -- > \js [http://or8.net/~johns] (let (listen t) ()) > > Csound mailing list > Csound@listserv.heanet.ie > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND > Send bugs reports to > https://github.com/csound/csound/issues > Discussions of bugs and features can be posted here > Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2016-08-27 20:37 |
From | Victor Lazzarini |
Subject | Re: build fail on openbsd |
It should be easy to build on debian. Otoh, it would be nice to see it in BSD Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy Maynooth University Ireland > On 27 Aug 2016, at 20:12, jpff |