Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
May 29, 2008, 6:58 pm
rate this thread
I'm trying to build Win32::Printer with Freeimage.dll support (under
windows xp using the MS free compilers). The default build is to have
it without FreeImage support when you install it using 'c:\perl\bin
\cpan' , so I am manually unzipping the source ans running
makefile.pl, then nmake. When I do this I get referneces to
delayimp.lib not being found, but it works OK.
HOWEVER, when I run the makefile.pl with command line options (ARGS),
that trigger the "do you want freeimage support' etc, and I say yes -
the delayimp.lib is used and the compilation fails with:
"FreeImage.lib(FreeImage.dll) : error LNK2001: unresolved external
(I have freeimage installed in my perl bin directory and in my path)
I have tried editing out the delay calls in the makefile, but it still
breakes the build.
I cannot find a copy of delayimp.lib ANYWHERE (and I've really looked)
1) Does anyone have the Win32:Printer DLL pre-complied with
Freeimage support they can mail me OR
2) Does anyone know how to over come my build issues?
Any help gratefully recieved
Re: Win32:Printer Windows x86 build with FreeImage.dll support build issues
How did you install the compiler? If delayimp.lib cannot be found on
your hard drive, you could download and install the Platform SDK or
the Driver Development Kit, they both include the library. If you do
have it on the hard drive and it cannot be found, you have to adjust
the library paths (e.g. using `set LIBS=...`). Usually the compilers
come with a special command prompt and batch file that sets the en-
vironment up properly.
If you use ActivePerl you might also be able to install the module
via ppm, e.g. http://cpan.uwinnipeg.ca/dist/Win32-Printer has a ppm
module for Perl 5.8.x and ActiveState might also offer one.
Björn Höhrmann · mailto:email@example.com · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/