I’m trying to use The Synthesis ToolKit in C++ (STK) library in my Xcode. I compiled its source on my Mac using the “–with-core” configuration option. I added the “libstk.a” into Xcode under framework.
I thought I can do the following in my source to use the stk library:
#include "Stk.h"
However, Xcode errors with “File not found”, which it kind of make sense, because that file is not in my project. How do I use it? I know I’m missing something very basic here. Thanks in advance.
You will need to configure the header search path of the Xcode project. Make it relative to the current project, rather than absolute; for example: