codestation / qcma

Cross-platform content manager assistant for the PS Vita (No longer maintained)
GNU General Public License v3.0
550 stars 94 forks source link

Build errors with current libvitamtp #105

Closed yoshi314 closed 6 years ago

yoshi314 commented 6 years ago

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 6 years ago

ok, it seems i used yifan's version which is way behind. will retest.