i’m getting a failure on linux too
do i need to have cabbage working first? doing a fresh install
shree@shree-linux2:~/Rack/plugins/CabbageRack$ ./build.sh
./build.sh: line 1: cd: /home/shree/sourcecode/Rack/plugins/CabbageRack: No such file or directory
rm -rfv build plugin.so dist
removed ‘build/src/CabbageRack.cpp.o’
removed ‘build/src/CabbageRack.cpp.d’
removed ‘build/src/Cabbage.cpp.d’
removed ‘build/src/Cabbage.cpp.o’
removed directory ‘build/src’
removed directory ‘build’
g++ -I /usr/local/include/csound -Wsuggest-override -std=c++11 -fPIC -I…/…/include -I…/…/dep/include -DSLUG=CabbageRack -DVERSION=0.5.0 -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/Cabbage.cpp.o src/Cabbage.cpp
g++ -I /usr/local/include/csound -Wsuggest-override -std=c++11 -fPIC -I…/…/include -I…/…/dep/include -DSLUG=CabbageRack -DVERSION=0.5.0 -MMD -g -O3 -march=nocona -ffast-math -fno-finite-math-only -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/CabbageRack.cpp.o src/CabbageRack.cpp
In file included from /usr/local/include/csound/csound.h:2459:0,
from /usr/local/include/csound/csound.hpp:40,
from src/Cabbage.hpp:5,
from src/Cabbage.cpp:1:
/usr/local/include/csound/version.h:27:0: warning: “VERSION” redefined
#define VERSION “6.11”
^
:0:0: note: this is the location of the previous definition
In file included from /usr/local/include/csound/csound.h:2459:0,
from /usr/local/include/csound/csound.hpp:40,
from src/Cabbage.hpp:5,
from src/CabbageRack.cpp:1:
/usr/local/include/csound/version.h:27:0: warning: “VERSION” redefined
#define VERSION “6.11”
^
:0:0: note: this is the location of the previous definition
In file included from src/Cabbage.cpp:1:0:
src/Cabbage.hpp:16:0: warning: “VERSION” redefined
#define VERSION “1.0”
^
In file included from /usr/local/include/csound/csound.h:2459:0,
from /usr/local/include/csound/csound.hpp:40,
from src/Cabbage.hpp:5,
from src/Cabbage.cpp:1:
/usr/local/include/csound/version.h:27:0: note: this is the location of the previous definition
#define VERSION “6.11”
^
In file included from src/CabbageRack.cpp:1:0:
src/Cabbage.hpp:16:0: warning: “VERSION” redefined
#define VERSION “1.0”
^
In file included from /usr/local/include/csound/csound.h:2459:0,
from /usr/local/include/csound/csound.hpp:40,
from src/Cabbage.hpp:5,
from src/CabbageRack.cpp:1:
/usr/local/include/csound/version.h:27:0: note: this is the location of the previous definition
#define VERSION “6.11”
^
In file included from src/CabbageRackWidgets.hpp:11:0,
from src/Cabbage.hpp:6,
from src/CabbageRack.cpp:1:
src/CabbageParser.hpp: In static member function ‘static std::__cxx11::string CabbageParser::trim(const string&, const string&)’:
src/CabbageParser.hpp:180:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (start == std::string::npos)
^
src/CabbageParser.hpp: In static member function ‘static std::vector CabbageParser::getCabbageControlVector(std::__cxx11::string)’:
src/CabbageParser.hpp:235:11: warning: unused variable ‘argIndex’ [-Wunused-variable]
int argIndex = 0;
^
src/CabbageRack.cpp: In constructor ‘MyModuleWidget::MyModuleWidget()’:
src/CabbageRack.cpp:15:32: error: no matching function for call to ‘rack::ModuleWidget::ModuleWidget()’
MyModuleWidget::MyModuleWidget()
^
In file included from …/…/include/rack.hpp:9:0,
from src/Cabbage.hpp:4,
from src/CabbageRack.cpp:1:
…/…/include/app.hpp:63:2: note: candidate: rack::ModuleWidget::ModuleWidget(rack::Module*)
ModuleWidget(Module module);
^
…/…/include/app.hpp:63:2: note: candidate expects 1 argument, 0 provided
…/…/include/app.hpp:53:8: note: candidate: rack::ModuleWidget::ModuleWidget(const rack::ModuleWidget&)
struct ModuleWidget : OpaqueWidget {
^
…/…/include/app.hpp:53:8: note: candidate expects 1 argument, 0 provided
src/CabbageRack.cpp:18:18: error: ‘setModule’ was not declared in this scope
setModule(module);
^
src/CabbageRack.cpp:67:45: warning: ‘TScrew rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew(Vec(0, 0)));
^
In file included from src/Cabbage.hpp:4:0,
from src/CabbageRack.cpp:1:
…/…/include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew createScrew(Vec pos) {
^
src/CabbageRack.cpp:68:59: warning: ‘TScrew rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew(Vec(box.size.x - 16, 0)));
^
In file included from src/Cabbage.hpp:4:0,
from src/CabbageRack.cpp:1:
…/…/include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew createScrew(Vec pos) {
^
src/CabbageRack.cpp:69:78: warning: ‘TScrew rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew(Vec(0, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
^
In file included from src/Cabbage.hpp:4:0,
from src/CabbageRack.cpp:1:
…/…/include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew createScrew(Vec pos) {
^
src/CabbageRack.cpp:70:92: warning: ‘TScrew rack::createScrew(rack::Vec) [with TScrew = rack::ScrewSilver]’ is deprecated [-Wdeprecated-declarations]
addChild(createScrew(Vec(box.size.x - 16, RACK_GRID_HEIGHT - RACK_GRID_WIDTH)));
^
In file included from src/Cabbage.hpp:4:0,
from src/CabbageRack.cpp:1:
…/…/include/rack.hpp:41:20: note: declared here
DEPRECATED TScrew createScrew(Vec pos) {
^
src/CabbageRack.cpp: In member function ‘virtual void CabbageRack::step()’:
src/CabbageRack.cpp:160:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0 ; i < audioInputChannels.size() ; i++)
^
src/CabbageRack.cpp:162:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( int i = 0 ; i < audioOutputChannels.size() ; i++)
^
In file included from src/CabbageRackWidgets.hpp:11:0,
from src/Cabbage.hpp:6,
from src/Cabbage.cpp:1:
src/CabbageParser.hpp: In static member function ‘static std::__cxx11::string CabbageParser::trim(const string&, const string&)’:
src/CabbageParser.hpp:180:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (start == std::string::npos)
^
src/CabbageParser.hpp: In static member function ‘static std::vector CabbageParser::getCabbageControlVector(std::__cxx11::string)’:
src/CabbageParser.hpp:235:11: warning: unused variable ‘argIndex’ [-Wunused-variable]
int argIndex = 0;
^
src/Cabbage.cpp: In function ‘void init(rack::Plugin)’:
src/Cabbage.cpp:27:94: warning: ‘rack::Model* rack::createModel(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, Tags …) [with TModuleWidget = MyModuleWidget; Tags = {rack::ModelTag}; std::__cxx11::string = std::__cxx11::basic_string]’ is deprecated [-Wdeprecated-declarations]
el(createModel(“CabbageAudio”, “CabbageRack”, pluginName, BLANK_TAG));
^
In file included from src/Cabbage.hpp:4:0,
from src/Cabbage.cpp:1:
…/…/include/rack.hpp:23:19: note: declared here
DEPRECATED Model *createModel(std::string manufacturer, std::string slug, std::string
^
In file included from src/CabbageRackWidgets.hpp:11:0,
from src/Cabbage.hpp:6,
from src/CabbageRack.cpp:1:
src/CabbageParser.hpp: In static member function ‘static std::__cxx11::string CabbageParser::getParameter(std::__cxx11::string, std::__cxx11::string)’:
src/CabbageParser.hpp:174:2: warning: control reaches end of non-void function [-Wreturn-type]
}
^
…/…/compile.mk:56: recipe for target ‘build/src/CabbageRack.cpp.o’ failed
make: *** [build/src/CabbageRack.cpp.o] Error 1
make: *** Waiting for unfinished jobs…