Closed SteveRussell33 closed 8 months ago
Thanks Steve, I super appreciate someone keeping me honest. I still haven't upgraded GCC. I am busy for the next week. Will upgrade and let you know once I commit a fix.
_sjz.
From: Steve Russell @.> Sent: Friday, November 24, 2023 5:01:31 AM To: zachwieja/2LiftStudios @.> Cc: Subscribed @.***> Subject: [zachwieja/2LiftStudios] Build failure [Win 10, GCC v13.2] (Issue #3)
g++ -std=c++17 -Wsuggest-override -Isrc -Isrc/common -Isrc/components -fPIC -I../../include -I../../dep/include -MMD -MP -g -O3 -funsafe-math-optimizations -fno-omit-frame-pointer -Wall -Wextra -Wno-unused-parameter -DARCH_X64 -march=nehalem -DARCH_WIN -D_USE_MATH_DEFINES -municode -c -o build/src/modules/PolyQ.cpp.o src/modules/PolyQ.cpp
In file included from ../../include/helpers.hpp:11,
from ../../include/rack.hpp:35,
from src/plugin.hpp:5,
from src/modules/PolyQ.cpp:4:
../../include/app/SvgPanel.hpp: In member function 'void rack::app::ThemedSvgPanel::setBackground(std::shared_ptr~~~
../../include/app/SvgPanel.hpp: In member function 'virtual void rack::app::ThemedSvgPanel::step()':
../../include/app/SvgPanel.hpp:44:41: error: 'settings' has not been declared
44 | SvgPanel::setBackground(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/helpers.hpp:11,
from ../../include/rack.hpp:35,
from src/plugin.hpp:5,
from src/plugin.cpp:4:
../../include/app/SvgPanel.hpp: In member function 'void rack::app::ThemedSvgPanel::setBackground(std::shared_ptr~~~
../../include/app/SvgPanel.hpp: In member function 'virtual void rack::app::ThemedSvgPanel::step()':
../../include/app/SvgPanel.hpp:44:41: error: 'settings' has not been declared
44 | SvgPanel::setBackground(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/helpers.hpp:11,
from ../../include/rack.hpp:35,
from src/plugin.hpp:5,
from src/modules/Comps.cpp:4:
../../include/app/SvgPanel.hpp: In member function 'void rack::app::ThemedSvgPanel::setBackground(std::shared_ptr~~~
../../include/app/SvgPanel.hpp: In member function 'virtual void rack::app::ThemedSvgPanel::step()':
../../include/app/SvgPanel.hpp:44:41: error: 'settings' has not been declared
44 | SvgPanel::setBackground(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/helpers.hpp:11,
from ../../include/rack.hpp:35,
from src/plugin.hpp:5,
from src/modules/Merge.cpp:4:
../../include/app/SvgPanel.hpp: In member function 'void rack::app::ThemedSvgPanel::setBackground(std::shared_ptr~~~
../../include/app/SvgPanel.hpp: In member function 'virtual void rack::app::ThemedSvgPanel::step()':
../../include/app/SvgPanel.hpp:44:41: error: 'settings' has not been declared
44 | SvgPanel::setBackground(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:6,
from ../../include/rack.hpp:36:
../../include/app/SvgPort.hpp: In member function 'void rack::app::ThemedSvgPort::setSvg(std::shared_ptr~~~
../../include/app/SvgPort.hpp: In member function 'virtual void rack::app::ThemedSvgPort::step()':
../../include/app/SvgPort.hpp:41:33: error: 'settings' has not been declared
41 | SvgPort::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:9:
../../include/app/SvgScrew.hpp: In member function 'void rack::app::ThemedSvgScrew::setSvg(std::shared_ptr~~~
../../include/app/SvgScrew.hpp: In member function 'virtual void rack::app::ThemedSvgScrew::step()':
../../include/app/SvgScrew.hpp:37:34: error: 'settings' has not been declared
37 | SvgScrew::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:6,
from ../../include/rack.hpp:36:
../../include/app/SvgPort.hpp: In member function 'void rack::app::ThemedSvgPort::setSvg(std::shared_ptr~~~
In file included from ../../include/componentlibrary.hpp:6,
from ../../include/rack.hpp:36:
../../include/app/SvgPort.hpp: In member function 'void rack::app::ThemedSvgPort::setSvg(std::shared_ptr~~~
../../include/app/SvgPort.hpp: In member function 'virtual void rack::app::ThemedSvgPort::step()':
../../include/app/SvgPort.hpp:41:33: error: 'settings' has not been declared
41 | SvgPort::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
../../include/app/SvgPort.hpp: In member function 'virtual void rack::app::ThemedSvgPort::step()':
../../include/app/SvgPort.hpp:41:33: error: 'settings' has not been declared
41 | SvgPort::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:6,
from ../../include/rack.hpp:36:
../../include/app/SvgPort.hpp: In member function 'void rack::app::ThemedSvgPort::setSvg(std::shared_ptr~~~
../../include/app/SvgPort.hpp: In member function 'virtual void rack::app::ThemedSvgPort::step()':
../../include/app/SvgPort.hpp:41:33: error: 'settings' has not been declared
41 | SvgPort::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:9:
../../include/app/SvgScrew.hpp: In member function 'void rack::app::ThemedSvgScrew::setSvg(std::shared_ptr~~~
In file included from ../../include/componentlibrary.hpp:9:
../../include/app/SvgScrew.hpp: In member function 'void rack::app::ThemedSvgScrew::setSvg(std::shared_ptr~~~
../../include/app/SvgScrew.hpp: In member function 'virtual void rack::app::ThemedSvgScrew::step()':
../../include/app/SvgScrew.hpp:37:34: error: 'settings' has not been declared
37 | SvgScrew::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
../../include/app/SvgScrew.hpp: In member function 'virtual void rack::app::ThemedSvgScrew::step()':
../../include/app/SvgScrew.hpp:37:34: error: 'settings' has not been declared
37 | SvgScrew::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
In file included from ../../include/componentlibrary.hpp:9:
../../include/app/SvgScrew.hpp: In member function 'void rack::app::ThemedSvgScrew::setSvg(std::shared_ptr~~~
../../include/app/SvgScrew.hpp: In member function 'virtual void rack::app::ThemedSvgScrew::step()':
../../include/app/SvgScrew.hpp:37:34: error: 'settings' has not been declared
37 | SvgScrew::setSvg(settings::preferDarkPanels ? darkSvg : lightSvg);
| ^~~~
make: [../../compile.mk:89: build/src/plugin.cpp.o] Error 1
make: Waiting for unfinished jobs....
make: [../../compile.mk:89: build/src/modules/Merge.cpp.o] Error 1
make: [../../compile.mk:89: build/src/modules/Comps.cpp.o] Error 1
make: *** [../../compile.mk:89: build/src/modules/PolyQ.cpp.o] Error 1
— Reply to this email directly, view it on GitHubhttps://github.com/zachwieja/2LiftStudios/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSAXKDXJVB4QC2JQAIMLATYGCLCXAVCNFSM6AAAAAA7ZDG75WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYDSNRZGQZDAMY. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I updated my build environment (not INKSCAPE) but everything else. I was able to reproduce the problem with the newer compiler and vcvrack SDK. I renamed one compilation unit to avoid conflict with vcvrack, and then added some additional include statements to satisfy the stricter compiler. I believe this issue is resolved. If you confirm, then I will close. Thanks again for your help.
Can confirm that commit is good. Although I did comment out the all
target in makefile
as that still threw up errors
Failed to register: Timeout was reached
make: *** [Makefile:49: build/res/Merge.svg] Error 1
make: *** Waiting for unfinished jobs....
Not sure why it does that - newer version? Anyway, the plugin build part works so I'll close this issue as completed.
That is because I use INKSCAPE to change all the SVG text objects into paths.
If you don't have INKSCAPE it fails. I suppose I can make the the .svg targets conditional based on the definition of INKSCAPE.
And then even if you define INKSCAPE I need to find the modern incantation for those commands which I believe they changed so my scripts don't work with a modern version, depending on the version does weird stuff like not returning to the makefile
_sjz.
From: Steve Russell @.> Sent: Sunday, November 26, 2023 6:11:39 AM To: zachwieja/2LiftStudios @.> Cc: Stephan Zachwieja @.>; Comment @.> Subject: Re: [zachwieja/2LiftStudios] Build failure [Win 10, GCC v13.2] (Issue #3)
Can confirm that commit is good. Although I did comment out the all target in makefile as that still threw up errors
Failed to register: Timeout was reached make: [Makefile:49: build/res/Merge.svg] Error 1 make: Waiting for unfinished jobs....
Not sure why it does that - newer version? Anyway, the plugin build part works so I'll close this issue as completed.
— Reply to this email directly, view it on GitHubhttps://github.com/zachwieja/2LiftStudios/issues/3#issuecomment-1826754512, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABSAXKBQ55CPZ2PTUQPT773YGMPWXAVCNFSM6AAAAAA7ZDG75WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWG42TINJRGI. You are receiving this because you commented.Message ID: @.***>