Does Cocoa SDK example compile for you?
Moderator: Moderators
Does Cocoa SDK example compile for you?
Just downloaded the SDK tonight. However, only the Carbon examples compile on my MacBook Pro with Xcode and gcc-4.0.
When compiling the Cocoa example 3DxValuesCocoa, the cc1obj pass dies. There's a compiler error in 3DxClientTest.m on the line:
#import <3DConnexionClient>
"No such file or directory"
However the framework is in the build, and the library is installed.
Am I the only one? Can someone hit me with the clue-by-four?
Lee
When compiling the Cocoa example 3DxValuesCocoa, the cc1obj pass dies. There's a compiler error in 3DxClientTest.m on the line:
#import <3DConnexionClient>
"No such file or directory"
However the framework is in the build, and the library is installed.
Am I the only one? Can someone hit me with the clue-by-four?
Lee
The import line actually should be:
#import <3DConnexionClient/ConnexionClientAPI.h>
Your version of the code might have been modified by someone else. You can try getting a fresh copy from the SDK download area.
If this does not work, then check the path of the 3DconnexionClient.framework in the project's "Frameworks" section
#import <3DConnexionClient/ConnexionClientAPI.h>
Your version of the code might have been modified by someone else. You can try getting a fresh copy from the SDK download area.
If this does not work, then check the path of the 3DconnexionClient.framework in the project's "Frameworks" section
We have multiple Mactel machines in development and QA and they all build fine. Most are running 10.4.9 or .10 with Xcode 2.4.1.
I'm not sure what's causing the crash on your machine. Another option is to start a new project and just include the sample files into it to rule out some kind of project issue.
I'm not sure what's causing the crash on your machine. Another option is to start a new project and just include the sample files into it to rule out some kind of project issue.
A clue perhaps?
Thanks for confirming the MacTel.
I tried installing on my other Mac and got a similar error. Looking closesly, I come up with my next question: Do any of them have a boot filesystem that is partitioned/formatted "Case-sensitive" as opposed to the default "Case-insensitive'? I ask because my machines are both set up that way. I know HP's drivers didn't work on a case-sensitive partition. I'm not sure why.
I tried installing on my other Mac and got a similar error. Looking closesly, I come up with my next question: Do any of them have a boot filesystem that is partitioned/formatted "Case-sensitive" as opposed to the default "Case-insensitive'? I ask because my machines are both set up that way. I know HP's drivers didn't work on a case-sensitive partition. I'm not sure why.
Confirmed
I re-formatted the boot partition case insensitive and re-installed Mac OS X. The Cocoa application now compiles and runs. I don't know if the problem was in the Xcode project file or the driver library, but something is definitely depending upon a case-insensitive filesystem.