Csound Csound-dev Csound-tekno Search About

[Cs-dev] some build issues with Cs6 git

Date2013-06-24 15:07
FromDave Phillips
Subject[Cs-dev] some build issues with Cs6 git
Greetings,

I'd like to work with AVSynthesis and Csound6 so I tried to build the 
latest git pull. I have a couple questions.

First, are these messages to be expected:

dlphilp@Maximus-i386:~/src/csound6-git/build$ make
[  1%] Generating csound_prelex.c
[  1%] Generating csound_orclex.c
[  1%] Generating csound_orcparse.c
/home/dlphilp/src/csound6-git/Engine/csound_orc.y: conflicts: 6 
shift/reduce, 10 reduce/reduce
Scanning dependencies of target csound64
[  1%] Building C object CMakeFiles/csound64.dir/Engine/auxfd.c.o
/home/dlphilp/src/csound6-git/Engine/auxfd.c:1:0: warning: SSE 
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/cfgvar.c.o
/home/dlphilp/src/csound6-git/Engine/cfgvar.c:1:0: warning: SSE 
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/corfiles.c.o
/home/dlphilp/src/csound6-git/Engine/corfiles.c:1:0: warning: SSE 
instruction set disabled, using 387 arithmetics [enabled by default]
...

and so forth. I'm building on a dual-core CPU (AMD Turion-X2) which I 
presume supports the SSE set, but I don't see a switch for it in the 
CMakeCache.txt file. What'd I miss ? System is Ubuntu 12.04, 32-bit, GCC 
4.6.3.

Cs5 builds and runs on the machine with no problems.

Next question regards an error with the Java interface:

[ 77%] Built target _csnd6
[ 77%] Swig source
Language subdirectory: java
Search paths:
    ./
    /usr/include/
    /home/dlphilp/src/csound6-git/./H/
    /home/dlphilp/src/csound6-git/./include/
    /home/dlphilp/src/csound6-git/./Engine/
    /home/dlphilp/src/csound6-git/./
    /home/dlphilp/src/csound6-git/build/
    /home/dlphilp/src/csound6-git/interfaces/
    /usr/include/python2.7/
    /usr/lib/jvm/java/include/
    /usr/lib/jvm/java/include/linux/
    /usr/lib/jvm/java/include/
    ./swig_lib/java/
    /usr/share/swig2.0/java/
    ./swig_lib/
    /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/dlphilp/src/csound6-git/./include/csound.h:523: Warning 451: 
Setting a const char * variable may leak memory.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:36: Warning 453: 
Can't apply (std::vector< double > *INPUT). No typemaps are defined.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:52: Warning 813: 
Warning for CppSound proxy: Base CsoundFile ignored. Multiple 
inheritance is not supported in Java.
Scanning dependencies of target _jcsound6
[ 78%] Building CXX object 
interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o
Linking CXX shared module ../lib_jcsound6.so
Building JAVA package csnd6.jar
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_int
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc, 
SWIGTYPE_p_p_p_char argv, int flags) {
                                      ^
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_p_p_char
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc, 
SWIGTYPE_p_p_p_char argv, int flags) {
                                                           ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                                                 ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                 ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0, 
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
                                            ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0, 
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0, 
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:25: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static void csoundDestroy(SWIGTYPE_p_CSOUND_ arg0) {
                                    ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_ 
arg0) {
                                                   ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_ 
arg0) {
                 ^

and so on and so forth. Please advise if the full error report is needed.

Btw, 'cmake ..' reported :

-- Building C++ interface library
-- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.4", minimum 
required is "2.0")
-- Found JNI: /usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- BUILD_PYTHON_INTERFACE is enabled
-- BUILD_JAVA_INTERFACE is enabled
-- LUA51_FOUND="FALSE", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled


I'm not clear as to whether the Java interface is completed, forgive me 
if this report is superfluous. :)

Best to all,

dp


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-06-24 16:41
FromAndres Cabrera
SubjectRe: [Cs-dev] some build issues with Cs6 git
AttachmentsNone  None  
Hi,

The architecture issues are something I reported a while ago, but since it's harmless, it's not been fixed. If I remember correctly, you might need to adjust some flags in cmake to get rid of the warnings.

The java issues might be related to api changes which might not be reflected in some already built files. Doing a completely fresh build might solve the problems.

Cheers,
Andrés


On Mon, Jun 24, 2013 at 7:07 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
Greetings,

I'd like to work with AVSynthesis and Csound6 so I tried to build the
latest git pull. I have a couple questions.

First, are these messages to be expected:

dlphilp@Maximus-i386:~/src/csound6-git/build$ make
[  1%] Generating csound_prelex.c
[  1%] Generating csound_orclex.c
[  1%] Generating csound_orcparse.c
/home/dlphilp/src/csound6-git/Engine/csound_orc.y: conflicts: 6
shift/reduce, 10 reduce/reduce
Scanning dependencies of target csound64
[  1%] Building C object CMakeFiles/csound64.dir/Engine/auxfd.c.o
/home/dlphilp/src/csound6-git/Engine/auxfd.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/cfgvar.c.o
/home/dlphilp/src/csound6-git/Engine/cfgvar.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/corfiles.c.o
/home/dlphilp/src/csound6-git/Engine/corfiles.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
...

and so forth. I'm building on a dual-core CPU (AMD Turion-X2) which I
presume supports the SSE set, but I don't see a switch for it in the
CMakeCache.txt file. What'd I miss ? System is Ubuntu 12.04, 32-bit, GCC
4.6.3.

Cs5 builds and runs on the machine with no problems.

Next question regards an error with the Java interface:

[ 77%] Built target _csnd6
[ 77%] Swig source
Language subdirectory: java
Search paths:
    ./
    /usr/include/
    /home/dlphilp/src/csound6-git/./H/
    /home/dlphilp/src/csound6-git/./include/
    /home/dlphilp/src/csound6-git/./Engine/
    /home/dlphilp/src/csound6-git/./
    /home/dlphilp/src/csound6-git/build/
    /home/dlphilp/src/csound6-git/interfaces/
    /usr/include/python2.7/
    /usr/lib/jvm/java/include/
    /usr/lib/jvm/java/include/linux/
    /usr/lib/jvm/java/include/
    ./swig_lib/java/
    /usr/share/swig2.0/java/
    ./swig_lib/
    /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/dlphilp/src/csound6-git/./include/csound.h:523: Warning 451:
Setting a const char * variable may leak memory.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:36: Warning 453:
Can't apply (std::vector< double > *INPUT). No typemaps are defined.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:52: Warning 813:
Warning for CppSound proxy: Base CsoundFile ignored. Multiple
inheritance is not supported in Java.
Scanning dependencies of target _jcsound6
[ 78%] Building CXX object
interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o
Linking CXX shared module ../lib_jcsound6.so
Building JAVA package csnd6.jar
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_int
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                      ^
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_p_p_char
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                                           ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                                                 ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                 ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
                                            ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:25: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static void csoundDestroy(SWIGTYPE_p_CSOUND_ arg0) {
                                    ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                                                   ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                 ^

and so on and so forth. Please advise if the full error report is needed.

Btw, 'cmake ..' reported :

-- Building C++ interface library
-- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.4", minimum
required is "2.0")
-- Found JNI: /usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- BUILD_PYTHON_INTERFACE is enabled
-- BUILD_JAVA_INTERFACE is enabled
-- LUA51_FOUND="FALSE", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled


I'm not clear as to whether the Java interface is completed, forgive me
if this report is superfluous. :)

Best to all,

dp


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-06-24 17:59
FromDave Phillips
SubjectRe: [Cs-dev] some build issues with Cs6 git
AttachmentsNone  None  
On 06/24/2013 11:41 AM, Andres Cabrera wrote:
Hi,

The architecture issues are something I reported a while ago, but since it's harmless, it's not been fixed. If I remember correctly, you might need to adjust some flags in cmake to get rid of the warnings.

The java issues might be related to api changes which might not be reflected in some already built files. Doing a completely fresh build might solve the problems.

Cheers,
Andrés


Thanks for the reply, Andres, I'll look at the cmake flags. My builds start with a make clean, is that not sufficient ? I'll try a complete fresh pull and see what that does for it.

Best,

dp




On Mon, Jun 24, 2013 at 7:07 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
Greetings,

I'd like to work with AVSynthesis and Csound6 so I tried to build the
latest git pull. I have a couple questions.

First, are these messages to be expected:

dlphilp@Maximus-i386:~/src/csound6-git/build$ make
[  1%] Generating csound_prelex.c
[  1%] Generating csound_orclex.c
[  1%] Generating csound_orcparse.c
/home/dlphilp/src/csound6-git/Engine/csound_orc.y: conflicts: 6
shift/reduce, 10 reduce/reduce
Scanning dependencies of target csound64
[  1%] Building C object CMakeFiles/csound64.dir/Engine/auxfd.c.o
/home/dlphilp/src/csound6-git/Engine/auxfd.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/cfgvar.c.o
/home/dlphilp/src/csound6-git/Engine/cfgvar.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/corfiles.c.o
/home/dlphilp/src/csound6-git/Engine/corfiles.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
...

and so forth. I'm building on a dual-core CPU (AMD Turion-X2) which I
presume supports the SSE set, but I don't see a switch for it in the
CMakeCache.txt file. What'd I miss ? System is Ubuntu 12.04, 32-bit, GCC
4.6.3.

Cs5 builds and runs on the machine with no problems.

Next question regards an error with the Java interface:

[ 77%] Built target _csnd6
[ 77%] Swig source
Language subdirectory: java
Search paths:
    ./
    /usr/include/
    /home/dlphilp/src/csound6-git/./H/
    /home/dlphilp/src/csound6-git/./include/
    /home/dlphilp/src/csound6-git/./Engine/
    /home/dlphilp/src/csound6-git/./
    /home/dlphilp/src/csound6-git/build/
    /home/dlphilp/src/csound6-git/interfaces/
    /usr/include/python2.7/
    /usr/lib/jvm/java/include/
    /usr/lib/jvm/java/include/linux/
    /usr/lib/jvm/java/include/
    ./swig_lib/java/
    /usr/share/swig2.0/java/
    ./swig_lib/
    /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/dlphilp/src/csound6-git/./include/csound.h:523: Warning 451:
Setting a const char * variable may leak memory.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:36: Warning 453:
Can't apply (std::vector< double > *INPUT). No typemaps are defined.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:52: Warning 813:
Warning for CppSound proxy: Base CsoundFile ignored. Multiple
inheritance is not supported in Java.
Scanning dependencies of target _jcsound6
[ 78%] Building CXX object
interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o
Linking CXX shared module ../lib_jcsound6.so
Building JAVA package csnd6.jar
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_int
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                      ^
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_p_p_char
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                                           ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                                                 ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                 ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
                                            ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:25: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static void csoundDestroy(SWIGTYPE_p_CSOUND_ arg0) {
                                    ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                                                   ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                 ^

and so on and so forth. Please advise if the full error report is needed.

Btw, 'cmake ..' reported :

-- Building C++ interface library
-- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.4", minimum
required is "2.0")
-- Found JNI: /usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- BUILD_PYTHON_INTERFACE is enabled
-- BUILD_JAVA_INTERFACE is enabled
-- LUA51_FOUND="FALSE", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled


I'm not clear as to whether the Java interface is completed, forgive me
if this report is superfluous. :)

Best to all,

dp


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2013-06-24 18:02
FromAndres Cabrera
SubjectRe: [Cs-dev] some build issues with Cs6 git
AttachmentsNone  None  
Hi,

I've found make clean is not sufficient for this, as the interface generated files don't seem to be picked up for cleanup. I've solved similar issues by starting a completely new build.

Cheers,
Andrés


On Mon, Jun 24, 2013 at 9:59 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
On 06/24/2013 11:41 AM, Andres Cabrera wrote:
Hi,

The architecture issues are something I reported a while ago, but since it's harmless, it's not been fixed. If I remember correctly, you might need to adjust some flags in cmake to get rid of the warnings.

The java issues might be related to api changes which might not be reflected in some already built files. Doing a completely fresh build might solve the problems.

Cheers,
Andrés


Thanks for the reply, Andres, I'll look at the cmake flags. My builds start with a make clean, is that not sufficient ? I'll try a complete fresh pull and see what that does for it.

Best,

dp





On Mon, Jun 24, 2013 at 7:07 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
Greetings,

I'd like to work with AVSynthesis and Csound6 so I tried to build the
latest git pull. I have a couple questions.

First, are these messages to be expected:

dlphilp@Maximus-i386:~/src/csound6-git/build$ make
[  1%] Generating csound_prelex.c
[  1%] Generating csound_orclex.c
[  1%] Generating csound_orcparse.c
/home/dlphilp/src/csound6-git/Engine/csound_orc.y: conflicts: 6
shift/reduce, 10 reduce/reduce
Scanning dependencies of target csound64
[  1%] Building C object CMakeFiles/csound64.dir/Engine/auxfd.c.o
/home/dlphilp/src/csound6-git/Engine/auxfd.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/cfgvar.c.o
/home/dlphilp/src/csound6-git/Engine/cfgvar.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/corfiles.c.o
/home/dlphilp/src/csound6-git/Engine/corfiles.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
...

and so forth. I'm building on a dual-core CPU (AMD Turion-X2) which I
presume supports the SSE set, but I don't see a switch for it in the
CMakeCache.txt file. What'd I miss ? System is Ubuntu 12.04, 32-bit, GCC
4.6.3.

Cs5 builds and runs on the machine with no problems.

Next question regards an error with the Java interface:

[ 77%] Built target _csnd6
[ 77%] Swig source
Language subdirectory: java
Search paths:
    ./
    /usr/include/
    /home/dlphilp/src/csound6-git/./H/
    /home/dlphilp/src/csound6-git/./include/
    /home/dlphilp/src/csound6-git/./Engine/
    /home/dlphilp/src/csound6-git/./
    /home/dlphilp/src/csound6-git/build/
    /home/dlphilp/src/csound6-git/interfaces/
    /usr/include/python2.7/
    /usr/lib/jvm/java/include/
    /usr/lib/jvm/java/include/linux/
    /usr/lib/jvm/java/include/
    ./swig_lib/java/
    /usr/share/swig2.0/java/
    ./swig_lib/
    /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/dlphilp/src/csound6-git/./include/csound.h:523: Warning 451:
Setting a const char * variable may leak memory.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:36: Warning 453:
Can't apply (std::vector< double > *INPUT). No typemaps are defined.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:52: Warning 813:
Warning for CppSound proxy: Base CsoundFile ignored. Multiple
inheritance is not supported in Java.
Scanning dependencies of target _jcsound6
[ 78%] Building CXX object
interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o
Linking CXX shared module ../lib_jcsound6.so
Building JAVA package csnd6.jar
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_int
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                      ^
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_p_p_char
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                                           ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                                                 ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                 ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
                                            ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:25: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static void csoundDestroy(SWIGTYPE_p_CSOUND_ arg0) {
                                    ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                                                   ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                 ^

and so on and so forth. Please advise if the full error report is needed.

Btw, 'cmake ..' reported :

-- Building C++ interface library
-- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.4", minimum
required is "2.0")
-- Found JNI: /usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- BUILD_PYTHON_INTERFACE is enabled
-- BUILD_JAVA_INTERFACE is enabled
-- LUA51_FOUND="FALSE", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled


I'm not clear as to whether the Java interface is completed, forgive me
if this report is superfluous. :)

Best to all,

dp


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-06-24 18:13
FromDave Phillips
SubjectRe: [Cs-dev] some build issues with Cs6 git
AttachmentsNone  None  
On 06/24/2013 01:02 PM, Andres Cabrera wrote:
Hi,

I've found make clean is not sufficient for this, as the interface generated files don't seem to be picked up for cleanup. I've solved similar issues by starting a completely new build.

Cheers,
Andrés


And right you are to do so. :)  I started with a new source directory and fresh pull, everything compiled cleanly. Thanks, Andres !

Best,

dp






On Mon, Jun 24, 2013 at 9:59 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
On 06/24/2013 11:41 AM, Andres Cabrera wrote:
Hi,

The architecture issues are something I reported a while ago, but since it's harmless, it's not been fixed. If I remember correctly, you might need to adjust some flags in cmake to get rid of the warnings.

The java issues might be related to api changes which might not be reflected in some already built files. Doing a completely fresh build might solve the problems.

Cheers,
Andrés


Thanks for the reply, Andres, I'll look at the cmake flags. My builds start with a make clean, is that not sufficient ? I'll try a complete fresh pull and see what that does for it.

Best,

dp





On Mon, Jun 24, 2013 at 7:07 AM, Dave Phillips <dlphillips@woh.rr.com> wrote:
Greetings,

I'd like to work with AVSynthesis and Csound6 so I tried to build the
latest git pull. I have a couple questions.

First, are these messages to be expected:

dlphilp@Maximus-i386:~/src/csound6-git/build$ make
[  1%] Generating csound_prelex.c
[  1%] Generating csound_orclex.c
[  1%] Generating csound_orcparse.c
/home/dlphilp/src/csound6-git/Engine/csound_orc.y: conflicts: 6
shift/reduce, 10 reduce/reduce
Scanning dependencies of target csound64
[  1%] Building C object CMakeFiles/csound64.dir/Engine/auxfd.c.o
/home/dlphilp/src/csound6-git/Engine/auxfd.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/cfgvar.c.o
/home/dlphilp/src/csound6-git/Engine/cfgvar.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
[  1%] Building C object CMakeFiles/csound64.dir/Engine/corfiles.c.o
/home/dlphilp/src/csound6-git/Engine/corfiles.c:1:0: warning: SSE
instruction set disabled, using 387 arithmetics [enabled by default]
...

and so forth. I'm building on a dual-core CPU (AMD Turion-X2) which I
presume supports the SSE set, but I don't see a switch for it in the
CMakeCache.txt file. What'd I miss ? System is Ubuntu 12.04, 32-bit, GCC
4.6.3.

Cs5 builds and runs on the machine with no problems.

Next question regards an error with the Java interface:

[ 77%] Built target _csnd6
[ 77%] Swig source
Language subdirectory: java
Search paths:
    ./
    /usr/include/
    /home/dlphilp/src/csound6-git/./H/
    /home/dlphilp/src/csound6-git/./include/
    /home/dlphilp/src/csound6-git/./Engine/
    /home/dlphilp/src/csound6-git/./
    /home/dlphilp/src/csound6-git/build/
    /home/dlphilp/src/csound6-git/interfaces/
    /usr/include/python2.7/
    /usr/lib/jvm/java/include/
    /usr/lib/jvm/java/include/linux/
    /usr/lib/jvm/java/include/
    ./swig_lib/java/
    /usr/share/swig2.0/java/
    ./swig_lib/
    /usr/share/swig2.0/
Preprocessing...
Starting language-specific parse...
Processing types...
C++ analysis...
Generating wrappers...
/home/dlphilp/src/csound6-git/./include/csound.h:523: Warning 451:
Setting a const char * variable may leak memory.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:36: Warning 453:
Can't apply (std::vector< double > *INPUT). No typemaps are defined.
/home/dlphilp/src/csound6-git/interfaces/CppSound.hpp:52: Warning 813:
Warning for CppSound proxy: Base CsoundFile ignored. Multiple
inheritance is not supported in Java.
Scanning dependencies of target _jcsound6
[ 78%] Building CXX object
interfaces/CMakeFiles/_jcsound6.dir/java_interfaceJAVA_wrap.cxx.o
Linking CXX shared module ../lib_jcsound6.so
Building JAVA package csnd6.jar
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_int
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                      ^
csnd.java:12: cannot find symbol
symbol  : class SWIGTYPE_p_p_p_char
location: class csnd.csnd
   public static int csoundInitialize(SWIGTYPE_p_int argc,
SWIGTYPE_p_p_p_char argv, int flags) {
                                                           ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                                                 ^
csnd.java:16: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_CSOUND_ csoundCreate(SWIGTYPE_p_void hostData) {
                 ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
                                            ^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:21: cannot find symbol
symbol  : class SWIGTYPE_p_FILE
location: class csnd.csnd
   public static int csoundInitializeCscore(SWIGTYPE_p_CSOUND_ arg0,
SWIGTYPE_p_FILE insco, SWIGTYPE_p_FILE outsco) {
^
csnd.java:25: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static void csoundDestroy(SWIGTYPE_p_CSOUND_ arg0) {
                                    ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_CSOUND_
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                                                   ^
csnd.java:37: cannot find symbol
symbol  : class SWIGTYPE_p_void
location: class csnd.csnd
   public static SWIGTYPE_p_void csoundGetHostData(SWIGTYPE_p_CSOUND_
arg0) {
                 ^

and so on and so forth. Please advise if the full error report is needed.

Btw, 'cmake ..' reported :

-- Building C++ interface library
-- Found SWIG: /usr/bin/swig2.0 (found suitable version "2.0.4", minimum
required is "2.0")
-- Found JNI: /usr/lib/jvm/java-6-sun/jre/lib/i386/libjawt.so
-- Found Java: /usr/bin/java (found version "1.6.0.24")
-- Could NOT find Lua51 (missing:  LUA_LIBRARIES LUA_INCLUDE_DIR)
-- BUILD_PYTHON_INTERFACE is enabled
-- BUILD_JAVA_INTERFACE is enabled
-- LUA51_FOUND="FALSE", so disabling BUILD_LUA_INTERFACE
-- BUILD_LUA_INTERFACE is disabled


I'm not clear as to whether the Java interface is completed, forgive me
if this report is superfluous. :)

Best to all,

dp


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel