-
-
11 Jul 2017 11:46:10 UTC
- Distribution: Alien-FreeImage
- Module version: 1.001
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers (438 / 1 / 0)
- Kwalitee
Bus factor: 1- 40.52% Coverage
- License: perl_5
- Perl: v5.8.0
- Activity
24 month- Tools
- Download (5.76MB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::ShareDir
- File::Spec
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Alien::FreeImage - Building freeimage library http://freeimage.sourceforge.net/
SYNOPSIS
This module is not a perl binding for freeimage library; it is just a helper module that makes dev files (*.h, *.a) available for linking by other modules.
Alien::FreeImage installation comprise of these steps:
Build freeimage-3.17.0 static library (*.a) from source codes (that are bundled with this module)
Install dev files (*.h, *.a) into share directory of Alien::FreeImage distribution
Later on you can use Alien::FreeImage in your module that needs to link with freeimage like this:
# Sample Makefile.PL use ExtUtils::MakeMaker; use Alien::FreeImage; WriteMakefile( NAME => 'Any::FreeImage::Module', VERSION_FROM => 'lib/Any/FreeImage/Module.pm', LIBS => Alien::FreeImage->config('LIBS'), INC => Alien::FreeImage->config('INC'), # + additional params );
METHODS
config()
This function is the main public interface to this module.
Alien::FreeImage->config('LIBS');
Returns a string like: '-L/path/to/freeimage/dir -lfreeimage'
Alien::FreeImage->config('INC');
Returns a string like: '-I/path/to/freeimage/dir'
Alien::FreeImage->config('PREFIX');
Returns a string like: '/path/to/freeimage/dir'
LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
COPYRIGHT
2014+ KMX <kmx@cpan.org>
Module Install Instructions
To install Alien::FreeImage, copy and paste the appropriate command in to your terminal.
cpanm Alien::FreeImage
perl -MCPAN -e shell install Alien::FreeImage
For more information on module installation, please visit the detailed CPAN module installation guide.