monome / libmonome

makes writing applications for Monomes easy.
ISC License
304 stars 159 forks source link

build error in os x #7

Closed rknLA closed 13 years ago

rknLA commented 13 years ago

not sure what i don't have, but here's the make sequence...

$ make
  CC      src/libmonome.o
  CC      src/rotation.o
  CC      src/platform/darwin.o
  CC      src/platform/posix.o
  LD      src/libmonome.dylib
  CC      src/monomeserial.o
  LD      src/monomeserial
  CC      src/proto/mext.o
  LD      src/proto/protocol_mext.dylib
Undefined symbols:
  "_monome_platform_wait_for_input", referenced from:
      _mext_open in mext.o
  "_rotspec", referenced from:
      _mext_led_row_col in mext.o
      _mext_led_row_col in mext.o
      _mext_led in mext.o
      _mext_led_col in mext.o
      _mext_led_row in mext.o
      _mext_led_frame in mext.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [protocol_mext.dylib] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
wrl commented 13 years ago

you have an older version of libmonome installed and gcc is attempting to link to it instead of the one you're building. run the following commands at the prompt to remedy it:

rm -f /usr/local/lib/libmonome*
rm -rf /usr/local/lib/monome