Closed gogins closed 2 years ago
I will remove the following submodules, used by opcodes that I have now removed:
bformdec2
link
stk
I will keep these submodules:
cmask,
probably to become a CMask
subclass of ScoreNode
.libmusicxml
, used by Score
.I will perhaps add as a submodule:
PortSMF
, used by Score,
but not available as a system package on all platforms.The dependencies are as follows. I prefer to install them and use them as installed, otherwise as Git submodules or Git clones. On Linux:
boost
as installed to default location.cmask
as Git submodule.eigen
as Git clone, header-file-only library.libcsnd6-6.0v5
as installed to default location.libcsnd-dev
as installed to default location.libcsound64-dev
as installed to default location.libmusicxml2
as Git submodule compiling to static library.libsndfile1-dev
as installed to default location.libopencv-dev
as installed to default location.portsmf
as Git clone, source files included in CsoundAC build.This builds and runs on macOS.
Builds on the following GitHub runners:
Windows package managers:
Download Windows installer from https://github.com/csound/csound/releases/download/6.17.0/csound-6.17.0-windows-x64-installer.zip and install on runner.
Might need https://stackoverflow.com/questions/9946322/how-to-generate-an-import-library-lib-file-from-a-dll, or pull csnd6 source code code into CsoundAC.
All right, I give up. The Windows binary package doesn't contain any headers from the interfaces
directory, although I know that the binaries depend upon those headers. These are the files:
michaelgogins@Michaels-MacBook-Pro csound % find . -name "*.cpp"
./interfaces/CsoundFile.cpp
./interfaces/Soundfile.cpp
./interfaces/pyMsgCb_stub.cpp
./interfaces/csPerfThread.cpp
./interfaces/pyMsgCb.cpp
./interfaces/cs_glue.cpp
./interfaces/CppSound.cpp
./interfaces/filebuilding.cpp
michaelgogins@Michaels-MacBook-Pro csound % find . -name "*.hpp"
./interfaces/cs_glue.hpp
./interfaces/CppSound.hpp
./interfaces/CsoundFile.hpp
./interfaces/Soundfile.hpp
./interfaces/csPerfThread.hpp
Possible solutions:
Have to add Csound's version.h to CsoundAC.
Shesh. Clarified Platform.h
but still not building on Windows.
I have fixed many warnings.
Most of the remaining warnings are in libmusicxml2
or PortSMF
. I have left a few warnings from my code as reminders.
D:\a\csound-ac\csound-ac\eigen\Eigen\src/Core/Matrix.h(394,7): error C2338: static_assert failed: 'THIS_METHOD_IS_ONLY_FOR_VECTORS_OF_A_SPECIFIC_SIZE' [D:\a\csound-ac\csound-ac\build\CsoundAC\libCsoundAC.vcxproj]
Frustratingly, no source line number. But probably the same as:
/Users/michaelgogins/csound-ac/CsoundAC/ChordSpaceBase.hpp:1273: Warning 462: Unable to set dimensionless array variable
But I think this is from SWIG as it is "Warning" not "warning:", see https://sourceforge.net/p/swig/mailman/swig-user/thread/4D26C57A.1060304%40fultondesigns.co.uk/
.
Closing this even though Windows runner is not building. No more patience, need to make music, Linux and macOS is good for many.
This is a simplified version of csound-extended that focuses on the CsoundAC library, and will have automated builds and releases using GitHub actions.
csound::Midifile
, music model stuff, and the Python interface.Ensure the package builds on all GitHub runners: