From: Zoltan B. <zb...@du...> - 2007-04-23 12:09:46
|
Hi, Malangon Perez írta: > Please, does anybody know how to compile RLIB for > Windows? > I need to know necessary steps and what tools to use > in order to do it. > I dug up an old mail of mine about it. Here is the essence of it: -------------------------------------------------------------- You will need these: GLIB2/GTK2 runtime, Windows installer: http://prdownloads.sourceforge.net/gimp-win/gtk%2B-2.6.4-setup.zip?download You will need these below from this page: http://www.gimp.org/~tml/gimp/win32/downloads.html Just extract them under C:\MingW. http://www.gimp.org/~tml/gimp/win32/glib-dev-2.4.7.zip http://www.gimp.org/~tml/gimp/win32/pkgconfig-0.15.zip http://www.gimp.org/~tml/gimp/win32/libiconv-1.9.1.bin.woe32.zip But don't use the zlib from the above page, use these instead: ZLIB DLL(s): http://prdownloads.sourceforge.net/gnuwin32/zlib-1.2.2-bin.zip?download ZLIB headers, static lib and DLL stub: http://prdownloads.sourceforge.net/gnuwin32/zlib-1.2.2-lib.zip?download You will also need libxml2 (this link listed on the Gimp/Win32 page) http://www.zlatkovic.com/projects/libxml/binaries.html The libxml2 ZIP has a root directory, libxml2-2.6.19.win32. Move the bin, include and lib directories from there to C:\MingW, too. You will also need the attached pkgconfig file so RLIB finds libxml2. The libxml2 ZIP does not contain the corresponding .pc file. Put it into C:\MingW\lib\pkgconfig You may try GD, too: http://gnuwin32.sourceforge.net/packages/gd.htm I successfully linked RLIB to GD under MingW 3.1 on my machine, but I haven't installed GD on the other machine with MingW 3.2-rc3. Could it be the source of the PDF problem? -------------------------------------------------------------- It was sent exacly two years and a week ago to RLIB-DEVEL. :-) Note the old software version, especially MinGW version... I don't think you will find MinGW 3.1 anywhere anymore. If you have problems with newer version, just tell me. I may have to refresh the info for recent version. I also attached the libxml-2.0.pc that was missing at the time from the Windows version of libXML. AFAIK, you may have to delete "-lm" from the linker line. > Could you send to me the compiled DLL? > Sent in private. > Best regards, > Malangon Similarly, Zoltán Böszörményi |