> I don't know portmidi. Do you use the correct version of the library?
> It also seems that the calls are "C" calls, but you may be compiling
> your sources as "C++". If the portmidi header files are not C++ safe,
> you have to encluse the #include statements with
>
> extern "C" {
> #include <...>
> }

it is C++ save, however, macos needs some special linker flags:

.. -framework CoreMIDI /opt/local/lib/libportmidi.a -framework CoreAudio 
/opt/local/lib/libporttime.a

now it built fine and works OOTB on MacOS. :)

anyone knows how I would test for the current OS (Linux/Mac/Windows) in a 
Makefiles (or better yet, configure.ac) and set LDFLAGS depending on the 
results?

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

Reply via email to