Re: [Mysql-cocoa-users] Including SMySQL_bundled into preferences pane project
Brought to you by:
sergecohen
From: Aaron J. <aj...@ed...> - 2005-02-25 12:30:09
|
Stephan, Perhaps if you copy the framework into ~/Library/Frameworks or /Library/Frameworks it will work. This may mean that you have to create an installer program for your pref pane, though. Aaron Jacobs On Feb 25, 2005, at 3:01 AM, Stephan Ruggiero wrote: > Hello list, > > i want to include the bundled version of SMySQL into a preference pane > I am currently developing. I did everything linke D.Winter explained > in his pdf (thanks a lot) to copy the framework to my target. I then > included the framework in my main classes ".h" like this: > #import <SMySQL_bundled/SMySQL_bundled.h> > > When starting the SystemPreferences app, my pane plugin ca not be > loaded, this error is being displayed in the console log: > > ******** > 2005-02-25 09:37:01.317 System Preferences[2027] *** -[NSBundle load]: > Error loading code > /Library/PreferencePanes/DKON.prefPane/Contents/MacOS/DKON for bundle > /Library/PreferencePanes/DKON.prefPane, error code 0 (link edit error > code 0, error number 2 (dyld: /Applications/System > Preferences.app/Contents/MacOS/System Preferences can't open library: > @executable_path/../Frameworks/SMySQL_bundled.framework/Versions/A/ > SMySQL_bundled (No such file or directory, errno = 2) > ******** > > It seems the SystemPreferences app does not search the SMySQL > framework within my ".prefpane" bundle - it is only looking into his > own bundle! > > Can someone assist me with this problem? > > Thank you very much! > > S. Ruggiero > |