Xcode is out of the question for me, I simply don't know enough to make it work. Bit of a shame
Following the lead answer's instructions to this posting, it seemed rather simple.
http://stackoverflow.com/questions/1596 ... 74#1600074
Only i came to dynamic linking hell, and it was link after link, a good 70 or so commands i had to enter in...but came to the errors below.
But then I came across this gem
http://macdylibbundler.sourceforge.net/
Which made the whole process a piece of cake!
Also made the whole thing a lot smaller for some reason from 80+mb to only 14 or so
Now all the libraries are properly linked and installed in the bundle
But now i have some configuration issues for a few of the libraries that stop it from displaying properly
- Code: Select all
(xboard_osx:68143): Gtk-CRITICAL **: GdkScreen *gtk_window_get_screen(GtkWindow *): assertion 'GTK_IS_WINDOW (window)' failed
(xboard_osx:68143): Gdk-CRITICAL **: gint gdk_screen_get_width(GdkScreen *): assertion 'GDK_IS_SCREEN (screen)' failed
(xboard_osx:68143): Gdk-CRITICAL **: gint gdk_screen_get_height(GdkScreen *): assertion 'GDK_IS_SCREEN (screen)' failed
(xboard_osx:68143): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/opt/local/etc/pango/pango.modules'
You should create this file by running:
pango-querymodules > '/opt/local/etc/pango/pango.modules'
(xboard_osx:68143): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='latin'
(xboard_osx:68143): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='common'
No default pieces installed
Select your own -pieceImageDirectory
(xboard_osx:68143): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /opt/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Any help with this would be greatly appreciated. How does one configure these libraries properly after compilation away from the macports install and into the .app, and still make it be portable in the .app? Most stuff was done with the @executable_path to signify a directory, but i don't think that will help here.