Open adius opened 10 years ago
Hmm.. Are you installing from github source or from the source tar ball?
I was installing from github source. Now I also tried to install from the source tar ball and this time it worked better, but still didn't install. I got this error message:
…
Making install in src
CXX cursynth-cursynth_gui.o
cursynth_gui.cpp:21:10: fatal error: 'libintl.h' file not found
#include <libintl.h>
^
1 error generated.
make[1]: *** [cursynth-cursynth_gui.o] Error 1
make: *** [install-recursive] Error 1
BTW: You should definitely start tagging and releasing the software. (https://github.com/blog/1547-release-your-software)
Actually $ autoreconf -i
wasn't working during the installation as well…
Looks like you need to install gettext to get the libintl.h header files. At one point I did have gettext installed and it still couldn't find that header file on Mac, so let me know if it still doesn't work.
Right now I'm using ftp://ftp.gnu.org/gnu/cursynth for releases. I realized I didn't have a reference to it though so I put one in the README. I might make mirrored version on github in the future.
Any luck with that libintl.h header file?
I think that's the problem:
$ brew reinstall gettext
==> Reinstalling gettext
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.18.3.2.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.18.3.2.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/gettext/lib
CPPFLAGS: -I/usr/local/opt/gettext/include
==> Summary
🍺 /usr/local/Cellar/gettext/0.18.3.2: 1835 files, 19M
Any idea how to fix this?
Well, since this is a common problem on OSX so I put that include (-I/usr/local/opt/gettext/include) in the Makefile.am. I'm going to send out a new release today, but here it is and it should build: ftp://ftp.gnu.org/gnu/cursynth/cursynth-1.5.tar.gz
Let me know if it works :)
Still doesn't work =(
$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in cJSON
CC cJSON.o
AR libcJSON.a
Making all in rtaudio
CXX RtAudio.o
AR librtaudio.a
Making all in rtmidi
CXX RtMidi.o
AR librtmidi.a
Making all in mopo
Making all in src
CXX delay.o
CXX envelope.o
CXX feedback.o
CXX filter.o
CXX linear_slope.o
CXX midi_lookup.o
CXX mono_panner.o
CXX operators.o
CXX oscillator.o
CXX processor.o
CXX processor_router.o
CXX send_receive.o
CXX smooth_filter.o
CXX smooth_value.o
CXX step_generator.o
CXX trigger_operators.o
CXX value.o
CXX voice_handler.o
CXX wave.o
AR libmopo.a
make[3]: Nothing to be done for `all-am'.
Making all in src
CXX cursynth-main.o
CXX cursynth-cursynth.o
CXX cursynth-cursynth_engine.o
CXX cursynth-cursynth_gui.o
CXX cursynth-cursynth_strings.o
CXXLD cursynth
Undefined symbols for architecture x86_64:
"_libintl_bindtextdomain", referenced from:
mopo::CursynthGui::start() in cursynth-cursynth_gui.o
"_libintl_gettext", referenced from:
mopo::CursynthGui::drawHelp() in cursynth-cursynth_gui.o
mopo::CursynthGui::drawModulationMatrix() in cursynth-cursynth_gui.o
mopo::CursynthGui::drawMidi(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in cursynth-cursynth_gui.o
mopo::CursynthGui::drawStatus(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in cursynth-cursynth_gui.o
mopo::CursynthGui::drawPatchSaving(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in cursynth-cursynth_gui.o
mopo::CursynthGui::drawPatchLoading(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, int) in cursynth-cursynth_gui.o
mopo::CursynthGui::drawText(mopo::DisplayDetails const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, bool) in cursynth-cursynth_gui.o
...
"_libintl_setlocale", referenced from:
mopo::CursynthGui::start() in cursynth-cursynth_gui.o
"_libintl_textdomain", referenced from:
mopo::CursynthGui::start() in cursynth-cursynth_gui.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [cursynth] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The following worked for me
$ brew reinstall --universal --with-examples gettext
$ brew link --force gettext
$ autoreconf --force -i && ./configure && make clean && make
$ brew unlink gettext
I receive this error message:
My computer: