Csound Csound-dev Csound-tekno Search About

[Csnd] still build errors

Date2014-02-02 16:12
Frommenno
Subject[Csnd] still build errors
it builds up to 80%.
Does it have to do with a Cmake option that i should provide?
And what is the right way to do this option?

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in interfaces/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "libcsnd6" has an INTERFACE_LINK_LIBRARIES property which differs
  from its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    /usr/lib/x86_64-linux-gnu/libsndfile.so;csound64

  LINK_INTERFACE_LIBRARIES:

This is the Cmake and Make text:  cs602_git3
  






--
View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-02-02 17:59
Fromjpff
SubjectRe: [Csnd] still build errors
What do you have in Custom.cmake?

I have no mention of INTERFACE_LINK_LIBRARIES anywhere in my csound tree 
so might be worth a "grep -r INTERFACE_LINK_LIBRARIES ." to see if you 
have it mentioned.

What version of cmake do you have?  I can find no reference to CMP0022 
either


On Sun, 2 Feb 2014, menno wrote:

> it builds up to 80%.
> Does it have to do with a Cmake option that i should provide?
> And what is the right way to do this option?
>
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) in interfaces/CMakeLists.txt:
>  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
>  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
>  cmake_policy command to set the policy and suppress this warning.
>
>  Target "libcsnd6" has an INTERFACE_LINK_LIBRARIES property which differs
>  from its LINK_INTERFACE_LIBRARIES properties.
>
>  INTERFACE_LINK_LIBRARIES:
>
>    /usr/lib/x86_64-linux-gnu/libsndfile.so;csound64
>
>  LINK_INTERFACE_LIBRARIES:
>
> This is the Cmake and Make text:  cs602_git3
> 
>
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>
>

Date2014-02-02 18:11
FromSteven Yi
SubjectRe: [Csnd] still build errors
I do get the INTERFACE_LINK_LIBRARIES warnings here, but they don't
prevent building.

Menno: in situations where I have an error, I tend to rebuild using
just "make" instead of with -j6, as the messages can get interleaved.
Could you rebuild without -j6 and post the results?

On Sun, Feb 2, 2014 at 12:59 PM, jpff  wrote:
> What do you have in Custom.cmake?
>
> I have no mention of INTERFACE_LINK_LIBRARIES anywhere in my csound tree so
> might be worth a "grep -r INTERFACE_LINK_LIBRARIES ." to see if you have it
> mentioned.
>
> What version of cmake do you have?  I can find no reference to CMP0022
> either
>
>
>
> On Sun, 2 Feb 2014, menno wrote:
>
>> it builds up to 80%.
>> Does it have to do with a Cmake option that i should provide?
>> And what is the right way to do this option?
>>
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>
>> CMake Warning (dev) in interfaces/CMakeLists.txt:
>>  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
>>  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use
>> the
>>  cmake_policy command to set the policy and suppress this warning.
>>
>>  Target "libcsnd6" has an INTERFACE_LINK_LIBRARIES property which differs
>>  from its LINK_INTERFACE_LIBRARIES properties.
>>
>>  INTERFACE_LINK_LIBRARIES:
>>
>>    /usr/lib/x86_64-linux-gnu/libsndfile.so;csound64
>>
>>  LINK_INTERFACE_LIBRARIES:
>>
>> This is the Cmake and Make text:  cs602_git3
>> 
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to the Sourceforge bug trackers
>> csound6:
>>            https://sourceforge.net/p/csound/tickets/
>> csound5:
>>            https://sourceforge.net/p/csound/bugs/
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>            https://sourceforge.net/p/csound/tickets/
> csound5:
>            https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>

Date2014-02-02 19:45
Frommenno
Subject[Csnd] Re: still build errors
My cmake version = 2.8.12.1
grep -r INTERFACE_LINK_LIBRARIES in the terminal gives nothing.

I tried, from scratch, to build Csound;
What i did:
- downloaded a snaphot of the develop branch of git
- extracted the zipfile, renamed it to csound
- copied to temp
- cd temp
- copied STK4.4.4 incluce, rawwaves and src to csound/Opcodes/stk
- in terminal ~/temp$: cmake csound
- in terminal ~/temp$: make

Yet another error:
.....
.....
Scanning dependencies of target csound-bin
[ 71%] Building C object
frontends/CMakeFiles/csound-bin.dir/csound/csound_main.c.o
[ 72%] Building C object
frontends/CMakeFiles/csound-bin.dir/csound/sched.c.o
Linking C executable ../csound
/usr/bin/ld: cannot open output file ../csound: Is a directory
collect2: ld returned 1 exit status
make[2]: *** [csound] Error 1
make[1]: *** [frontends/CMakeFiles/csound-bin.dir/all] Error 2
make: *** [all] Error 2

cmake and make text are attached:  cs602_git4
  

My last version that build well is from 8 January.





--
View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732170.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-02-02 21:35
FromSteven Yi
SubjectRe: [Csnd] Re: still build errors
Hi Menno,

The error seems to be:

Linking C executable ../csound
/usr/bin/ld: cannot open output file ../csound: Is a directory

It's trying to build an executable in the folder where you have a
folder already named csound.  You could try moving the csound src
folder or renaming it to something like csound-src, then run cmake and
so on.  That should get you a build.

steven

On Sun, Feb 2, 2014 at 2:45 PM, menno  wrote:
> My cmake version = 2.8.12.1
> grep -r INTERFACE_LINK_LIBRARIES in the terminal gives nothing.
>
> I tried, from scratch, to build Csound;
> What i did:
> - downloaded a snaphot of the develop branch of git
> - extracted the zipfile, renamed it to csound
> - copied to temp
> - cd temp
> - copied STK4.4.4 incluce, rawwaves and src to csound/Opcodes/stk
> - in terminal ~/temp$: cmake csound
> - in terminal ~/temp$: make
>
> Yet another error:
> .....
> .....
> Scanning dependencies of target csound-bin
> [ 71%] Building C object
> frontends/CMakeFiles/csound-bin.dir/csound/csound_main.c.o
> [ 72%] Building C object
> frontends/CMakeFiles/csound-bin.dir/csound/sched.c.o
> Linking C executable ../csound
> /usr/bin/ld: cannot open output file ../csound: Is a directory
> collect2: ld returned 1 exit status
> make[2]: *** [csound] Error 1
> make[1]: *** [frontends/CMakeFiles/csound-bin.dir/all] Error 2
> make: *** [all] Error 2
>
> cmake and make text are attached:  cs602_git4
> 
>
> My last version that build well is from 8 January.
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732170.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2014-02-03 10:38
Frommenno
Subject[Csnd] Re: still build errors
That was it Steven, thanks.
I did not know that ld would try to link to a folder, and would not look for
a real executable, but simply decided to stop there.
Okay, now i know this too :)

Another thing that i noticed before a few months ago with another build:
Installing: /usr/local/lib/csound/plugins-6.0/libmixer.so
-- Installing: /usr/local/lib/csound/plugins-6.0/libsignalflowgraph.so
-- Installing: /usr/local/lib/csound/plugins-6.0/libampmidid.so

instead of :
Installing: /usr/local/lib/csound/plugins*64*-6.0/libmixer.so
.....

I simply copied the newly created files to plugings64-6.0 and all works, but
i thought i'd mention this.
install file:  cs602_git5
  
Thanks again!







--
View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732174.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-02-05 16:29
FromSteven Yi
SubjectRe: [Csnd] Re: still build errors
Hi Menno,

I'd check your CMakeCache.txt to see if USE_DOUBLE=1.  That's the only
thing I'm seeing so far in the code that would set the plugin install
directory to plugins-6.0.

steven

On Mon, Feb 3, 2014 at 5:38 AM, menno  wrote:
> That was it Steven, thanks.
> I did not know that ld would try to link to a folder, and would not look for
> a real executable, but simply decided to stop there.
> Okay, now i know this too :)
>
> Another thing that i noticed before a few months ago with another build:
> Installing: /usr/local/lib/csound/plugins-6.0/libmixer.so
> -- Installing: /usr/local/lib/csound/plugins-6.0/libsignalflowgraph.so
> -- Installing: /usr/local/lib/csound/plugins-6.0/libampmidid.so
>
> instead of :
> Installing: /usr/local/lib/csound/plugins*64*-6.0/libmixer.so
> .....
>
> I simply copied the newly created files to plugings64-6.0 and all works, but
> i thought i'd mention this.
> install file:  cs602_git5
> 
> Thanks again!
>
>
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732174.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2014-02-05 18:39
Frommenno
Subject[Csnd] Re: still build errors
Hi Steven,

CmakeCache.txt says:
//Set to use double-precision floating point for audio samples.
USE_DOUBLE:BOOL=ON

and the text after: "sudo make install":
............
-- Install configuration: ""-- Installing: /usr/local/lib/libcsound64.so.6.0
-- Up-to-date: /usr/local/lib/libcsound64.so
-- Installing: /usr/local/include/csound/csound_type_system.h
-- Installing: /usr/local/include/csound/float-version-double.h
...........
but a few lines after that i
 read:
.........
-- Installing: /usr/local/lib/csound/plugins-6.0/libmixer.so
-- Installing: /usr/local/lib/csound/plugins-6.0/libsignalflowgraph.so
-- Installing: /usr/local/lib/csound/plugins-6.0/libampmidid.so
...........

I have noticed this behavior before, Steven, and reported that in the
Csound-Blue mailing list:
http://csound.1045644.n5.nabble.com/Blue-experiences-td5730406i20.html#a5730640
But it is not always like this.




--
View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732303.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2014-02-05 19:00
FromSteven Yi
SubjectRe: [Csnd] Re: still build errors
I see I came to the same conclusion in that other thread.  I still
have no idea how it can install to plugin-6.0 when it's building the
doubles build. I'm also using Cmake 2.8.12.1 but am on OSX.

Do any other Linux users have this issue?

steven

On Wed, Feb 5, 2014 at 1:39 PM, menno  wrote:
> Hi Steven,
>
> CmakeCache.txt says:
> //Set to use double-precision floating point for audio samples.
> USE_DOUBLE:BOOL=ON
>
> and the text after: "sudo make install":
> ............
> -- Install configuration: ""-- Installing: /usr/local/lib/libcsound64.so.6.0
> -- Up-to-date: /usr/local/lib/libcsound64.so
> -- Installing: /usr/local/include/csound/csound_type_system.h
> -- Installing: /usr/local/include/csound/float-version-double.h
> ...........
> but a few lines after that i
>  read:
> .........
> -- Installing: /usr/local/lib/csound/plugins-6.0/libmixer.so
> -- Installing: /usr/local/lib/csound/plugins-6.0/libsignalflowgraph.so
> -- Installing: /usr/local/lib/csound/plugins-6.0/libampmidid.so
> ...........
>
> I have noticed this behavior before, Steven, and reported that in the
> Csound-Blue mailing list:
> http://csound.1045644.n5.nabble.com/Blue-experiences-td5730406i20.html#a5730640
> But it is not always like this.
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/still-build-errors-tp5732166p5732303.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug trackers
> csound6:
>             https://sourceforge.net/p/csound/tickets/
> csound5:
>             https://sourceforge.net/p/csound/bugs/
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>