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

Missing json files and other build issues. #2

Open
hasues opened this issue Aug 28, 2014 · 0 comments
Open

Missing json files and other build issues. #2

hasues opened this issue Aug 28, 2014 · 0 comments

Comments

@hasues
Copy link

hasues commented Aug 28, 2014

Attempting to build Pianobar-QT results in:

[ 69%] Building CXX object CMakeFiles/Pianobar-QT.dir/pianosteps.o
In file included from /home/user/filez/progz/linux/PianobarQT-master/pianosteps.cpp:1:0:
/home/user/filez/progz/linux/PianobarQT-master/pianosteps.h:4:30: fatal error: json/json_object.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/Pianobar-QT.dir/pianosteps.o] Error 1
make[1]: *** [CMakeFiles/Pianobar-QT.dir/all] Error 2
make: *** [all] Error 2

I note that the json-c project can provide this file. Upon installing json-c, I made a json directory in the PianobarQT source and copied the following files in it:

json_object.h
json_inttypes.h
json_config.h

Unfortunately, this still results in the following error:
In file included from /home/user/filez/progz/linux/PianobarQT-master/pianosteps.h:4:0,
from /home/user/filez/progz/linux/PianobarQT-master/pianosteps.cpp:1:
/home/user/filez/progz/linux/PianobarQT-master/json/json_object.h:312:55: warning: "STDC_VERSION" is not defined [-Wundef]
/home/user/filez/progz/linux/PianobarQT-master/pianosteps.cpp: In member function ‘PianoSong_t* PianoSteps::PianoGetPlaylist(PianoHandle_t_, WaitressHandle_t_, PianoStation_t_)’:
/home/user/filez/progz/linux/PianobarQT-master/pianosteps.cpp:184:15: error: ‘struct PianoRequestDataGetPlaylist_t’ has no member named ‘format’
make[2]: *_* [CMakeFiles/Pianobar-QT.dir/pianosteps.o] Error 1
make[1]: *** [CMakeFiles/Pianobar-QT.dir/all] Error 2
make: *** [all] Error 2

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