dustinlacewell / vcv-minilab3

6 stars 0 forks source link

Cannot build #7

Open pseudofakee opened 1 year ago

pseudofakee commented 1 year ago

Hi there !

Cool module , really appreciate it!

However I can’t seem to get it to build ?

The first error was complaining that rack.hpp couldn’t be found, but changing the Third line in Choice.hpp to #include .

now I’m getting stuck on

/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/src/Pad_design.cpp:97:18: error: no matching function for call to ‘mm2px()’
   97 |             mm2px(), module, G8Pad::KNOBS8_OUTPUT
      |             ~~~~~^~
/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/../../include/window/Svg.hpp:30:14: note: candidate: ‘float rack::window::mm2px(float)’
   30 | inline float mm2px(float mm) {
      |              ^~~~~
/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/../../include/window/Svg.hpp:30:14: note:   candidate expects 1 argument, 0 provided
/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/../../include/window/Svg.hpp:34:18: note: candidate: ‘rack::math::Vec rack::window::mm2px(rack::math::Vec)’
   34 | inline math::Vec mm2px(math::Vec mm) {
      |                  ^~~~~
/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/../../include/window/Svg.hpp:34:18: note:   candidate expects 1 argument, 0 provided
[ 42%] Building CXX object CMakeFiles/plugin.dir/src/props/SlewLimitQuantity.cpp.o
make[3]: *** [CMakeFiles/plugin.dir/build.make:132: CMakeFiles/plugin.dir/src/Pad_design.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:85: CMakeFiles/plugin.dir/all] Error 2
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/var/home/yotassx/Downloads/Rack/plugins/vcv-minilab3/dep/cmake-build'
make: *** [Makefile:37: dep/cmake-build/plugin.so] Error 2

any ideas ?

thanks :)