Hey Ian,

I am currently trying to get things working on MacOSX. portmidi and fltk are 
installed into /opt/local via macports.
With the links you posted

> http://www.fltk.org/articles.php?L598
>
> http://www.fltk.org/articles.php?L599

i could get rid of unresolved symbol errors for fltk, though, i still get 
unresolved symbols for portmidi things:

g++ -I/opt/local/include -O2 -D_THREAD_SAFE -D_REENTRANT -DMEMWATCH -Wall 
-Winline -Wpointer-arith -Wcast-qual -Wcast-align -ggdb -I/opt/local/include 
-L/opt/local/lib /opt/local/lib/libfltk_gl.a -framework AGL -framework OpenGL 
/opt/local/lib/libfltk.a -lpthread -framework Carbon -framework 
ApplicationServices -L/opt/local/lib -lportmidi -lporttime  -o prodatum 
memwatch.o prodatum-debug.o prodatum-midi.o prodatum-data.o prodatum-ctrl.o 
prodatum-wid.o prodatum-grps.o prodatum-ui.o prodatum-main.o
Undefined symbols:
  "_MIDIGetSource", referenced from:
      _pm_macosxcm_init in libportmidi.a(pmmacosxcm.o)
  "_AudioConvertNanosToHostTime", referenced from:
      _Pt_CallbackProc in libporttime.a(ptmacosx_mach.o)
      _midi_write_short in libportmidi.a(pmmacosxcm.o)
      _midi_begin_sysex in libportmidi.a(pmmacosxcm.o)
      _timestamp_pm_to_cm in libportmidi.a(pmmacosxcm.o)
  "_MIDIObjectGetDataProperty", referenced from:
      _ConnectedEndpointName in libportmidi.a(pmmacosxcm.o)
..

any idea? Thing is, i had many unresolved symbols for FLTK too, until i used 
the fltk-config tool to set CXXFLAGS and LDFLAGS. Now, for portmidi this wont 
work. :)
Is this a macOS thing? I mean, i told the linker where it can find the libs, 
still it gives me unresolved symbols?

About IDEs. The Makfile example from the link is nice. With that, Eclipse and 
msys/minGW in windows, I can use Eclipse/make on all three platforms. I am fine 
with that. :)

Thank you so much.
Jan


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to