#import <QTKit/QTKit.h> missing

jackreynolds
Posts: 61
Joined: Sun Jul 24, 2016 4:21 pm

#import <QTKit/QTKit.h> missing

Postby jackreynolds » Mon Jan 02, 2017 5:25 pm

Hi, when trying to build simpleLite from the included xcode file, I get the error #import <QTKit/QTKit.h> is missing. Any idea where this file is/should be?

MrDaniel
Posts: 381
Joined: Wed Nov 18, 2015 9:07 pm

Re: #import <QTKit/QTKit.h> missing

Postby MrDaniel » Tue Jan 03, 2017 12:05 pm

Can you tell us what system you are using? Versions etc. For OS and XCode.

jackreynolds
Posts: 61
Joined: Sun Jul 24, 2016 4:21 pm

Re: #import <QTKit/QTKit.h> missing

Postby jackreynolds » Wed Jan 04, 2017 10:00 am

MacOS Sierra 10.12.2 (16C67), XCode Version 8.0 (8A218a)

amalcao
Posts: 6
Joined: Thu Jan 05, 2017 2:52 am

Re: #import <QTKit/QTKit.h> missing

Postby amalcao » Thu Jan 05, 2017 3:04 am

You could download the macOS 10.11 SDK and replace the default one (for macOS 10.12.)
The SDK can be found here (https://github.com/phracker/MacOSX-SDKs/releases/tag/MacOSX10.11.sdk )
download it and copy it to the sdk location of your xcode (maybe /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ ),
open xcode, update the BaseSDK to 10.11.
You can find the detail here (https://forum.openframeworks.cc/t/macos-10-12-sierra-xcode-8-quicktime-deprecation-workaround/24179/2).

jackreynolds
Posts: 61
Joined: Sun Jul 24, 2016 4:21 pm

Re: #import <QTKit/QTKit.h> missing

Postby jackreynolds » Sun Feb 26, 2017 3:47 pm

That didn't work, I also tried versions 10.7, 10.9 and 10.10 to no avail. Any other ideas?

amalcao
Posts: 6
Joined: Thu Jan 05, 2017 2:52 am

Re: #import <QTKit/QTKit.h> missing

Postby amalcao » Sun Feb 26, 2017 8:44 pm

1) Make sure the 10.11 sdk has been installed
2) Clone the newest source code from https://github.com/artoolkit/artoolkit5
3) Open the file "ARToolKit5.xcodeproj/project.pbxproj" by a text editor, changing all lines "SDKROOT = macosx" to "SDKROOT = macosx10.11"
4) Open the xcode, clean and build again.


Return to “ARToolKit for Desktop v5.x”

Who is online

Users browsing this forum: No registered users and 1 guest