aloistr / perl-sweph Goto Github PK
View Code? Open in Web Editor NEWperl module encapsulating the Swiss Ephemeris library
License: Other
perl module encapsulating the Swiss Ephemeris library
License: Other
Hi forwarded to the link in the documentation but can't able to find .dll file.
Here is the code of the Makefile.PL
Error I am facing is
Warning (mostly harmless): No library found for C:/swisseph-master/swisseph-master/windows/sweph/sweph/bin/swedll64.dll Warning (mostly harmless): No library found for -lswe Warning (mostly harmless): No library found for -lmoldname Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Generating a gmake-style Makefile Writing Makefile for SwissEph Writing MYMETA.yml and MYMETA.json
#!/usr/local/bin/perl
use 5.016003;
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
#
# to build statically linked SwissEphe.so, call
# perl Makefile.PL LIBS='' MYEXTLIB='/home/swehome/libswe.a'
WriteMakefile(
NAME => 'SwissEph',
VERSION_FROM => 'lib/SwissEph.pm', # finds $VERSION
PREREQ_PM => {}, # e.g., Module::Name => 1.1
ABSTRACT_FROM => 'lib/SwissEph.pm', # retrieve abstract from module
AUTHOR => 'Alois Treindl <[email protected]>',
# LIBS => ['-L/usr/local/lib64/swe -lswe'],
LIBS => ['C:/swisseph-master/swisseph-master/windows/sweph/sweph/bin/swedll64.dll -lswe'],
# MYEXTLIB => '/home/swehome/libswe$(LIB_EXT)',
DEFINE => '', # e.g., '-DHAVE_SOMETHING'
INC => '-I.', # e.g., '-I. -I/usr/include/other'
DISTVNAME => 'perl_sweph', #
# OBJECT => '$(O_FILES)' . "$O_FILES", # link all the C files too
);
sub MY::postamble {
'
$(MYEXTLIB): /home/swehome/Makefile
cd /home/swehome && $(MAKE) libswe.a $(PASSTHRU)
';
}
Swisseph release 2.10.02 has some new functions
ext_def(double) swe_solcross(double x2cross, double jd0, int flag, char *serr);
ext_def(double) swe_solcross_ut(double x2cross, double jd_ut, int flag, char *serr);
ext_def(double) swe_mooncross(double x2cross, double jd0, int flag, char *serr);
ext_def(double) swe_mooncross_ut(double x2cross, double jd_ut, int flag, char *serr);
ext_def(double) swe_mooncross_node(double jd0, int flag, double *xlon, double *xlat, char *serr);
ext_def(double) swe_mooncross_node_ut(double jd_ut, int flag, double *xlon, double *xlat, char *serr);
ext_def(int32) swe_helio_cross(int ipl, double x2cross, double jd0, int iflag, int dir, double *jd_cross, char *serr);
ext_def(int32) swe_helio_cross_ut(int ipl, double x2cross, double jd_ut, int iflag, int dir, double *jd_cross, char *serr);
I have started adding them to perl-sweph
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.