comp.lang.ada
 help / color / mirror / Atom feed
* Setup error gtk
@ 2009-03-05 21:39 Jack Mitchell
  2009-03-07 20:51 ` Jack Mitchell
  0 siblings, 1 reply; 2+ messages in thread
From: Jack Mitchell @ 2009-03-05 21:39 UTC (permalink / raw)


I have just installed gnat & gtk in XP PRO

when I compile the gtk examples such as scribble from 
"C:\GtkAda\share\examples\gtkada\gtk_examples", and run the resulting 
executable.
It opens a DOS window, then puts up a windows dialogue box titled 
scribble.exe - Entry Point Not Found
containing :-
The Procedure entry point g_assertion_message count not be located in 
the dynamic link library libblig-2.0-0.dll.

Using the debugger resulted in :-
file c:/gtkada/share/examples/gtkada/gtk_examples/scribble.exe
(gdb) start
Breakpoint 1 at 0x40185b: file 
C:\GtkAda\share\examples\gtkada\gtk_examples\scribble.adb, line 21.
gdb: unknown target exception 0xc0000139 at 0x7c96478e

Program received signal ?, Unknown signal.

Program exited with code 030000000471.
You can't do that without a process to debug.
(gdb)


Obviously I have got the installation wrong somewhere.
I have added :-
with "..\..\..\..\lib\gnat\gtkada";
to the front of the gpr file, as instructed by the gtk installation 
manual, but changed nothing else
Can someone help please ?


-- 
Jack Mi_Remove_tchell



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setup error gtk
  2009-03-05 21:39 Setup error gtk Jack Mitchell
@ 2009-03-07 20:51 ` Jack Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Mitchell @ 2009-03-07 20:51 UTC (permalink / raw)


In message <Aph9fyEPaEsJFw9O@plus.com>, Jack Mitchell 
<jack@home9999.plus.com> writes
>I have just installed gnat & gtk in XP PRO
>
>when I compile the gtk examples such as scribble from 
>"C:\GtkAda\share\examples\gtkada\gtk_examples", and run the resulting 
>executable.
>It opens a DOS window, then puts up a windows dialogue box titled 
>scribble.exe - Entry Point Not Found
>containing :-
>The Procedure entry point g_assertion_message count not be located in 
>the dynamic link library libblig-2.0-0.dll.
>
>Using the debugger resulted in :-
>file c:/gtkada/share/examples/gtkada/gtk_examples/scribble.exe
>(gdb) start
>Breakpoint 1 at 0x40185b: file 
>C:\GtkAda\share\examples\gtkada\gtk_examples\scribble.adb, line 21.
>gdb: unknown target exception 0xc0000139 at 0x7c96478e
>
>Program received signal ?, Unknown signal.
>
>Program exited with code 030000000471.
>You can't do that without a process to debug.
>(gdb)
>
>
>Obviously I have got the installation wrong somewhere.
>I have added :-
>with "..\..\..\..\lib\gnat\gtkada";
>to the front of the gpr file, as instructed by the gtk installation 
>manual, but changed nothing else
>Can someone help please ?
>
>

Solved it - GPS is supplied with, and older version of the DLL, but 
install puts "C:\GNAT\2008\bin" before of "C:\GtkAda\bin" in the search 
path for DLLs
To correct goto My Computer | Properties | Advanced | Environment 
Variables | System variables | Select "Path" | Edit and alter the order


-- 
Jack Mi_Remove_tchell



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-07 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 21:39 Setup error gtk Jack Mitchell
2009-03-07 20:51 ` Jack Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox