Re: [Gtk-osx-users] Precompiled Library



Hi John,

Basically my program is a GUI which simulates some hardware. My user can write their own program to control the simulated hardware. That's why the user needs to compile my program.

I have copied over all the include and lib folders in the gtk/inst to my package. I have used gcc -L and -I options to redirect the include and library files there is no problem with the compiling and linking as I have follow all the libraries specified by pkg-config. I am not sure how the loadable modules works in Mac OSX.

It will be great if you can tell me what I need to tweak in order to change the path of the dynamic library? 

Thanks,

Victor
 

On Wed, May 4, 2011 at 5:51 PM, John Ralls <jralls ceridwen us> wrote:

On May 4, 2011, at 11:37 AM, Victor wrote:

> Hi there,
>
> I need a bit of help on how to package a precompiled GTK library for OSX. I need to distribute a GTK+ programming environment for my users to compile my program in MAC OSX. I have copied the lib and include files into my package. The problem is the dyld. It can't find the dynamic libraries and also gdk-pixbuf is also complaining about not finding the proper modules. Any help is appreciated.

Not enough information, starting with "why are you making users compile your program?".

Then there's "how are you packaging it?" and "did you include *all* of the libraries or just libgtk-quartz.2.0.0.dylib? What about the loadable modules?"

Finishing up with "if you're asking this kind of basic question, do you even have the most elementary clue about linking?"

Regards,
John Ralls
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today.  Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gtk-osx-users mailing list
Gtk-osx-users lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtk-osx-users







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]