Skip to content

Missing json files and other build issues. #2

Description

@hasues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions