You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: conflicting types for ‘mwIndex’
typedef int mwIndex;
for each .c file in +prtExternal/+libsvm
Libsvm now has a Github page: https://github.com/cjlin1/libsvm/tree/master/matlab
and adopting the latest version seems to solve this problem. Specifically, #ifdef MX_API_VER #if MX_API_VER < 0x07030000 typedef int mwIndex; #endif #endif
replaces #if MX_API_VER < 0x07030000 typedef int mwIndex; #endif
More testing is required to verify this solution. We should also determine if there is a better way of including dependencies on external software like this.
The text was updated successfully, but these errors were encountered:
prtSetupMex fails with
for each .c file in +prtExternal/+libsvm
Libsvm now has a Github page: https://github.com/cjlin1/libsvm/tree/master/matlab
and adopting the latest version seems to solve this problem. Specifically,
#ifdef MX_API_VER
#if MX_API_VER < 0x07030000
typedef int mwIndex;
#endif
#endif
replaces
#if MX_API_VER < 0x07030000
typedef int mwIndex;
#endif
More testing is required to verify this solution. We should also determine if there is a better way of including dependencies on external software like this.
The text was updated successfully, but these errors were encountered: