[Csnd] build qutecsound with csound doubles
Date | 2009-08-11 15:53 |
From | volker böhm |
Subject | [Csnd] build qutecsound with csound doubles |
hi, has anyone actually managed to build qutecsound with csound doubles? looking through the archive it doesn't seem so, but i might have missed it. i installed csound doubles version 5.10 on an intel mac running 10.5.7 as i understand it, there are no binaries of qutecsound for csound doubles. downloading the sources and trying qmake "CONFIG += build64" gives me following errors: vb-mbp:src vb$ qmake "CONFIG += build64" Project MESSAGE: Building for doubles (64-bit) csound Project MESSAGE: Building using CsoundLib64 WARNING: Failure to find: /Library/Frameworks/CsoundLib.framework/ Versions/Current/Headers/csound.h WARNING: Failure to find: /Library/Frameworks/CsoundLib.framework/ Versions/Current/Headers/csound.hpp WARNING: Failure to find: /Library/Frameworks/CsoundLib.framework/ Versions/Current/Headers/csPerfThread.hpp WARNING: Failure to find: /Library/Frameworks/CsoundLib.framework/ Versions/Current/Headers/cwindow.h vb-mbp:src vb$ while i have a Csound64Lib.framework in /Library/Frameworks/ i'm missing the 32-bit version CsoundLib.framework as expected. obviously this can't work like this. any pointers are welcome, thanks. volker. |
Date | 2009-08-11 15:59 |
From | Michael Gogins |
Subject | [Csnd] Re: build qutecsound with csound doubles |
I have built it with doubles on both Linux and Windows. You need to supply additional arguments to qmake, to specify where Csound's headers and libraries are. Hope this helps, Mike On 8/11/09, volker böhm |
Date | 2009-08-11 16:03 |
From | Dave Phillips |
Subject | [Csnd] Re: build qutecsound with csound doubles |
volker böhm wrote: > has anyone actually managed to build qutecsound with csound doubles? > looking through the archive it doesn't seem so, but i might have > missed it. Sorry, I have no experience with OSX, but I'm testing QuteCsound on an Ubuntu Jaunty Linux system. I compile Csound for use with AVSynthesis, which requires a build for doubles. My tests have been limited, but the latest QuteCsound seems to run nicely here. Best, dp |
Date | 2009-08-11 16:38 |
From | volker böhm |
Subject | [Csnd] Re: Re: build qutecsound with csound doubles |
thanks for the speedy replies. examining "src.pro" in the src directory and adjusting the path manually from "/Library/Frameworks/CsoundLib.framework" to "/Library/Frameworks/CsoundLib64.framework" in the relevant places, fixed the issue here. now i can build qutecsound, but when i try to run the app from the bin folder it crashed immediatley with the following error: Dyld Error Message: Library not loaded: /Library/Frameworks/CsoundLib.framework/ Versions/5.2/lib_csnd.dylib Referenced from: /Users/vb/project-files/xxx-otherSources/ qutecsound-0.4.2/bin/qutecsound.app/Contents/MacOS/qutecsound Reason: Incompatible library version: qutecsound requires version 5.2.0 or later, but lib_csnd.dylib provides version 5.1.0 looks again like a path problem. i'm hunting through the xcode project settings right now, but so far everything seems to be ok. anybody has some further suggestions what i could try? volker. On 11.08.2009, at 16:59, Michael Gogins wrote: > I have built it with doubles on both Linux and Windows. You need to > supply additional arguments to qmake, to specify where Csound's > headers and libraries are. > > Hope this helps, > Mike > > On 8/11/09, volker böhm |
Date | 2009-08-11 20:54 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: build qutecsound with csound doubles |
Thanks, I'll fix this. Cheers, Andrés On Tue, Aug 11, 2009 at 10:38 AM, volker böhm <vboehm@gmx.ch> wrote: thanks for the speedy replies. -- Andrés |
Date | 2009-08-12 14:20 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: build qutecsound with csound doubles |
It's now fixed on svn. Please try to see if the path issues are corrected. Your problem seems to be related to a previous installation of Csound which has API version 5.1, while current csound has API version 5.2. Cheers, Andrés On Tue, Aug 11, 2009 at 10:38 AM, volker böhm |
Date | 2009-08-12 15:36 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: build qutecsound with csound doubles |
On 12.08.2009, at 15:20, Andres Cabrera wrote: > It's now fixed on svn. Please try to see if the path issues are > corrected. thanks andres, for looking into this. qmake works now as expected and creates the xcode project, which compiles fine. but on launching qutecsound, it crashes with the same error as before. Dyld Error Message: Library not loaded: /Library/Frameworks/CsoundLib.framework/ Versions/5.2/lib_csnd.dylib Referenced from: /Users/vb/project-files/xxx-otherSources/ qutecsound/trunk/qutecsound/src/build/Debug/qutecsound.app/Contents/ MacOS/qutecsound Reason: Incompatible library version: qutecsound requires version 5.2.0 or later, but lib_csnd.dylib provides version 5.1.0 > Your problem seems to be related to a previous installation > of Csound which has API version 5.1, while current csound has API > version 5.2. i'm working on a brand new computer, where i have only installed csound 5.10 doubles version. however, i was migrating stuff from on old ppc laptop, where i had an old version of csound installed. but i'm not sure it was copied over, being of the wrong binary type. well, as far as i can see i have only one lib_csnd.dylib on my machine, which is in /Library/FrameworksCsoundLib64.framework/Versions/ 5.2/ so i believe the first part of the error message is correct: "library not loaded", cause the path is wrong. but i'm not sure about the second part, the "Reason: Incompatible library version". i don't think it finds a lib_csnd.dylib version 5.1.0, but rather finds nothing instead. might be wrong, though. is there something i can further check? v |
Date | 2009-08-12 15:49 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: build qutecsound with csound doubles |
ha, there it is. i found the "wrong" lib_csnd in usr/local/lib and trahsed it. running qutecsound now still doesn't work but throws a little different error: Dyld Error Message: Library not loaded: /Library/Frameworks/CsoundLib.framework/ Versions/5.2/lib_csnd.dylib Referenced from: /Users/vb/project-files/xxx-otherSources/ qutecsound/trunk/qutecsound/src/build/Debug/qutecsound.app/Contents/ MacOS/qutecsound Reason: image not found which seems correct to me. still think the path is wrong. v On 12.08.2009, at 16:36, volker böhm wrote: > > On 12.08.2009, at 15:20, Andres Cabrera wrote: > >> It's now fixed on svn. Please try to see if the path issues are >> corrected. > > thanks andres, for looking into this. > qmake works now as expected and creates the xcode project, which > compiles fine. > but on launching qutecsound, it crashes with the same error as before. > > Dyld Error Message: > Library not loaded: /Library/Frameworks/CsoundLib.framework/ > Versions/5.2/lib_csnd.dylib > Referenced from: /Users/vb/project-files/xxx-otherSources/ > qutecsound/trunk/qutecsound/src/build/Debug/qutecsound.app/Contents/ > MacOS/qutecsound > Reason: Incompatible library version: qutecsound requires version > 5.2.0 or later, but lib_csnd.dylib provides version 5.1.0 > > >> Your problem seems to be related to a previous installation >> of Csound which has API version 5.1, while current csound has API >> version 5.2. > > > i'm working on a brand new computer, where i have only installed > csound 5.10 doubles version. > however, i was migrating stuff from on old ppc laptop, where i had > an old version of csound installed. > but i'm not sure it was copied over, being of the wrong binary type. > > well, as far as i can see i have only one lib_csnd.dylib on my > machine, which is in /Library/FrameworksCsoundLib64.framework/ > Versions/5.2/ > so i believe the first part of the error message is correct: > "library not loaded", cause the path is wrong. > but i'm not sure about the second part, the "Reason: Incompatible > library version". > i don't think it finds a lib_csnd.dylib version 5.1.0, but rather > finds nothing instead. > might be wrong, though. > > is there something i can further check? > > > v > > > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body > "unsubscribe csound" |
Date | 2009-08-12 15:53 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
The problem is that it should be CsoundLib64 here: /Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib Not sure where this is coming from... Seems nobody had tried building QuteCsound for doubles on OS X before.... Cheers, Andrés On Wed, Aug 12, 2009 at 9:49 AM, volker böhm |
Date | 2009-08-12 16:37 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
On 12.08.2009, at 16:53, Andres Cabrera wrote: > The problem is that it should be CsoundLib64 here: > /Library/Frameworks/CsoundLib.framework/Versions/5.2/lib_csnd.dylib yes, exactly - that's what i tried to point out. so, somewhere in your code there is still the reference to the csound 32-bit version, no? if i fake the 32-bit framework by copying and renaming the 64-bit framework i can make it work. so qutecsound works for me, now. but it would be nice if this could be fixed at some point. tell me if you want me to test out anything. thanks, volker. |
Date | 2009-08-12 23:51 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
It's odd the line that does this in src.pro is: LIBS += -L/Library/Frameworks/$${MAC_LIB}.framework/Versions/Current And the MAC_LIB macro is defined above depending on the version (doubles/floats) selected. Are you using the latest src.pro from svn? Can you try deleting the makefile and running qmake again? Cheers, Andrés On Wed, Aug 12, 2009 at 10:37 AM, volker böhm |
Date | 2009-08-12 23:52 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
Sorry, probably no makefile there... try deleting the XCode project and any other extraneous files. Cheers, Andrés On Wed, Aug 12, 2009 at 5:51 PM, Andres Cabrera |
Date | 2009-08-13 16:02 |
From | volker böhm |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
On 13.08.2009, at 00:51, Andres Cabrera wrote: > It's odd the line that does this in src.pro is: > > LIBS += -L/Library/Frameworks/$${MAC_LIB}.framework/Versions/Current > > And the MAC_LIB macro is defined above depending on the version > (doubles/floats) selected. Are you using the latest src.pro from svn? yes, i'm using the latest svn checkout (revision 211) and yes MAC_LIB is set correctly to CsoundLib64, so yes, src.pro looks right to me and qutecsound compiles fine. but keeps crashing with the same error. i've just tried it again on a different intel mac, that has never seen any csound or qt before - with the same results. |
Date | 2009-08-13 16:22 |
From | Andres Cabrera |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: build qutecsound with csound doubles |
Very odd... really not sure where this is coming from... Cheers, Andrés On Thu, Aug 13, 2009 at 10:02 AM, volker böhm |