|
Hi folks, I just switched to a hackintosh and am still very new to the os x stuff. I'm trying to get my simple example csound api app to build and am not sure from the error message what I might be doing wrong, or whether my compile flags should now be different. Here's what I did and got, any suggestions welcome ( Csound is built from source in /usr/local/src/Csound... )
iainduncan@mac:~/audio/csound_api/simple_test$ g++ main.cpp -o csoundAPItest -I/usr/local/src/Csound5.15.0/H -L/usr/local/src/Csound5.15.0 -lcsound -ldl -lpthread -lsndfile Undefined symbols:
"_libintl_setlocale", referenced from: _csoundSetLanguage in libcsound.a(getstring.o) _otran in libcsound.a(otran.o) "_libintl_dgettext", referenced from:
_csoundLocalizeString in libcsound.a(getstring.o) ld: symbol(s) not found collect2: ld returned 1 exit status thanks! Iain
|
|
Looks like ypu are missing the internationalisation library
You can switch the need off with useGettext=0 ==John ff > Hi folks, I just switched to a hackintosh and am still very new to the os > x > stuff. I'm trying to get my simple example csound api app to build and am > not sure from the error message what I might be doing wrong, or whether my > compile flags should now be different. Here's what I did and got, any > suggestions welcome ( Csound is built from source in > /usr/local/src/Csound... ) > > > iainduncan@mac:~/audio/csound_api/simple_test$ g++ main.cpp -o > csoundAPItest -I/usr/local/src/Csound5.15.0/H > -L/usr/local/src/Csound5.15.0 > -lcsound -ldl -lpthread -lsndfile > Undefined symbols: > "_libintl_setlocale", referenced from: > _csoundSetLanguage in libcsound.a(getstring.o) > _otran in libcsound.a(otran.o) > "_libintl_dgettext", referenced from: > _csoundLocalizeString in libcsound.a(getstring.o) > ld: symbol(s) not found > collect2: ld returned 1 exit status > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
Thanks John. Does this mean I am missing it from my csound build and need to rebuild Csound with useGettext=0? And do you know why I would be missing it or how I get it, it is it a csound thing or a dependency? Csound is running fine as a standalone, FWIW.
thanks Iain
On Mon, Feb 6, 2012 at 12:14 AM, <[hidden email]> wrote: Looks like ypu are missing the internationalisation library |
|
You should be able to set it when you build with scons. AFAIK getText
is used in translating strings from one language to another. As long as you are Ok working in English then you need not bother with it. On 6 February 2012 17:21, Iain Duncan <[hidden email]> wrote: > Thanks John. Does this mean I am missing it from my csound build and need to > rebuild Csound with useGettext=0? And do you know why I would be missing it > or how I get it, it is it a csound thing or a dependency? Csound is running > fine as a standalone, FWIW. > > thanks > Iain > > On Mon, Feb 6, 2012 at 12:14 AM, <[hidden email]> wrote: >> >> Looks like ypu are missing the internationalisation library >> You can switch the need off with useGettext=0 >> ==John ff >> >> > Hi folks, I just switched to a hackintosh and am still very new to the >> > os >> > x >> > stuff. I'm trying to get my simple example csound api app to build and >> > am >> > not sure from the error message what I might be doing wrong, or whether >> > my >> > compile flags should now be different. Here's what I did and got, any >> > suggestions welcome ( Csound is built from source in >> > /usr/local/src/Csound... ) >> > >> > >> > iainduncan@mac:~/audio/csound_api/simple_test$ g++ main.cpp -o >> > csoundAPItest -I/usr/local/src/Csound5.15.0/H >> > -L/usr/local/src/Csound5.15.0 >> > -lcsound -ldl -lpthread -lsndfile >> > Undefined symbols: >> > "_libintl_setlocale", referenced from: >> > _csoundSetLanguage in libcsound.a(getstring.o) >> > _otran in libcsound.a(otran.o) >> > "_libintl_dgettext", referenced from: >> > _csoundLocalizeString in libcsound.a(getstring.o) >> > ld: symbol(s) not found >> > collect2: ld returned 1 exit status >> > >> >> >> >> >> >> Send bugs reports to the Sourceforge bug tracker >> https://sourceforge.net/tracker/?group_id=81968&atid=564599 >> Discussions of bugs and features can be posted here >> To unsubscribe, send email [hidden email] with body "unsubscribe >> csound" >> > Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email [hidden email] with body "unsubscribe csound" |
|
On Mon, Feb 6, 2012 at 9:25 AM, Rory Walsh <[hidden email]> wrote: You should be able to set it when you build with scons. AFAIK getText Just out of curiosity, why does it only rear its head when using the API? iain
|
|
Thanks John and Rory, that did it.
Iain On Mon, Feb 6, 2012 at 9:42 AM, Iain Duncan <[hidden email]> wrote:
|
| Powered by Nabble | See how NAML generates this page |
