Greetings
I'm working on a project for the iPhone
original it was c++ based and has the following lines
#include kern/locks.h
#include kern/thread.h
It comes back with
No such file or directory
Yet I have
Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/locks.h
Library/Frameworks
1) If you want to use a header inside a framework, you need to tell
GCC to use that framework. This means either passing the -framework
flag to GCC, or adding the framework to your Link Binary with
Libraries build stage in Xcode.
2) This isn't Cocoa related. You should probably be asking this
I'm working on a project for the iPhone
original it was c++ based and has the following lines
#include kern/locks.h
#include kern/thread.h
It comes back with
No such file or directory
Yet I have
Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/locks.h
Library/Frameworks
Michael Dautermann wrote:
I'm working on a project for the iPhone
original it was c++ based and has the following lines
#include kern/locks.h
#include kern/thread.h
It comes back with
No such file or directory
Yet I have
Library/Frameworks/Kernel.framework/Versions/A/Headers/kern
On Apr 7, 2009, at 10:08 AM, Barry Fawthrop wrote:
Michael Dautermann wrote:
Thanks Michael
Can you suggest some learning resources on how to (a) learn more and
(b) accomplish an iPhone acceptable locking mechanism for the
iPhone.
For ported code, the pthreads library might be what you