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

IDE: Make parameters affect run on boot #641

Open
giuliomoro opened this issue Jul 20, 2020 · 0 comments
Open

IDE: Make parameters affect run on boot #641

giuliomoro opened this issue Jul 20, 2020 · 0 comments

Comments

@giuliomoro
Copy link
Contributor

giuliomoro commented Jul 20, 2020

If make parameters are:
LDLIBS=-lsqlite3; CPPFLAGS=-std=c++14 -I/root/Bela/projects/Bela_AKSampler/AKSampler -I/root/Bela/projects/Bela_AKSampler/Common -I/root/Bela/projects/Bela_AKSampler/WonkyTop -I/root/Bela/projects/Bela_AKSampler/DatabaseObjects -I/root/Bela/projects/Bela_AKSampler/AKSamplerWrapper -I/root/Bela/projects/Bela_AKSampler/JsonTransfer;

and you try to set it to run on boot from the IDE, you'll get

make: *** empty string invalid as file name.  Stop.

However, if you remove the last semicolon, it all works fine.

make ideconnect shows
make '--no-print-directory' '-C' '/root/Bela/' 'startuploop' 'PROJECT=Bela_AKSampler' 'CL=-p128 -C4 -B16 -H-6 -N1 -G0 -M0 -D0 -A0 --pga-gain-left=10 --pga-gain-right=10 --detect-underruns 0 -X0 --disable-led' 'LDLIBS=-lsqlite3' 'CPPFLAGS=-std=c++14 -I/root/Bela/projects/Bela_AKSampler/AKSampler -I/root/Bela/projects/Bela_AKSampler/Common -I/root/Bela/projects/Bela_AKSampler/WonkyTop -I/root/Bela/projects/Bela_AKSampler/DatabaseObjects -I/root/Bela/projects/Bela_AKSampler/AKSamplerWrapper -I/root/Bela/projects/Bela_AKSampler/JsonTransfer' ''

in the first case (note the trailing '') and

make '--no-print-directory' '-C' '/root/Bela/' 'startuploop' 'PROJECT=Bela_AKSampler' 'CL=-p128 -C4 -B16 -H-6 -N1 -G0 -M0 -D0 -A0 --pga-gain-left=10 --pga-gain-right=10 --detect-underruns 0 -X0 --disable-led' 'LDLIBS=-lsqlite3' 'CPPFLAGS=-std=c++14 -I/root/Bela/projects/Bela_AKSampler/AKSampler -I/root/Bela/projects/Bela_AKSampler/Common -I/root/Bela/projects/Bela_AKSampler/WonkyTop -I/root/Bela/projects/Bela_AKSampler/DatabaseObjects -I/root/Bela/projects/Bela_AKSampler/AKSamplerWrapper -I/root/Bela/projects/Bela_AKSampler/JsonTransfer'

in the second case.

There must be something wrong on the tokenizer here. However, when running them, either program works fine.

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

1 participant