[Cs-dev] compileFromStrings...
Date | 2013-02-19 00:46 |
From | Rory Walsh |
Subject | [Cs-dev] compileFromStrings... |
I'm getting linker errors when working with 5.19 on Linux. First thing that's fishy is when i run Csound from the terminal it says: Csound version 5.19.02 beta (float samples) Feb 18 2013 even though I specifically asked it for doubles: scons buildInterfaces=1 buildJavaWrapper=1 useALSA=1 usePortMIDI=1 usePortAudio=1 useDouble=1 Anyhow, apart from that I can run Csound just fine, but whenever i try to build a host app it fails with these linker errors: build/intermediate/Debug/CabbagePluginProcessor_73d6661b.o: In function `Csound::Compile(char*, char*, int, char**)': /usr/include/csound/csound.hpp:195: undefined reference to `csoundCompileFromStrings' build/intermediate/Debug/CabbagePluginProcessor_73d6661b.o: In function `Csound::CompileFromStrings(char*, char*, char*, char*, char*, char*, char*, char*)': /usr/include/csound/csound.hpp:240: undefined reference to `csoundCompileFromStrings' build/intermediate/Debug/CabbagePluginProcessor_73d6661b.o: In function `Csound::CompileFromStrings(char*, char*, int, char**)': /usr/include/csound/csound.hpp:245: undefined reference to `csoundCompileFromStrings' Any ideas? I was hoping to check out those changes Victor made to fout.. ------------------------------------------------------------------------------ The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-02-19 03:04 |
From | Victor |
Subject | Re: [Cs-dev] compileFromStrings... |
Are you sure you are linking to the correct version of Csound? Maybe you have more than one lying around. Victor On 19 Feb 2013, at 00:46, Rory Walsh |
Date | 2013-02-19 07:40 |
From | Victor |
Subject | Re: [Cs-dev] compileFromStrings... |
By the way, the missing function is present in Top/main.c. What changes to fout are you talking about? I think I fixed a bug there, but that was it. Victor On 19 Feb 2013, at 00:46, Rory Walsh |
Date | 2013-02-19 09:37 |
From | Rory Walsh |
Subject | Re: [Cs-dev] compileFromStrings... |
Actually I think it was Tito who made some changes a while back to improve writing speed? Either way I'm still pulling my hair out here trying to get this working. I've scoured the file system for left over Csound libs but I can't find any apart from the ones I've built and install myself. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-02-19 12:02 |
From | Rory Walsh |
Subject | Re: [Cs-dev] compileFromStrings... |
When i do a 'locate csound' I get the following: /home/rory/sourcecode/Sourcecode/Csoundo/CsoundAndroid/libs/armeabi/libcsoundandroid.so /home/rory/sourcecode/Sourcecode/Csoundo/CsoundAndroid/libs/armeabi-v7a/libcsoundandroid.so /usr/lib/libcsound64.so /usr/lib/libcsound64.so.5.2 /var/cache/apt/archives/libcsound64-5.2_1%3a5.17.11~dfsg-1_amd64.deb /var/cache/apt/archives/libcsound64-dev_1%3a5.17.11~dfsg-1_all.deb /var/lib/dpkg/info/libcsound64-5.2.list /var/lib/dpkg/info/libcsound64-5.2.md5sums /var/lib/dpkg/info/libcsound64-5.2.postinst /var/lib/dpkg/info/libcsound64-5.2.postrm /var/lib/dpkg/info/libcsound64-5.2.shlibs /var/lib/dpkg/info/libcsound64-5.2.symbols /var/lib/dpkg/info/libcsound64-dev.list /var/lib/dpkg/info/libcsound64-dev.md5sums I really can't see any libs left over from the previous install, yet the errors persist. Assuming that there are libs left over, how the heck do I engage in seek and destroy?! ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-02-19 13:01 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] compileFromStrings... |
One thing you can do is build again, and this time, first check in the build that you are getting the doubles build (it will be easy to see in the build messages). Then check that the build .so has the function by running nm on it. $ nm libcsound64.so.5.2 | grep csoundCompile (this is what I get here on OSX, for instance) coltrane:icmc2013_csound6 victor$ nm ../csound5/CsoundLib64 | grep csoundCompile 00000000000a12b0 T _csoundCompile 00000000000a07a0 T _csoundCompileFromStrings Then you are sure the symbol is there. Install csound and run nm again in the installed lib. Victor On 19 Feb 2013, at 12:02, Rory Walsh wrote: > When i do a 'locate csound' I get the following: > > /home/rory/sourcecode/Sourcecode/Csoundo/CsoundAndroid/libs/armeabi/libcsoundandroid.so > /home/rory/sourcecode/Sourcecode/Csoundo/CsoundAndroid/libs/armeabi-v7a/libcsoundandroid.so > /usr/lib/libcsound64.so > /usr/lib/libcsound64.so.5.2 > /var/cache/apt/archives/libcsound64-5.2_1%3a5.17.11~dfsg-1_amd64.deb > /var/cache/apt/archives/libcsound64-dev_1%3a5.17.11~dfsg-1_all.deb > /var/lib/dpkg/info/libcsound64-5.2.list > /var/lib/dpkg/info/libcsound64-5.2.md5sums > /var/lib/dpkg/info/libcsound64-5.2.postinst > /var/lib/dpkg/info/libcsound64-5.2.postrm > /var/lib/dpkg/info/libcsound64-5.2.shlibs > /var/lib/dpkg/info/libcsound64-5.2.symbols > /var/lib/dpkg/info/libcsound64-dev.list > /var/lib/dpkg/info/libcsound64-dev.md5sums > > I really can't see any libs left over from the previous install, yet > the errors persist. Assuming that there are libs left over, how the > heck do I engage in seek and destroy?! > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-02-19 13:39 |
From | Rory Walsh |
Subject | Re: [Cs-dev] compileFromStrings... |
Thanks Victor, that was just the help I needed. All good now. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |