Closed gogins closed 2 years ago
I should probably use either only fltk-image or only opencv for loading and processing images.
I build FLTK from sources and installed it, it produced the CMake configuration file.
I updated csound-extended's CMakeLists.txt to be more cross-platform.
Can't find elements.h, what is that. OK, it's part of libmusicxml. Looks like a real mess. As installed from the submodule:
mkg@xenakis:~/libmusicxml/build$ xmlversion
libmusicxml version 3.19
musicxml to guido converter version 3.0
musicxml to lilypond converter version 0.92
This installs the inner headers. But as installed from a fresh clone of the libmusicxml repository:
mkg@xenakis:~/libmusicxml/build/bin$ ./xmlversion
libmusicxml version 3.20
musicxml to guido converter version 3.1
On my MacBook it is also version 3.20.
My mistake was using the default dev branch of the musicxml library instead of the master branch.
The problem now is not finding the fltk.framework directory. I will remove the FLTK dependency.
FLTK image formats:
OpenCV image formats:
Should make little or no practical difference.
There are undefined symbols in the Python module for CsoundAC on macOS because I moved what had been System.cpp into System.hpp to make it into a header file only library that can be used without linking to the CsoundAC library.
I can convince SWIG to bring these functions into the Python module, or I can un-refactor the code.
For standard macOS framework bundle contents and layout see:
https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html#//apple_ref/doc/uid/20002253-99920-BAJFEJFI
Update the csound-extended build system produce an installable macOS package (.dmg or just .pkg?). This will involve solving a number of problems.