-
Notifications
You must be signed in to change notification settings - Fork 5
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
Lack of documentation, can't build the cpp code #2
Comments
Hmm, what gcc version are you using? According to the gcc c++ status page, gcc 7 was the first version to support structured bindings. I know for sure gcc 7.3.x and gcc 8.1.x should work fine . |
Ok thanks! 😖 |
I'm sorry but I really want to use modern C++ features since it makes the code much nicer. I checked and there's a gcc-7 package in sid, so maybe you can try installing just that package from sid? In any case, thanks for the report! |
Yes this is no problem for me, I just really want to try out XD If you don't mind helping me (I don't know anything about C++). Now I keep hitting this:
I made a Dockerfile that might be useful to you if you want to let people build it more easily: #FROM gcc:7
FROM debian:testing
ADD https://raw.githubusercontent.com/guilhem/apt-get-install/master/apt-get-install /usr/bin/
RUN chmod +x /usr/bin/apt-get-install
RUN apt-get-install libboost-python-dev
ADD . /src
RUN apt-get-install python3-setuptools
RUN apt-get-install build-essential
WORKDIR /src
RUN python3 setup.py build (It's not cleaned as you can see but I'll produce a proper version when I will succeed to build it) Full output:
|
Can you try changing |
Btw, you need the mpv player if you want to use the "bard play" command. I'm not sure I documented that anywhere (yes, I should add more documentation, but I wanted to focus on the features first, and the blog post gave it more exposure than I expected :) ) |
Thanks Phoronix for that XD |
Success!
|
Great! Congrats, you're probably the first person to build Bard (apart from me :) ) Since I actually didn't test a clean installation yet and I don't currently have much time to work on this, I'll give you here an example config file you can put at
|
Thanks! I will need that too. There are a few dependencies probably missing in the # -*- coding: utf-8 -*-
from bard.bard import main # was: from bard import main
main() Dependencies: pydub, gmpy, numpy, dbus-python (not sure if it should be installed that way...), |
(not yet finished but better... will finish another day) |
You can install the |
Inactive, closing |
I would like to try things out but I didn't succeed to compile the code properly.
Here is what I installed:
Then I ran:
And I ended up with:
I'm running on Debian on WSL
The text was updated successfully, but these errors were encountered: