Csound Csound-dev Csound-tekno Search About

[Csnd] stuck compiling a C csoundapi app on os x

Date2012-02-06 04:29
FromIain Duncan
Subject[Csnd] stuck compiling a C csoundapi app on os x
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