Alien-FLTK
view release on metacpan or search on metacpan
## `library_path`
my $lib_path = $AF->library_path( );
Returns the location of the private libraries we made and installed
during the build process.
## `cflags`
my $cflags = $AF->cflags( );
Returns additional C compiler flags to be used.
## `cxxflags`
my $cxxflags = $AF->cxxflags( );
Returns additional flags to be used to when compiling C++ using FLTK.
## `ldflags`
my $ldflags = $AF->ldflags( qw[gl images] );
Returns additional linker flags to be used. This method can automatically add
appropriate flags based on how you plan on linking to fltk. Acceptable
arguments are:
- `gl`
Include flags to use GL.
_This is an experimental option. Depending on your system, this may also
include OpenGL or MesaGL._
- `images`
Include flags to use extra image formats (PNG, JPEG).
# Notes
## Requirements
Prerequisites differ by system...
- Win32
The fltk libs and [Alien::FLTK](https://metacpan.org/pod/Alien%3A%3AFLTK) both build right out of the box
with MinGW. Further testing is needed for other setups.
- X11/\*nix
X11-based systems require several development packages. On Debian, these may
be installed with:
> sudo apt-get install libx11-dev
> sudo apt-get install libxi-dev
Additionally, the optional XCurser lib may be installed with:
> sudo apt-get install libxcursor-dev
- Darwin/OSX
Uh, yeah, I have no idea.
## Installation
The distribution is based on [Module::Build](https://metacpan.org/pod/Module%3A%3ABuild), so use the
following procedure:
> perl Build.PL
> ./Build
> ./Build test
> ./Build install
## Support Links
- Issue Tracker
http://github.com/sanko/alien-fltk/issues
Please only report [Alien::FLTK](https://metacpan.org/pod/Alien%3A%3AFLTK) related bugs to this tracker.
For [FLTK](https://metacpan.org/pod/FLTK) issues, use http://github.com/sanko/fltk-perl/issues/
- Commit Log
http://github.com/sanko/alien-fltk/commits/master
- Homepage:
http://sanko.github.com/fltk-perl/ is the homepage of the [FLTK](https://metacpan.org/pod/FLTK)
project.
- License:
http://www.perlfoundation.org/artistic\_license\_2\_0
See the [License and Legal](#license-and-legal) section of this document.
- Mailing List
Once I find someone to host a list for the [FLTK](https://metacpan.org/pod/FLTK) project, I'll use it
for [Alien::FLTK](https://metacpan.org/pod/Alien%3A%3AFLTK) too.
- Repository
http://github.com/sanko/alien-fltk/ and you are invited to fork it.
## Examples
Please see the [Synopsis](https://metacpan.org/pod/Alien%3A%3AFLTK#Synopsis) and the files in the
`/examples/`.
## Bugs
Numerous, I'm sure.
## To Do
Please see [Alien::FLTK::Todo](https://metacpan.org/pod/Alien%3A%3AFLTK%3A%3ATodo)
( run in 0.696 second using v1.01-cache-2.11-cpan-f5b5a18a01a )