AI-LibNeural
view release on metacpan or search on metacpan
LICENSE
LibNeural.pm
LibNeural.xs
MANIFEST This list of files
MANIFEST.SKIP
Makefile.PL
README
t/00.AILibNeural.t
t/01.AILibNeuralChild.t
typemap
Makefile.PL view on Meta::CPAN
# Boston, MA 02111-1307 USA.
#
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'AI::LibNeural',
'VERSION_FROM' => 'LibNeural.pm',
'ABSTRACT_FROM' => 'LibNeural.pm',
'LIBS' => [ '-lneural' ],
'TYPEMAPS' => [ './typemap' ],
# this is going to be linked with a c++ lib so special magic is
# required. MakeMaker will complain that it doesn't know anything
# about CC, and LD, but appearently it does
'CC' => 'g++',
'LD' => '$(CC)',
'XSOPT' => '-C++',
);
> perl Makefile.PL
or
> perl Makefile.PL PREFIX=/some/non/system/place
(then setting PERL5LIB as appropriate based on ^ is a good ideal)
ignore the warnings about CC and LD being unknown parameters, then
> make all test install
Provided that everything goes well this should build the module, test it out,
and install it. If you encounter problems try e-mailing the author with as
much detail as possible. System type, os version, perl version, libneural
version, cpp compiler, script of the failing Makefile creation and compile
process.
USE
For information on using this library see the POD within AI::LibNeural.pm by
typing 'perldoc LibNeural.pm' in the same directory as this README or by
typing 'perldoc AI::LibNeural' after installtion.
DEPENDENCIES
OUTPUT
O_OBJECT
sv_setref_pv( $arg, CLASS, (void*)$var );
INPUT
O_OBJECT
if( sv_isobject($arg) && (SvTYPE(SvRV($arg)) == SVt_PVMG) )
$var = ($type)SvIV((SV*)SvRV( $arg ));
else{
warn( \"${Package}::$func_name() -- $var is not a blessed SV reference\" );
XSRETURN_UNDEF;
}
( run in 4.293 seconds using v1.01-cache-2.11-cpan-df04353d9ac )