Giter Site home page Giter Site logo

perl-sweph's People

Contributors

aloistr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

perl-sweph's Issues

Unable to run the Project.

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)
';
}

started branch 'devel' where I add new swe_solcross function group

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.