[Csnd] problems compiling 6.09 on ubuntu 16.10

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
Isn't there a compiler option that slide one past this?:

All goes well until

   /usr/share/swig3.0/
Preprocessing...
Starting language-specific parse...
/home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362: operator= ignored

leads to multiple warnings and then

Generating wrappers...
/home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning 503: Can't wrap 'operator <' unless renamed to a valid identifier.
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong, jint, jobjectArray)’:
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   result = (int)csoundCompileArgs(arg1,arg2,arg3);

and in the end
...
[ 70%] Built target _CsoundAC
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
--------------------

?
Csound mailing list [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

Michael Gogins-2
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:

> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
It continues to have trouble [several places] with this:

/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]


On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <[hidden email]> wrote:
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:
> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

Michael Gogins-2
Try upgrading SWIG?

On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
It continues to have trouble [several places] with this:


/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]


On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <[hidden email]> wrote:
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:
> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
Building dependency tree      
Reading state information... Done
All packages are up to date.
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
Reading package lists... Done
Building dependency tree      
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
The following package was automatically installed and is no longer required:
  libfltk-cairo1.3
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <[hidden email]> wrote:
Try upgrading SWIG?

On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
It continues to have trouble [several places] with this:


/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]


On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <[hidden email]> wrote:
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:
> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
installed swig 3.0.12 -- same thing.

/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong, jint, jobjectArray)’:
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   result = (int)csoundCompileArgs(arg1,arg2,arg3);
                                                 ^
In file included from /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
/home/forrest/csound/csound/./include/csound.h:739:14: note:   initializing argument 3 of ‘int csoundCompileArgs(CSOUND*, int, const char**)’
   PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv);
              ^~~~~~~~~~~~~~~~~
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In function ‘jint Java_csnd6_csnd6JNI_csoundCompile(JNIEnv*, jclass, jlong, jint, jobjectArray)’:
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5401:45: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   result = (int)csoundCompile(arg1,arg2,arg3);
                                             ^
In file included from /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
/home/forrest/csound/csound/./include/csound.h:769:14: note:   initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’
   PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
              ^~~~~~~~~~~~~
[ 93%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/CounterpointNode.cpp.o
interfaces/CMakeFiles/_jcsound6.dir/build.make:76: recipe for target 'interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o' failed
make[2]: *** [interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o] Error 1


On Wed, Jun 28, 2017 at 6:09 PM, Forrest Curo <[hidden email]> wrote:
Building dependency tree      
Reading state information... Done
All packages are up to date.
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
Reading package lists... Done
Building dependency tree      
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
The following package was automatically installed and is no longer required:
  libfltk-cairo1.3
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <[hidden email]> wrote:
Try upgrading SWIG?

On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
It continues to have trouble [several places] with this:


/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]


On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <[hidden email]> wrote:
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:
> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
Following a suggestion, I've been trying  cmake -DBuild_various_things=0 ../csound

and this makes the compilation break at different points, depending on which 'various_things' I exclude.

Other suggestions?

On Wed, Jun 28, 2017 at 8:59 PM, Forrest Curo <[hidden email]> wrote:
installed swig 3.0.12 -- same thing.

/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong, jint, jobjectArray)’:
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   result = (int)csoundCompileArgs(arg1,arg2,arg3);
                                                 ^
In file included from /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
/home/forrest/csound/csound/./include/csound.h:739:14: note:   initializing argument 3 of ‘int csoundCompileArgs(CSOUND*, int, const char**)’
   PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv);
              ^~~~~~~~~~~~~~~~~
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In function ‘jint Java_csnd6_csnd6JNI_csoundCompile(JNIEnv*, jclass, jlong, jint, jobjectArray)’:
/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5401:45: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   result = (int)csoundCompile(arg1,arg2,arg3);
                                             ^
In file included from /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
/home/forrest/csound/csound/./include/csound.h:769:14: note:   initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’
   PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
              ^~~~~~~~~~~~~
[ 93%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/CounterpointNode.cpp.o
interfaces/CMakeFiles/_jcsound6.dir/build.make:76: recipe for target 'interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o' failed
make[2]: *** [interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o] Error 1


On Wed, Jun 28, 2017 at 6:09 PM, Forrest Curo <[hidden email]> wrote:
Building dependency tree      
Reading state information... Done
All packages are up to date.
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
Reading package lists... Done
Building dependency tree      
Reading state information... Done
swig is already the newest version (3.0.8-0ubuntu3).
The following package was automatically installed and is no longer required:
  libfltk-cairo1.3
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <[hidden email]> wrote:
Try upgrading SWIG?

On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
It continues to have trouble [several places] with this:


/home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49: error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]


On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <[hidden email]> wrote:
I have been working on this code. It now builds for me on Ubuntu and
mingw64. Try a fresh pull and a clean build.

Regards,
Mike

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


On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]> wrote:
> Isn't there a compiler option that slide one past this?:
>
> All goes well until
>
>    /usr/share/swig3.0/
> Preprocessing...
> Starting language-specific parse...
> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161: Warning 362:
> operator= ignored
>
> leads to multiple warnings and then
>
> Generating wrappers...
> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125: Warning
> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass, jlong,
> jint, jobjectArray)’:
> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>
> and in the end
> ...
> [ 70%] Built target _CsoundAC
> Makefile:160: recipe for target 'all' failed
> make: *** [all] Error 2
> --------------------
>
> ?
> Csound mailing list [hidden email]
> 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
[hidden email]
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 [hidden email] 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 [hidden email] 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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

gsenna
Ubuntu 17.04 here. I git pulled today and it builds fine. Did you do
'sudo apt-get build-dep csound'? Maybe installing gcc5 if it's not
already in 16.10?


On 29/06/17 18:04, Forrest Curo wrote:

> Following a suggestion, I've been trying  cmake -DBuild_various_things=0
> ../csound
>
> and this makes the compilation break at different points, depending on
> which 'various_things' I exclude.
>
> Other suggestions?
>
> On Wed, Jun 28, 2017 at 8:59 PM, Forrest Curo <[hidden email]> wrote:
>
>> installed swig 3.0.12 -- same thing.
>>
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass,
>> jlong, jint, jobjectArray)’:
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>                                                  ^
>> In file included from /home/forrest/csound/cs6make/
>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>> /home/forrest/csound/csound/./include/csound.h:739:14: note:
>> initializing argument 3 of ‘int csoundCompileArgs(CSOUND*, int, const
>> char**)’
>>    PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv);
>>               ^~~~~~~~~~~~~~~~~
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>> function ‘jint Java_csnd6_csnd6JNI_csoundCompile(JNIEnv*, jclass, jlong,
>> jint, jobjectArray)’:
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5401:45:
>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>    result = (int)csoundCompile(arg1,arg2,arg3);
>>                                              ^
>> In file included from /home/forrest/csound/cs6make/
>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>> /home/forrest/csound/csound/./include/csound.h:769:14: note:
>> initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’
>>    PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
>>               ^~~~~~~~~~~~~
>> [ 93%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/
>> CounterpointNode.cpp.o
>> interfaces/CMakeFiles/_jcsound6.dir/build.make:76: recipe for target
>> 'interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o' failed
>> make[2]: *** [interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o]
>> Error 1
>>
>>
>> On Wed, Jun 28, 2017 at 6:09 PM, Forrest Curo <[hidden email]>
>> wrote:
>>
>>> Building dependency tree
>>> Reading state information... Done
>>> All packages are up to date.
>>> W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg:
>>> Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak
>>> digest algorithm (SHA1)
>>> forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> swig is already the newest version (3.0.8-0ubuntu3).
>>> The following package was automatically installed and is no longer
>>> required:
>>>   libfltk-cairo1.3
>>> Use 'sudo apt autoremove' to remove it.
>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>
>>> On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <[hidden email]
>>>> wrote:
>>>> Try upgrading SWIG?
>>>>
>>>> On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
>>>>
>>>> It continues to have trouble [several places] with this:
>>>>
>>>>
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
>>>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>>>
>>>>
>>>> On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <
>>>> [hidden email]> wrote:
>>>>
>>>>> I have been working on this code. It now builds for me on Ubuntu and
>>>>> mingw64. Try a fresh pull and a clean build.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>>
>>>>> On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]>
>>>>> wrote:
>>>>>> Isn't there a compiler option that slide one past this?:
>>>>>>
>>>>>> All goes well until
>>>>>>
>>>>>>    /usr/share/swig3.0/
>>>>>> Preprocessing...
>>>>>> Starting language-specific parse...
>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161:
>>>>> Warning 362:
>>>>>> operator= ignored
>>>>>>
>>>>>> leads to multiple warnings and then
>>>>>>
>>>>>> Generating wrappers...
>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125:
>>>>> Warning
>>>>>> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:
>>>>> In
>>>>>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*,
>>>>> jclass, jlong,
>>>>>> jint, jobjectArray)’:
>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_w
>>>>> rap.cxx:5331:49:
>>>>>> error: invalid conversion from ‘char**’ to ‘const char**’
>>>>> [-fpermissive]
>>>>>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>>>>>
>>>>>> and in the end
>>>>>> ...
>>>>>> [ 70%] Built target _CsoundAC
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>> --------------------
>>>>>>
>>>>>> ?
>>>>>> Csound mailing list [hidden email]
>>>>>> 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
>>>>> [hidden email]
>>>>> 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 [hidden email]
>>>> 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 [hidden email]
>>>> 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
> [hidden email]
> 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
[hidden email]
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

forrest
Upgraded now to 17.04, still doesn't compile, same sort of errors.

On Thu, Jun 29, 2017 at 2:54 PM, Guillermo Senna <[hidden email]> wrote:
Ubuntu 17.04 here. I git pulled today and it builds fine. Did you do
'sudo apt-get build-dep csound'? Maybe installing gcc5 if it's not
already in 16.10?


On 29/06/17 18:04, Forrest Curo wrote:
> Following a suggestion, I've been trying  cmake -DBuild_various_things=0
> ../csound
>
> and this makes the compilation break at different points, depending on
> which 'various_things' I exclude.
>
> Other suggestions?
>
> On Wed, Jun 28, 2017 at 8:59 PM, Forrest Curo <[hidden email]> wrote:
>
>> installed swig 3.0.12 -- same thing.
>>
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass,
>> jlong, jint, jobjectArray)’:
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>                                                  ^
>> In file included from /home/forrest/csound/cs6make/
>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>> /home/forrest/csound/csound/./include/csound.h:739:14: note:
>> initializing argument 3 of ‘int csoundCompileArgs(CSOUND*, int, const
>> char**)’
>>    PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv);
>>               ^~~~~~~~~~~~~~~~~
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>> function ‘jint Java_csnd6_csnd6JNI_csoundCompile(JNIEnv*, jclass, jlong,
>> jint, jobjectArray)’:
>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5401:45:
>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>    result = (int)csoundCompile(arg1,arg2,arg3);
>>                                              ^
>> In file included from /home/forrest/csound/cs6make/
>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>> /home/forrest/csound/csound/./include/csound.h:769:14: note:
>> initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const char**)’
>>    PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
>>               ^~~~~~~~~~~~~
>> [ 93%] Building CXX object frontends/CsoundAC/CMakeFiles/libCsoundAC.dir/
>> CounterpointNode.cpp.o
>> interfaces/CMakeFiles/_jcsound6.dir/build.make:76: recipe for target
>> 'interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o' failed
>> make[2]: *** [interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o]
>> Error 1
>>
>>
>> On Wed, Jun 28, 2017 at 6:09 PM, Forrest Curo <[hidden email]>
>> wrote:
>>
>>> Building dependency tree
>>> Reading state information... Done
>>> All packages are up to date.
>>> W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg:
>>> Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak
>>> digest algorithm (SHA1)
>>> forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
>>> Reading package lists... Done
>>> Building dependency tree
>>> Reading state information... Done
>>> swig is already the newest version (3.0.8-0ubuntu3).
>>> The following package was automatically installed and is no longer
>>> required:
>>>   libfltk-cairo1.3
>>> Use 'sudo apt autoremove' to remove it.
>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>
>>> On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <[hidden email]
>>>> wrote:
>>>> Try upgrading SWIG?
>>>>
>>>> On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
>>>>
>>>> It continues to have trouble [several places] with this:
>>>>
>>>>
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:5331:49:
>>>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>>>
>>>>
>>>> On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <
>>>> [hidden email]> wrote:
>>>>
>>>>> I have been working on this code. It now builds for me on Ubuntu and
>>>>> mingw64. Try a fresh pull and a clean build.
>>>>>
>>>>> Regards,
>>>>> Mike
>>>>>
>>>>> -----------------------------------------------------
>>>>> Michael Gogins
>>>>> Irreducible Productions
>>>>> http://michaelgogins.tumblr.com
>>>>> Michael dot Gogins at gmail dot com
>>>>>
>>>>>
>>>>> On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]>
>>>>> wrote:
>>>>>> Isn't there a compiler option that slide one past this?:
>>>>>>
>>>>>> All goes well until
>>>>>>
>>>>>>    /usr/share/swig3.0/
>>>>>> Preprocessing...
>>>>>> Starting language-specific parse...
>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161:
>>>>> Warning 362:
>>>>>> operator= ignored
>>>>>>
>>>>>> leads to multiple warnings and then
>>>>>>
>>>>>> Generating wrappers...
>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125:
>>>>> Warning
>>>>>> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx:
>>>>> In
>>>>>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*,
>>>>> jclass, jlong,
>>>>>> jint, jobjectArray)’:
>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_w
>>>>> rap.cxx:5331:49:
>>>>>> error: invalid conversion from ‘char**’ to ‘const char**’
>>>>> [-fpermissive]
>>>>>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>>>>>
>>>>>> and in the end
>>>>>> ...
>>>>>> [ 70%] Built target _CsoundAC
>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>> make: *** [all] Error 2
>>>>>> --------------------
>>>>>>
>>>>>> ?
>>>>>> Csound mailing list [hidden email]
>>>>>> 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
>>>>> [hidden email]
>>>>> 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 [hidden email]
>>>> 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 [hidden email]
>>>> 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
> [hidden email]
> 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
[hidden email]
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 [hidden email] 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Csnd] problems compiling 6.09 on ubuntu 16.10

gsenna
Well, I'm out of ideas. I just git cloned the develop branch and it
built successfully.

Maybe take a look at the output of my Cmake and see if you are missing
something (or maybe I am).

-- Not using Custom.cmake file.
-- LIBRARY INSTALL DIR: lib
-- Building with 64-bit floats
-- BUILD_BIN_DIR set to /home/guille/Aplicaciones/csound-develop2/cs6make_2.
-- BUILD_LIB_DIR set to /home/guille/Aplicaciones/csound-develop2/cs6make_2.
-- BUILD_PLUGINS_DIR set to
/home/guille/Aplicaciones/csound-develop2/cs6make_2.
-- Boost version: 1.62.0
-- Could NOT find LUAJIT (missing:  LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR)
-- Could NOT find MUSICXML (missing:  MUSICXML_INCLUDE_DIR)
-- Could NOT find PORTSMF (missing:  PORTSMF_INCLUDE_DIR)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found
suitable version "2.7.13", minimum required is "2.7")
-- Could NOT find VSTSDK2X (missing:  VSTSDK2X_INCLUDE_DIR)
-- Using atomic builtins.
-- USE_LRINT is enabled.
-- GIT: /usr/bin/git
-- HASH: 5d09176e9d849673b89337bd98185344e2cab77a
-- Not building with new parser debugging.
-- Building with multicore support.
-- USE_GETTEXT is enabled.
-- Using GNU gettext.
-- Setting textdomain to /usr/local/share/locale.
-- Building on Linux.
--   ADDING LIBRT LIBRARY: /usr/lib/x86_64-linux-gnu/librt.so.
-- ## Building Opcodes ##
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found
version "2.7.13")
-- BUILD_CHUA_OPCODES is enabled.
-- BUILD_DSSI_OPCODES is enabled.
-- BUILD_FLUID_OPCODES is enabled.
-- BUILD_JACK_OPCODES is enabled.
-- BUILD_LINEAR_ALGEBRA_OPCODES is enabled.
-- BUILD_OSC_OPCODES is enabled.
-- BUILD_IMAGE_OPCODES is enabled.
-- BUILD_PYTHON_OPCODES is enabled.
-- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling BUILD_LUA_OPCODES
-- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling BUILD_LUA_OPCODES
-- BUILD_LUA_OPCODES is disabled.
-- WIIUSE_H="", so disabling BUILD_WIIMOTE_OPCODES
-- WIIUSE_LIB="WIIUSE_LIB-NOTFOUND", so disabling BUILD_WIIMOTE_OPCODES
-- BUILD_WIIMOTE_OPCODES is disabled.
-- P5GLOVE_H="", so disabling BUILD_P5GLOVE_OPCODES
-- BUILD_P5GLOVE_OPCODES is disabled.
-- BUILD_FAUST_OPCODES is disabled.
-- BUILD_VST4CS_OPCODES is disabled.
-- VSTSDK2X_INCLUDE_DIR: VSTSDK2X_INCLUDE_DIR-NOTFOUND
-- BUILD_STK_OPCODES is enabled.
-- Building STK opcodes.
-- HDF5_library="HDF5_library-NOTFOUND", so disabling BUILD_HDF5_OPCODES
-- HDF5_H="HDF5_H-NOTFOUND", so disabling BUILD_HDF5_OPCODES
-- BUILD_HDF5_OPCODES is disabled.
-- BUILD_WEBSOCKET_OPCODE is enabled.
--
-- ## REALTIME AUDIO AND MIDI ##
-- APPLE="", so disabling USE_COREMIDI
-- COREMIDI_INCLUDE_PATH="COREMIDI_INCLUDE_PATH-NOTFOUND", so disabling
USE_COREMIDI
-- COREMIDI_LIBRARY="COREMIDI_LIBRARY-NOTFOUND", so disabling USE_COREMIDI
-- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so
disabling USE_COREMIDI
-- USE_COREMIDI is disabled.
-- APPLE="", so disabling USE_AUDIOUNIT
-- COREAUDIO_INCLUDE_PATH="COREAUDIO_INCLUDE_PATH-NOTFOUND", so
disabling USE_AUDIOUNIT
-- COREAUDIO_LIBRARY="COREAUDIO_LIBRARY-NOTFOUND", so disabling
USE_AUDIOUNIT
-- AUDIOUNIT_INCLUDE_PATH="AUDIOUNIT_INCLUDE_PATH-NOTFOUND", so
disabling USE_AUDIOUNIT
-- AUDIOUNIT_LIBRARY="AUDIOUNIT_LIBRARY-NOTFOUND", so disabling
USE_AUDIOUNIT
-- COREFOUNDATION_LIBRARY="COREFOUNDATION_LIBRARY-NOTFOUND", so
disabling USE_AUDIOUNIT
-- USE_AUDIOUNIT is disabled.
-- USE_ALSA is enabled.
-- USE_PULSEAUDIO is enabled.
-- USE_PORTAUDIO is enabled.
-- Building rtpa module.
-- USE_PORTMIDI is enabled.
-- USE_JACK is enabled.
-- USE_FLTK is enabled.
-- BUILD_VIRTUAL_KEYBOARD is enabled.
--
-- Building C++ interface library.
-- Found SWIG: /usr/bin/swig3.0 (found suitable version "3.0.10",
minimum required is "2.0")
-- PYTHON_LIBRARY: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- BUILD_PYTHON_INTERFACE is enabled.
-- BUILD_JAVA_INTERFACE is enabled.
-- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling
BUILD_LUA_INTERFACE
-- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled.
-- SWIG_USE_FILE: /usr/share/cmake-3.7/Modules/UseSWIG.cmake
-- JNI INCLUDE set to
/usr/lib/jvm/oracle_jdk8/include;/usr/lib/jvm/oracle_jdk8/include/linux;/usr/lib/jvm/oracle_jdk8/include.
-- Building csLadspa.
-- BUILD_CSBEATS is enabled.
-- BUILD_PD_CLASS is enabled.
-- BUILD_WINSOUND is disabled.
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.10")
-- BUILD_CSOUND_AC is enabled.
-- BUILD_CSOUND_AC_PYTHON_INTERFACE is enabled.
-- LUAJIT_LIBRARY="LUAJIT_LIBRARY-NOTFOUND", so disabling
BUILD_CSOUND_AC_LUA_INTERFACE
-- LUA_H_PATH="LUA_H_PATH-NOTFOUND", so disabling
BUILD_CSOUND_AC_LUA_INTERFACE
-- BUILD_CSOUND_AC_LUA_INTERFACE is disabled.
-- USE_SYSTEM_PORTSMF is disabled.
-- Building CsoundAC Python interface.
-- BUILD_CSOUNDVST is disabled.
-- BUILD_CSOUNDVST: OFF.
-- Not building csound~ for Max/MSP
-- MAX_SDK_ROOT is not defined.
-- BUILD_STATIC_LIBRARY="OFF", so disabling BUILD_TESTS
-- BUILD_TESTS is disabled.
-- Configuring done
-- Generating done


On 29/06/17 23:35, Forrest Curo wrote:

> Upgraded now to 17.04, still doesn't compile, same sort of errors.
>
> On Thu, Jun 29, 2017 at 2:54 PM, Guillermo Senna <[hidden email]> wrote:
>
>> Ubuntu 17.04 here. I git pulled today and it builds fine. Did you do
>> 'sudo apt-get build-dep csound'? Maybe installing gcc5 if it's not
>> already in 16.10?
>>
>>
>> On 29/06/17 18:04, Forrest Curo wrote:
>>> Following a suggestion, I've been trying  cmake -DBuild_various_things=0
>>> ../csound
>>>
>>> and this makes the compilation break at different points, depending on
>>> which 'various_things' I exclude.
>>>
>>> Other suggestions?
>>>
>>> On Wed, Jun 28, 2017 at 8:59 PM, Forrest Curo <[hidden email]>
>> wrote:
>>>> installed swig 3.0.12 -- same thing.
>>>>
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>>>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*, jclass,
>>>> jlong, jint, jobjectArray)’:
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_
>> wrap.cxx:5331:49:
>>>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>>>                                                  ^
>>>> In file included from /home/forrest/csound/cs6make/
>>>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>>>> /home/forrest/csound/csound/./include/csound.h:739:14: note:
>>>> initializing argument 3 of ‘int csoundCompileArgs(CSOUND*, int, const
>>>> char**)’
>>>>    PUBLIC int csoundCompileArgs(CSOUND *, int argc, const char **argv);
>>>>               ^~~~~~~~~~~~~~~~~
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_wrap.cxx: In
>>>> function ‘jint Java_csnd6_csnd6JNI_csoundCompile(JNIEnv*, jclass,
>> jlong,
>>>> jint, jobjectArray)’:
>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_
>> wrap.cxx:5401:45:
>>>> error: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
>>>>    result = (int)csoundCompile(arg1,arg2,arg3);
>>>>                                              ^
>>>> In file included from /home/forrest/csound/cs6make/
>>>> interfaces/java_interfaceJAVA_wrap.cxx:1297:0:
>>>> /home/forrest/csound/csound/./include/csound.h:769:14: note:
>>>> initializing argument 3 of ‘int csoundCompile(CSOUND*, int, const
>> char**)’
>>>>    PUBLIC int csoundCompile(CSOUND *, int argc, const char **argv);
>>>>               ^~~~~~~~~~~~~
>>>> [ 93%] Building CXX object frontends/CsoundAC/CMakeFiles/
>> libCsoundAC.dir/
>>>> CounterpointNode.cpp.o
>>>> interfaces/CMakeFiles/_jcsound6.dir/build.make:76: recipe for target
>>>> 'interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o'
>> failed
>>>> make[2]: *** [interfaces/CMakeFiles/_jcsound6.dir/java_
>> interfaceJAVA_wrap.cxx.o]
>>>> Error 1
>>>>
>>>>
>>>> On Wed, Jun 28, 2017 at 6:09 PM, Forrest Curo <[hidden email]>
>>>> wrote:
>>>>
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> All packages are up to date.
>>>>> W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg:
>>>>> Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak
>>>>> digest algorithm (SHA1)
>>>>> forrest@lapcritter:~/csound/cs6make$ sudo apt install swig
>>>>> Reading package lists... Done
>>>>> Building dependency tree
>>>>> Reading state information... Done
>>>>> swig is already the newest version (3.0.8-0ubuntu3).
>>>>> The following package was automatically installed and is no longer
>>>>> required:
>>>>>   libfltk-cairo1.3
>>>>> Use 'sudo apt autoremove' to remove it.
>>>>> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>>>>>
>>>>> On Wed, Jun 28, 2017 at 6:00 PM, Michael Gogins <
>> [hidden email]
>>>>>> wrote:
>>>>>> Try upgrading SWIG?
>>>>>>
>>>>>> On Jun 28, 2017 20:54, "Forrest Curo" <[hidden email]> wrote:
>>>>>>
>>>>>> It continues to have trouble [several places] with this:
>>>>>>
>>>>>>
>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_
>> wrap.cxx:5331:49:
>>>>>> error: invalid conversion from ‘char**’ to ‘const char**’
>> [-fpermissive]
>>>>>>
>>>>>> On Wed, Jun 28, 2017 at 5:18 PM, Michael Gogins <
>>>>>> [hidden email]> wrote:
>>>>>>
>>>>>>> I have been working on this code. It now builds for me on Ubuntu and
>>>>>>> mingw64. Try a fresh pull and a clean build.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Mike
>>>>>>>
>>>>>>> -----------------------------------------------------
>>>>>>> Michael Gogins
>>>>>>> Irreducible Productions
>>>>>>> http://michaelgogins.tumblr.com
>>>>>>> Michael dot Gogins at gmail dot com
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Jun 28, 2017 at 6:30 PM, Forrest Curo <[hidden email]
>>>>>>> wrote:
>>>>>>>> Isn't there a compiler option that slide one past this?:
>>>>>>>>
>>>>>>>> All goes well until
>>>>>>>>
>>>>>>>>    /usr/share/swig3.0/
>>>>>>>> Preprocessing...
>>>>>>>> Starting language-specific parse...
>>>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Event.hpp:161:
>>>>>>> Warning 362:
>>>>>>>> operator= ignored
>>>>>>>>
>>>>>>>> leads to multiple warnings and then
>>>>>>>>
>>>>>>>> Generating wrappers...
>>>>>>>> /home/forrest/csound/csound/frontends/CsoundAC/Midifile.hpp:125:
>>>>>>> Warning
>>>>>>>> 503: Can't wrap 'operator <' unless renamed to a valid identifier.
>>>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_
>> wrap.cxx:
>>>>>>> In
>>>>>>>> function ‘jint Java_csnd6_csnd6JNI_csoundCompileArgs(JNIEnv*,
>>>>>>> jclass, jlong,
>>>>>>>> jint, jobjectArray)’:
>>>>>>>> /home/forrest/csound/cs6make/interfaces/java_interfaceJAVA_w
>>>>>>> rap.cxx:5331:49:
>>>>>>>> error: invalid conversion from ‘char**’ to ‘const char**’
>>>>>>> [-fpermissive]
>>>>>>>>    result = (int)csoundCompileArgs(arg1,arg2,arg3);
>>>>>>>>
>>>>>>>> and in the end
>>>>>>>> ...
>>>>>>>> [ 70%] Built target _CsoundAC
>>>>>>>> Makefile:160: recipe for target 'all' failed
>>>>>>>> make: *** [all] Error 2
>>>>>>>> --------------------
>>>>>>>>
>>>>>>>> ?
>>>>>>>> Csound mailing list [hidden email]
>>>>>>>> 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
>>>>>>> [hidden email]
>>>>>>> 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 [hidden email]
>>>>>> 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 [hidden email]
>>>>>> 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
>>> [hidden email]
>>> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
Loading...