[gtkada] cannot find -lgtkada
Jimmy Ho
dragonjade8 at gmail.com
Thu Oct 5 17:21:56 CEST 2006
Chris,
You mean change the order the paths are set under DOS? I've tried that and
still get the same error. I did a search, and found three versions of
libgdk_pixbuf-2.0-0.dll on the hard disk. The third one was under
F:\Program Files\Common Files\GTK\2.0\lib
I put this path in as well and tried all possible combinations of order.
All three dll's were of different sizes and dates.
Curt,
I'm just using gtkada, do I need to include the paths for gtk+ as well?
Thanks.
On 05/10/06, Chris Sparks <mr_ada at comcast.net> wrote:
>
> I got this and I think there is a conflict between using GTK's dlls
> versus GPS's.
>
> Change your path statement around where you get GTK's first and the GPS's.
>
> Chris
>
>
>
> Jimmy Ho wrote:
>
> > Thank you everyone. I've managed to create exe's now. I just have to
> > solve this problem that I get when I run them:
> >
> > "The procedure entry point gdk_pixbuf_save_utf8 could not be located
> > in the dynamic link library libgdk_pixbuf- 2.0-0.dll."
> >
> > I shall work on this tomorrow I think.
> >
> > Thanks again.
> >
> >
> >
> >
> >
> > On 04/10/06, *Thierry Bernier* < thiberlog at free.fr
> > <mailto:thiberlog at free.fr>> wrote:
> >
> > Adrian Knoth a écrit :
> > > On Wed, Oct 04, 2006 at 12:00:39AM +0900, Jimmy Ho wrote:
> > >
> > >> Under DOS, I get the following error messages or combination of,
> > >> depending on which of the example programs I try to make:
> > >>
> > >> file "gtk.ads" not found
> > >> file " gdk.ads" not found
> > >> file "gtkada.ads " not found
> > >> Any ideas?
> > >
> > > Sure. Set the include-Flags. As I've already mentioned:
> >
> > The GNAT way is to use gpr files, I suppose. So you should run :
> >
> > gnatmake mymain -Pmymain.gpr
> >
> > The first line of mymain.gpr has to be :
> > with "gtkada.gpr";
> > And you should have an environement variable :
> > ADA_PROJECT_PATH=X:...\GtkAda\include_gtkada
> >
> > I prefer not to set absolute path in GPR files. These GPR files
> should
> > be in the examples directory. They are not, but are easy to rebuild.
> > Following is one suitable for Helloworld :
> >
> > with "gtkada.gpr";
> >
> > project Helloworld is
> >
> > for Main use ("hello.adb");
> > for Library_Kind use "dynamic";
> >
> > package Linker is
> > for Default_Switches ("ada") use ("-s", "-Wl,--gc-sections",
> > "-mwindows");
> > end Linker;
> >
> > package Builder is
> > for Default_Switches ("ada") use ("-s", "-g");
> > end Builder;
> >
> > package Compiler is
> > for Default_Switches ("ada") use ("-O2", "-gnatf",
> > "-gnatp", "-g");
> > end Compiler;
> >
> > end Helloworld;
> >
> >
> > --
> > Thierry bernier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20061006/fcbf2869/attachment.htm
More information about the gtkada
mailing list