gogins / csound-vst3-opcodes

The "vst3" opcodes enable Csound to host VST3 plugin instruments and effects.
GNU General Public License v3.0
5 stars 2 forks source link

GitHub Actions again failing to build #8

Closed gogins closed 2 years ago

gogins commented 2 years ago

I probably should change the build system to first build and install Csound, then build the vst3 opcodes.

On the MacBook, I was able to build only by manually creating version.h and float-version.h, and building in XCode. The build tools error messages are useless, perhaps there's a way to view log file or improve the diagnostics.

gogins commented 2 years ago

This is the problem:

Users/runner/work/csound-vst3-opcodes/csound-vst3-opcodes/csound/include/csound.h:2500:10: fatal error: 'version.h' file not found
[1864](https://github.com/gogins/csound-vst3-opcodes/runs/5357547239?check_suite_focus=true#step:4:1864)
#include "version.h"
gogins commented 2 years ago
/home/runner/work/csound-vst3-opcodes/csound-vst3-opcodes/csound-vst3/vst3-opcodes/vst3-opcodes.cpp:88:21: error: ‘heap_object_manager_t’ in namespace ‘csound’ does not name a template type
[1164](https://github.com/gogins/csound-vst3-opcodes/runs/5434665404?check_suite_focus=true#step:5:1164)
   88 |     typedef csound::heap_object_manager_t<vst3_host_t> vst3hosts;
[1165](https://github.com/gogins/csound-vst3-opcodes/runs/5434665404?check_suite_focus=true#step:5:1165)
      |                     ^~~~~~~~~~~~~~~~~~~~~
[1166](https://github.com/gogins/csound-vst3-opcodes/runs/5434665404?check_suite_focus=true#step:5:1166)

This is because I assume the latest OpcodeBase.hpp, but it is not in the Debian packages. I will have to try downloading the package and installing it from the download.

To do this properly I need backports of libcsound64-dev and csnd6-dev or else a GitHub runner that uses bullseye or later. And that still might not match.

gogins commented 2 years ago

I am not going further with this at this time. I may reopen this in the future.

gogins commented 2 years ago

Then there is this gem: https://forums.steinberg.net/t/pluginterfaces-lib-compilation-error-win-10-vs-2022/768976/4.

gogins commented 2 years ago

All three platforms are now building with GitHub Actions again. As for working, who knows?

I will now clean up the yaml and cmake files so that I can use them as templates for building other opcodes with GitHub Actions.