zynaddsubfx / zyn-fusion-build

Build Scripts For Zyn-Fusion
Do What The F*ck You Want To Public License
122 stars 39 forks source link

Linux to Windows cross-compile fails on zynsubaddfx #88

Closed ztgasdf closed 2 years ago

ztgasdf commented 2 years ago
git clone --recursive https://github.com/zynaddsubfx/zyn-fusion-build zyn-fusion-build
cd zyn-fusion-build
make -f Makefile.windows.mk install_deps
make MODE=release -f Makefile.windows.mk zynaddsubfx
[ 77%] Building CXX object src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/__/__/globals.cpp.obj
[ 78%] Building CXX object src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/__/__/UI/ConnectionDummy.cpp.obj
[ 78%] Building CXX object src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.obj
In file included from /home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/src/../../dgl/src/WindowPrivateData.hpp:24,
                 from /home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/src/DistrhoUIPrivateData.hpp:26,
                 from /home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/src/DistrhoUIInternal.hpp:20,
                 from /home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/src/DistrhoPluginVST2.cpp:31,
                 from /home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/DistrhoPluginMain.cpp:29:
/home/world/zyn-fusion-build/src/zynaddsubfx/DPF/distrho/src/../../dgl/src/pugl.hpp:44:10: fatal error: pugl-upstream/include/pugl/pugl.h: No such file or directory
   44 | #include "pugl-upstream/include/pugl/pugl.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/build.make:92: src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/__/__/__/DPF/distrho/DistrhoPluginMain.cpp.obj] Error 1
make[3]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make[2]: *** [CMakeFiles/Makefile2:2216: src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/all] Error 2
make[2]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make[1]: *** [Makefile:141: all] Error 2
make[1]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make: *** [Makefile.windows.mk:97: build_zynaddsubfx] Error 2
fundamental commented 2 years ago

Fixed via 3f45771e15da72d3406b86664595330b89450770

fundamental commented 2 years ago

Do let me know if the windows build is working after this. The DPF update which caused this issue should be a direct update, but I haven't had a chance to test all platforms, nor plugin hosts.

ztgasdf commented 2 years ago

I'll let you know. Running the build process now.

ztgasdf commented 2 years ago

New error.

[ 82%] Linking CXX shared library ZynAddSubFX.dll                                                                                                                                                                                   [51/4732]/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoPluginMain.cpp.obj):DistrhoPluginMain.cpp:(.text$_ZN7DISTRHO9PluginVst14vst_dispatcherEiixPvf[_ZN7DISTRHO9PluginVst14vst_dispatcherEiixPvf]+0xbec): undefined reference to `puglBackendLeave'                                                                                                                                                                                                             /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoPluginMain.cpp.obj):DistrhoPluginMain.cpp:(.text$_ZN7DISTRHO9PluginVst14vst_dispatcherEiixPvf[_ZN7DISTRHO9PluginVst14vst_dispatcherEiixPvf]+0x2278): undefined reference to `puglBackendLeave'                                                                                                                                                                                                            /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x14f): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x19a): undefined reference to `puglBackendEnter'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x202): undefined reference to `DGL::TopLevelWidget::TopLevelWidget(DGL::Window&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x263): undefined reference to `DGL::TopLevelWidget::setGeometryConstraints(unsigned int, unsigned int, bool, bool)'/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x27a): undefined reference to `DGL::TopLevelWidget::~TopLevelWidget()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x2b4): undefined reference to `DGL::TopLevelWidget::~TopLevelWidget()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x35): undefined reference to `DGL::TopLevelWidget::PrivateData::fallbackOnResize()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.text+0x29b): undefined reference to `DGL::TopLevelWidget::~TopLevelWidget()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x20): undefined reference to `DGL::TopLevelWidget::repaint()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x30): undefined reference to `DGL::TopLevelWidget::onKeyboard(DGL::Widget::KeyboardEvent const&)'                                                                                                                                                                                                                         /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x38): undefined reference to `DGL::TopLevelWidget::onSpecial(DGL::Widget::SpecialEvent const&)'                                                                                                                                                                                                                           /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x40): undefined reference to `DGL::TopLevelWidget::onCharacterInput(DGL::Widget::CharacterInputEvent const&)'                                                                                                                                                                                                             /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x48): undefined reference to `DGL::TopLevelWidget::onMouse(DGL::Widget::MouseEvent const&)'                                                                                                                                                                                                                               /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x50): undefined reference to `DGL::TopLevelWidget::onMotion(DGL::Widget::MotionEvent const&)'                                                                                                                                                                                                                             /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(DistrhoUIMain.cpp.obj):DistrhoUIMain.cpp:(.rdata$_ZTVN7DISTRHO2UIE[_ZTVN7DISTRHO2UIE]+0x58): undefined reference to `DGL::TopLevelWidget::onScroll(DGL::Widget::ScrollEvent const&)'                                                                                                                                                                                                                             /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0xa5): undefined reference to `DGL::Widget::PrivateData::giveMouseEventForSubWidgets(DGL::Widget::MouseEvent&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x113): undefined reference to `DGL::Widget::PrivateData::giveMotionEventForSubWidgets(DGL::Widget::MotionEvent&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x188): undefined reference to `DGL::Widget::PrivateData::giveScrollEventForSubWidgets(DGL::Widget::ScrollEvent&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x261): undefined reference to `DGL::Widget::PrivateData::PrivateData(DGL::Widget*, DGL::TopLevelWidget*)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x2c1): undefined reference to `DGL::Widget::PrivateData::PrivateData(DGL::Widget*, DGL::Widget*)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x30c): undefined reference to `DGL::Widget::PrivateData::~PrivateData()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x34d): undefined reference to `DGL::Widget::PrivateData::~PrivateData()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x9f6): undefined reference to `DGL::TopLevelWidget::getWindow() const'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x25): undefined reference to `DGL::Widget::PrivateData::giveKeyboardEventForSubWidgets(DGL::Widget::KeyboardEvent const&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x35): undefined reference to `DGL::Widget::PrivateData::giveSpecialEventForSubWidgets(DGL::Widget::SpecialEvent const&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x45): undefined reference to `DGL::Widget::PrivateData::giveCharacterInputEventForSubWidgets(DGL::Widget::CharacterInputEvent const&)'                                                                                                                                                                                                                                        /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x93b): undefined reference to `DGL::TopLevelWidget::getApp() const'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x96e): undefined reference to `DGL::TopLevelWidget::getApp() const'                                                              /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x99b): undefined reference to `DGL::TopLevelWidget::getWindow() const'                                                           /usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Widget.cpp.obj):Widget.cpp:(.text+0x9ce): undefined reference to `DGL::TopLevelWidget::getWindow() const'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x15c): undefined reference to `puglBackendEnter'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x18c): undefined reference to `puglBackendLeave'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x19c): undefined reference to `puglBackendEnter'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x1cc): undefined reference to `puglBackendEnter'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x1ec): undefined reference to `puglBackendLeave'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x21c): undefined reference to `puglBackendEnter'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x23c): undefined reference to `puglBackendLeave'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x280): undefined reference to `DGL::Window::PrivateData::PrivateData(DGL::Application&, DGL::Window*)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x2e8): undefined reference to `DGL::Window::PrivateData::PrivateData(DGL::Application&, DGL::Window*, DGL::Window::PrivateData*)'/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x376): undefined reference to `DGL::Window::PrivateData::PrivateData(DGL::Application&, DGL::Window*, unsigned long long, double, bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x422): undefined reference to `DGL::Window::PrivateData::PrivateData(DGL::Application&, DGL::Window*, unsigned long long, unsigned int, unsigned int, double, bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x4dc): undefined reference to `DGL::Window::PrivateData::PrivateData(DGL::Application&, DGL::Window*, unsigned long long, unsigned int, unsigned int, double, bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x5c2): undefined reference to `puglGetViewHint'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x607): undefined reference to `puglGetFrame'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x6a7): undefined reference to `puglGetFrame'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x750): undefined reference to `puglGetFrame'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x884): undefined reference to `puglGetFrame'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xa42): undefined reference to `puglGetFrame'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xe3d): undefined reference to `puglGetWindowTitle'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xe82): undefined reference to `puglGetViewHint'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xeb6): undefined reference to `puglSetViewHint'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xf8d): undefined reference to `puglGetNativeWindow'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xfe2): undefined reference to `puglPostRedisplay'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x10a8): undefined reference to `puglPostRedisplayRect'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x118d): undefined reference to `puglSetGeometryConstraints'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xa9): undefined reference to `puglFallbackOnResize'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x295): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x2fe): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x393): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x442): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x519): undefined reference to `DGL::Window::PrivateData::initPost()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x569): undefined reference to `DGL::Window::PrivateData::show()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x571): undefined reference to `DGL::Window::PrivateData::hide()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x585): undefined reference to `DGL::Window::PrivateData::show()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x595): undefined reference to `DGL::Window::PrivateData::hide()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x5a5): undefined reference to `DGL::Window::PrivateData::close()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x5e8): undefined reference to `DGL::Window::PrivateData::setResizable(bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x980): undefined reference to `puglSetWindowSize'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xb35): undefined reference to `puglSetWindowSize'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xc9f): undefined reference to `puglSetWindowSize'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xde0): undefined reference to `puglSetWindowSize'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xe5e): undefined reference to `puglSetWindowTitle'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xed2): undefined reference to `DGL::Window::PrivateData::addIdleCallback(DGL::IdleCallback*, unsigned int)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xf22): undefined reference to `DGL::Window::PrivateData::removeIdleCallback(DGL::IdleCallback*)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xf75): undefined reference to `DGL::Window::PrivateData::getGraphicsContext() const'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xfb5): undefined reference to `DGL::Window::PrivateData::focus()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0xfc5): undefined reference to `DGL::Window::PrivateData::openFileBrowser(DGL::Window::FileBrowserOptions const&)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Window.cpp.obj):Window.cpp:(.text+0x10f8): undefined reference to `DGL::Window::PrivateData::runAsModal(bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x1c): undefined reference to `DGL::Application::PrivateData::~PrivateData()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x5d): undefined reference to `DGL::Application::PrivateData::~PrivateData()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x13d): undefined reference to `DGL::Application::PrivateData::PrivateData(bool)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x1a3): undefined reference to `DGL::Application::PrivateData::idle(unsigned int)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x177): undefined reference to `DGL::Application::PrivateData::idle(unsigned int)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x1f5): undefined reference to `DGL::Application::PrivateData::quit()'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(Application.cpp.obj):Application.cpp:(.text+0x335): undefined reference to `DGL::Application::PrivateData::setClassName(char const*)'
/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(ZynAddSubFX-UI-Zest.cpp.obj):ZynAddSubFX-UI-Zest.cpp:(.rdata$_ZTV13ZynAddSubFXUI[_ZTV13ZynAddSubFXUI]+0x20): undefined reference to `DGL::TopLevelWidget::repaint()'/usr/bin/x86_64-w64-mingw32-ld: CMakeFiles/ZynAddSubFX_vst.dir/objects.a(ZynAddSubFX-UI-Zest.cpp.obj):ZynAddSubFX-UI-Zest.cpp:(.rdata$_ZTV13ZynAddSubFXUI[_ZTV13ZynAddSubFXUI]+0x40): undefined reference to `DGL::TopLevelWidget::onCharacterInput(DGL::Widget::CharacterInputEvent const&)'
collect2: error: ld returned 1 exit status
make[3]: *** [src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/build.make:238: src/Plugin/ZynAddSubFX/ZynAddSubFX.dll] Error 1
make[3]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make[2]: *** [CMakeFiles/Makefile2:2216: src/Plugin/ZynAddSubFX/CMakeFiles/ZynAddSubFX_vst.dir/all] Error 2
make[2]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make[1]: *** [Makefile:141: all] Error 2
make[1]: Leaving directory '/home/world/zyn-fusion-build/build/build-zynaddsubfx-windows-release'
make: *** [Makefile.windows.mk:97: build_zynaddsubfx] Error 2
fundamental commented 2 years ago

Fixing now...

fundamental commented 2 years ago

Looks like https://github.com/zynaddsubfx/zynaddsubfx/commit/288b13cef33da8af785a254247fea6fe9bd9075c did the trick for me in the docker build.

ztgasdf commented 2 years ago

Testing now.

ztgasdf commented 2 years ago

It works. Thank you very much for the fixes!

image