Build errors with current libvitamtp
yoshi314 opened this issue · 1 comments
yoshi314 commented
I don't even need it since i have pstv, but no way around that i guess.
First of all, generated common/Makefile has @OSFLAGS@ what doesn't get declared anywhere.
After removing that, i get
In file included from capability.cpp:20:0:
capability.h: In member function ‘const char* DeviceCapability::getOnlineId()’:
capability.h:39:26: error: ‘vita_info_t {aka struct vita_info}’ has no member named ‘onlineId’
return vita_info.onlineId;
^~~~~~~~
capability.h: In member function ‘const char* DeviceCapability::getModelInfo()’:
capability.h:42:26: error: ‘vita_info_t {aka struct vita_info}’ has no member named ‘modelInfo’
return vita_info.modelInfo;
^~~~~~~~~
capability.cpp: In destructor ‘DeviceCapability::~DeviceCapability()’:
capability.cpp:133:5: error: ‘VitaMTP_Data_Free_VitaInfo’ was not declared in this scope
VitaMTP_Data_Free_VitaInfo(&vita_info);
^~~~~~~~~~~~~~~~~~~~~~~~~~
capability.cpp:133:5: note: suggested alternative: ‘VitaMTP_Data_Free_Settings’
VitaMTP_Data_Free_VitaInfo(&vita_info);
^~~~~~~~~~~~~~~~~~~~~~~~~~
VitaMTP_Data_Free_Settings
I am using qt-5.9.6 and current git of libvitamtp
yoshi314 commented
ok, it seems i used yifan's version which is way behind. will retest.