|
From: Stoik on 1 Feb 2008 10:25 I am looking for someone to help me with JEWL in Windows environment (Windows XP). I have installed academic version of GPS (2007-2) and win32ada from the same source. Nevertheless, the linker is reporting: ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe). What is the solution? Are there special switches or pragmas I should use?
From: Jeffrey R. Carter on 31 Jan 2008 19:17 Stoik wrote: > I am looking for someone to help me with JEWL in Windows environment > (Windows XP). I have installed academic version of GPS (2007-2) and > win32ada from the same source. Nevertheless, the linker is reporting: > ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe). > What is the solution? Are there special switches or pragmas I should > use? I have found that you have to replace those names in the source with the full paths and names of the libraries installed by win32ada. Maybe there's a better way, but that works. -- Jeff Carter "I'm particularly glad that these lovely children were here today to hear that speech. Not only was it authentic frontier gibberish, it expressed a courage little seen in this day and age." Blazing Saddles 88
From: Martin Krischik on 1 Feb 2008 02:32 Jeffrey R. Carter schrieb: > Stoik wrote: >> I am looking for someone to help me with JEWL in Windows environment >> (Windows XP). I have installed academic version of GPS (2007-2) and >> win32ada from the same source. Nevertheless, the linker is reporting: >> ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe). >> What is the solution? Are there special switches or pragmas I should >> use? > > I have found that you have to replace those names in the source with the > full paths and names of the libraries installed by win32ada. Maybe > there's a better way, but that works. yes the "-Wl,--library-path=", "-Wl,-rpath=" and "-Wl,-rpath-link=" options. They must appear before the -l (which is the short form of "-Wl,--library=") option. Martin -- mailto://krischik(a)users.sourceforge.net Ada programming at: http://ada.krischik.com
From: John McCormick on 1 Feb 2008 16:05 On Jan 31, 9:25 am, Stoik <staszek.goldst...(a)gmail.com> wrote: > I am looking for someone to help me with JEWL in Windows environment > (Windows XP). I have installed academic version of GPS (2007-2) and > win32ada from the same source. Nevertheless, the linker is reporting: > ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe). > What is the solution? Are there special switches or pragmas I should > use? Here is the solution that I was given to solve this problem: In file jewl-win32_interface.adb replace the one line pragma Linker_Options ("-luser32 -lgdi32 -lcomdlg32 -lwinmm"); with these three lines pragma Linker_Options ("-luser32"); pragma Linker_Options ("-lgdi32"); pragma Linker_Options ("-lcomdlg32"); pragma Linker_Options ("-lwinmm"); Build the JEWL library as described in the JEWL documentation. John
From: John McCormick on 1 Feb 2008 16:15 On Feb 1, 3:05 pm, John McCormick <mccorm...(a)cs.uni.edu> wrote: > On Jan 31, 9:25 am, Stoik <staszek.goldst...(a)gmail.com> wrote: > > > I am looking for someone to help me with JEWL in Windows environment > > (Windows XP). I have installed academic version of GPS (2007-2) and > > win32ada from the same source. Nevertheless, the linker is reporting: > > ld.exe: cannot find -luser32 -lgdi32 -lcomdlg32 -lwinmm (from ld.exe). > > What is the solution? Are there special switches or pragmas I should > > use? > > Here is the solution that I was given to solve this problem: > > In file > jewl-win32_interface.adb > replace the one line > pragma Linker_Options ("-luser32 -lgdi32 -lcomdlg32 -lwinmm"); > with these three lines > pragma Linker_Options ("-luser32"); > pragma Linker_Options ("-lgdi32"); > pragma Linker_Options ("-lcomdlg32"); > pragma Linker_Options ("-lwinmm"); > > Build the JEWL library as described in the JEWL documentation. > > John Oops! That is four lines. Too much C today. John
|
Pages: 1 Prev: Am I "Overqualified"? Next: declaration of an incomplete private type before the private part |