Page 1 of 1

Building artoolkitx-calibration on iOS

Posted: Mon Apr 30, 2018 12:33 pm
by pierre
Hi folks

I don't manage to build artoolkitx-calibration for iOS using XCode 9.3 on macOS 10.13.3.
  • I updated the signing section of the Xcode target "artoolkitX Camera Calibration Utility" so that Xcode will be able to deploy the app to my iPhone.
However, the app doesn't compile yet. In prefs.hpp, the line 61:

Code: Select all

cv::Size getPreferencesCalibrationPatternSize(void *preferences);
fails with the error:
'getPreferencesCalibrationPatternSize' has C-linkage specified, but returns user-defined type 'cv::Size' (aka 'Size_<int>') which is incompatible with C
Any pointer to bring me one step further in compiling this app would be greatly appreciated.

Cheers
Pierre