Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Imager with JPEG support on Windows

by tonyc (Pilgrim)
on Jun 01, 2010 at 13:08 UTC ( #842603=note: print w/replies, xml ) Need Help??

in reply to Imager with JPEG support on Windows

From the other output you've described Imager's Makefile.PL is finding neither the jpeg libraries not the header files.

You need all of the following:

  • a compiler
  • the library - depending on which compiler you're using that will be libjpeg.a or libjpeg.lib
  • the header files - jpeglib.h, jconfig.h, jmorecfg.h

If the libraries aren't in the default library search path, add a --libpath=c:\directory\ option.

If the headers aren't in the default include search path, add a --incpath=c:\directory\ option.

So you might have:

perl Makefile.PL --incpath=c:\somewhere\include --libpath=c:\somewhere\lib

The Makefile.PL output should include a line like:

      jpeg: includes found - libraries found

If it doesn't, Imager didn't find one of either the includes or libraries.

If it does, try building Imager, if you're still having problems please include: which files you put where, the output of perl Makefile.PL, and the build output.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://842603]
[1nickt]: Ya gotta love the google. If you set accept=".txt" in a form input field where type="file", Chrome will allow you to select local files with extensions like .pl, .pm, .yaml, .ini etc. Nice!

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-07-22 18:24 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (340 votes). Check out past polls.