[gtkada] How do I link?

David Botton David at Botton.com
Sun Aug 27 17:05:35 CEST 2000


Have you tried using gnatreg (at http://www.adapower.com/gwindows) and
putting in a GtkAda entry for the dir with all the .a files of GtkAda. Once
you do that you should not have a problem linking. To run you will need to
have the GtkAda DLLs in your path.

David Boton



----- Original Message -----
From: "Chris Sparks" <mrada at catalina-inter.net>
To: <gtkada at gtkada.eu.org>
Sent: Sunday, August 27, 2000 10:59 AM
Subject: Re: [gtkada] How do I link?


> Hi everyone,
>
> Maybe I should ask a more specific question.  What needs to be present to
> make a link work?  What I am seeing is that certain elements to linking is
> not
> being found.  When I link on Linux I reference ".a" files and viola,
> everything
> links.  Since Windows is using DLL files I am assuming I need to tell the
> linker
> that those references will be determined later.  How do I do this?
>
> What is strange is that I took my small example (actually all the source
> code
> involved is quite large) and placed it into the basic_widget directory
> thinking it
> was a positional problem.  Nope.  Still got a boat load of link errors.
> Like:
>
> c:/work/window/window-frame-text_label.adb:105: undefined reference to
> `ada_gdk_
> font_get_ascent'
> c:/work/window/window-frame-text_label.adb:109: undefined reference to
> `ada_gdk_
> font_get_ascent'
> c:/work/window/window-frame-text_label.adb:113: undefined reference to
> `ada_gdk_
> font_get_ascent'
> c:/work/window/window-frame-text_label.adb:119: undefined reference to
> `ada_gdk_
> font_get_ascent'
>
> So I am guessing that I am doing something wrong.  Here is my path:
>
>
PATH=C:\GtkAda-1.3.8\bin;C:\Applications\Sources\VIM55;C:\GNATCOM-1.3p\bin;C
:\GN
>
> AT\bin;C:\WINNT\SYSTEM32\WBEM;C:\WINNT;C:\WINNT\SYSTEM32
>
> I'd send the source code, however, it is way too many files.  I am guess
> my path isn't set up right.
> I don't know..
>
> Chris
>
>
> _______________________________________________
> gtkada mailing list
> gtkada at gtkada.eu.org
> http://gtkada.eu.org/cgi-bin/mailman/listinfo/gtkada
>





More information about the gtkada mailing list