Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CHUD Framework moved - how do I do this?



I'm obviously still trying to figure out this cross-development stuff:

Under 10.3.9 + XCode 1.5, I use the CHUD Framework Remote Performance monitoring calls to trigger Shark from my application (e.g. chudInitialize(), chudAcquireRemoteAccess(), chudStartRemotePerfMonitor(), etc.). In my XCode 1.5 source I #include <chud/chud.h>, and the project contains the CHUD.framework, located in /System/Library/Frameworks.

Under 10.4.x + XCode 2, the CHUD.framework has moved to /System/Library/PrivateFrameworks, and there is no header file in it (?). As a result, if I compile my app under 10.3.9 and run it on a Mac that has 10.4 installed, the system can't "find" the framework when it loads the app and I get messages on the Console that read, "error code 4, error number 0 (Library not loaded: /System/Library/Frameworks/CHUD.framework/Versions/A/CHUD Referenced from: (my app) Reason: image not found)".

If I change the XCode 2 project to reference the new /System/Library/ProvateFrameworks/CHUD.framework, the compiler fails because it can't find the chud.h header file.

I can switch to 10.3.9 compatibility mode and compile using the 10.3.9 SDK CHUD.framework, but then I have the same problem running my app under 10.4 - the CHUD.framework isn't found in /System/Library/Frameworks.

So...

1) how can I make and compile a project that uses the CHUD framework and runs in both 10.3.9 AND 10.4.x?

2) where is the 10.4 framework header file? Can CHUD still take remote performance monitoring calls in 10.4?


Thanks in advance for any and all suggestions!

   - Richard

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.