From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f721b6ded54942f5,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,CP1252 Path: g2news1.google.com!news3.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newscon06.news.prodigy.com!prodigy.net!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!elnk-atl-nf1!newsfeed.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Problems with GtkAda-2.4.0 on Windows 2000. Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Message-ID: Date: Tue, 03 May 2005 22:43:04 GMT NNTP-Posting-Host: 209.165.23.17 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1115160184 209.165.23.17 (Tue, 03 May 2005 15:43:04 PDT) NNTP-Posting-Date: Tue, 03 May 2005 15:43:04 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:10900 Date: 2005-05-03T22:43:04+00:00 List-Id: I recently downloaded GtkAda for Windows and installed it and am having problems getting it to operate. I have used earlier versions of GtkAda and got them to work - if not perfectly, at least reasonably well. Can anyone help with these issues? Trying to build a simple "Hello World" program with a text window and a "quit" button, I discover the following: - Using the command line "gate" program to generate code, I notice that it does NOT create a "gate" directory as it says it will in the documentation and it used to do in earlier versions. Hence, it does not keep a backup copy of the code and any hand-modified code is lost in regenerating the project. The documentation says it won�t try to preserve modifications for Windows systems, but it used to at one time. Is there a way to get it to do this? - Defining a source subdirectory and pixmap subdirectory in the project options window seems to have zero effect if a simple name is used like "src" and "pixmaps". Putting in a fully qualified directory name such as "c:\hello_world\src" makes it lock up hopelessly. I don't have an obvious clue as to what to expect these options to produce, but I'm guessing they ought to have something to do with generating code in the indicated subdirectory and looking for pixmaps in the indicated subdirectory. Neither seems to happen. - Using the "build" menu option or button from Glade puts the code into c:\GtkAda-2.4.0\bin no matter what is in the project options for the project directory. This didn't work in earlier versions so I relied on gate. I saw no indication of this button building a "gate" directory to preserve hand modifications either. - When I created a window with a name of "Hello_World" and added the "on_Hello_World_Delete_Event" signal, the code generation produced a procedure with the name: "on_Hello world_Delete_Event" (note the space in the middle of the identifier). Will gate/glade not handle a window name with an underscore in it? - When compiling the completely unmodified code as generated for the simple app, I got the following output from gnatmake: C:\Condic\ZZZ\Hello>gnatmake -Ic:\gtkada-2.4.0\include\gtkada hello_world gcc -c -Ic:\gtkada-2.4.0\include\gtkada hello_world.adb gcc -c -Ic:\gtkada-2.4.0\include\gtkada hello_world_pkg.adb gcc -c -Ic:\gtkada-2.4.0\include\gtkada callbacks_hello_world.ads gcc -c -Ic:\gtkada-2.4.0\include\gtkada hello_world_intl.adb gcc -c -Ic:\gtkada-2.4.0\include\gtkada hello_world_pkg-callbacks.adb gnatbind -aO./ -aOc:\gtkada-2.4.0\include\gtkada -I- -x hello_world.ali gnatlink hello_world.ali c:\gtkada-2.4.0\include\gtkada\\libgtkada.a(misc.o.b)(.text+0x327f): undefined r eference to `SetCursorPos@8' gnatlink: cannot call C:\GNAT\bin\gcc.exe gnatmake: *** link failed. Am I missing some compiler option or linker option necessary to get this to work? It seems that earlier versions of GtkAda did not have these problems. Or they had a different set at least. I can't get very far with this as it stands and I'd like to be able to use the latest version here rather than revert to an earlier release. Can anybody provide any info? Thanks. MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "'Shut up,' he explained." -- Ring Lardner ======================================================================