Building artoolkitx-calibration on iOS

Discussion of compiling the SDK and applications.
Post Reply
pierre
Posts: 1
Joined: Mon Apr 30, 2018 12:19 pm

Building artoolkitx-calibration on iOS

Post by pierre » Mon Apr 30, 2018 12:33 pm

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

Essydit
Posts: 7
Joined: Sat May 04, 2019 7:49 am
Location: Chile
Contact:

Building artoolkitx calibration on iOS

Post by Essydit » Sat May 18, 2019 4:45 pm

Has anyone been able to build the iOS libraries libFLAC, freetype, etc using Xcode?

Im trying to make a tvOS port, and it works in the AppleTV simulator, but I need to recompile the libraries for tvOS.

I think this wouldnt be too hard if I could start from building for iOS, but I havent been able to do that yet...

Post Reply