Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling fails in Ubuntu 16.04 #4

Open
Cordoha opened this issue Nov 15, 2017 · 1 comment
Open

Compiling fails in Ubuntu 16.04 #4

Cordoha opened this issue Nov 15, 2017 · 1 comment

Comments

@Cordoha
Copy link

Cordoha commented Nov 15, 2017

Here are some errors I get trying to build in the latest build of Rack using Ubuntu 16.04.

src/AudibleInstruments.cpp: In function ‘void init(rack::Plugin*)’:
src/AudibleInstruments.cpp:16:10: error: ‘struct rack::Plugin’ has no member named ‘name’
plugin->name = "Arable Instruments";
^
src/AudibleInstruments.cpp:17:10: error: ‘struct rack::Plugin’ has no member named ‘homepageUrl’
plugin->homepageUrl = "https://github.com/adbrant/ArableInstruments";
^
src/AudibleInstruments.cpp:19:72: error: no matching function for call to ‘createModel(rack::Plugin*&, const char [5], const char [27])’
createModel(plugin, "Joni", "Joni - Texture Synthesizer");
^
In file included from src/AudibleInstruments.hpp:1:0,
from src/AudibleInstruments.cpp:1:
../../include/rack.hpp:22:8: note: candidate: template<class TModuleWidget, class ... Tags> rack::Model* rack::createModel(std::__cxx11::string, std::__cxx11::string, std::__cxx11::string, Tags ...)
Model createModel(std::string manufacturer, std::string slug, std::string n
^
../../include/rack.hpp:22:8: note: template argument deduction/substitution failed:
src/AudibleInstruments.cpp:19:72: note: cannot convert ‘plugin’ (type ‘rack::Plugin
’) to type ‘std::__cxx11::string {aka std::__cxx11::basic_string}’
createModel(plugin, "Joni", "Joni - Texture Synthesizer");
^
../../compile.mk:53: recipe for target 'build/src/AudibleInstruments.cpp.o' failed
make: *** [build/src/AudibleInstruments.cpp.o] Error 1

@adbrant
Copy link
Owner

adbrant commented Nov 25, 2017

I think this is due to the plugins being compatible with v0.4.0 instead of v0.50 at the time.
I've updated the plugins to work with v0.5.0 now so it may work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants