1

Has anyone compiled, or know of a pre-compiled, libnoise for MacOS X 10.6? It does not compile out of the box here due to a libtool issue.

libtool --mode=compile g++   -c ../src/latlon.cpp -o ../src/latlon.o
libtool: unknown option character `-' in: --mode=compile
ldav1s
  • 15,885
  • 2
  • 53
  • 56
grrussel
  • 7,209
  • 8
  • 51
  • 71

1 Answers1

5

This is because OS X has its own libtool, quite different from GNU's libtool, which is called glibtool on OS X. You need to edit Makefile in src/ to set

LIBTOOL = glibtool

etc. You should also delete the lines which generates .so files, because OS X has a different format for the dynamic library and how it is installed. I'd recommend you to stick to .a file. Good luck!

This Apple document Porting UNIX/Linux Applications might help you.

Yuji
  • 34,103
  • 3
  • 70
  • 88