GithubHelp home page GithubHelp logo

astrorigin / pyswisseph Goto Github PK

View Code? Open in Web Editor NEW
212.0 28.0 65.0 1.76 MB

Python extension to the Swiss Ephemeris

Home Page: https://astrorigin.com/pyswisseph

License: GNU Affero General Public License v3.0

CMake 0.94% C 78.17% Python 20.78% Makefile 0.11%
astrology ephemerides swisseph astronomy

pyswisseph's Introduction

Pyswisseph

This is the Python extension to the Swiss Ephemeris by AstroDienst.

The Swiss Ephemeris is the de-facto standard library for astrological calculations. It is a high-precision ephemeris, based upon the DE431 ephemerides from NASA's JPL, and covering the time range 13201 BC to AD 17191.

Usage Example

>>> import swisseph as swe
>>> # first set path to ephemeris files
>>> swe.set_ephe_path('/usr/share/sweph/ephe')
>>> # find time of next lunar eclipse
>>> jd = swe.julday(2007, 3, 3) # julian day
>>> res = swe.lun_eclipse_when(jd)
>>> ecltime = swe.revjul(res[1][0])
>>> print(ecltime)
(2007, 3, 3, 23.347926892340183)
>>> # get ecliptic position of asteroid 13681 "Monty Python"
>>> jd = swe.julday(2008, 3, 21)
>>> xx, rflags = swe.calc_ut(jd, swe.AST_OFFSET+13681)
>>> # print longitude
>>> print(xx[0])
0.09843983166646618
Pyswisseph docs

https://astrorigin.com/pyswisseph

Python Package Index

https://pypi.org/project/pyswisseph

AstroDienst

https://www.astro.com/swisseph

Source code

Clone the Github repository with command:

git clone --recurse-submodules https://github.com/astrorigin/pyswisseph

Licensing

The Pyswisseph package adopts the GNU Affero General Public License version 3. See the LICENSE.txt file.

The original swisseph library is distributed under a dual licensing system: GNU Affero General Public License, or Swiss Ephemeris Professional License. For more information, see file libswe/LICENSE.

Test Suite

For now, the tests can be run with the standard python3 setup.py test command. For them to pass successfully, you need a basic set of ephemerides files installed somewhere on your system:

  • seas_18.se1
  • sefstars.txt
  • semo_18.se1
  • sepl_18.se1

All downloadable from https://www.astro.com/ftp/swisseph/ephe/

The path to the directory containing those files must be indicated in the environment variable SE_EPHE_PATH.

For example, on a system with the env command, you can do:

env SE_EPHE_PATH="/usr/share/sweph/ephe" python3 setup.py test

Credits

Author: Stanislas Marquis <stan(at)astrorigin.com>

PyPI/CI: Jonathan de Jong <jonathan(at)automatia.nl>

pyswisseph's People

Contributors

astrorigin avatar dwlnetnl avatar joaoventura avatar shadowjonathan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pyswisseph's Issues

Sidereal zodiac calculations: are they possible at all?

Here is what documentation says:

To compute sidereal positions, set bit FLG_SIDEREAL and use the function set_sid_mode() in order to define the ayanamsha you want. For more information, read to chapter TODO

I.e. documentation wasn't completed. Here is what I tried:

swe.set_sid_mode(swe.SE_SIDM_LAHIRI)
jd = jd_from_date(moment)
sun = swe.calc_ut(jd, swe.SUN, swe.FLG_SIDEREAL)[0][0]

The result is:

module 'swisseph' has no attribute 'SE_SIDM_LAHIRI'

How do I define the ayanamsha then?

Regression bug: swe.SIDM_TRUE_CITRA returning zero ayanAmsha

Code:

    swe.set_sid_mode(swe.SIDM_TRUE_CITRA)
    from jyotisha.panchangam.spatio_temporal import City
    # city = City.from_address_and_timezone('Cupertino, CA', "America/Los_Angeles")
    # jd = city.local_time_to_julian_day(year=2018, month=11, day=11, hours=6, minutes=0, seconds=0)
    assert swe.get_ayanamsa(2458434.083333251) == 24.120535828308334

Output:

E       assert 0.0 == 24.120535828308334

Consider building and releasing wheels with pypi releases.

With setuptools it is possible to build and release python wheels alongside normal "source" releases, currently what is being uploaded to pypi are those source-based releases, and clients have to build+compile the library at install time.

Wheels speeds up this process by doing the compiling first before annotating the wheel file with the required restrictions (python version, OS, CPU architecture) for it to be able to run on another version.

I'm suggesting to build wheels for difficult-to-compile systems like windows (win32, win_amd64), macos, and Linux (manylinux) on python versions 3.5 through 3.8 in an array formation.

I'm suggesting using cibuildwheel, which works with Travis CI, which is free to use.

Building wheels can speedup install times and make sure users don't have to install build/compile/link tools on their machines for them to use this library (or any that depend on it).

installing error Anaconda3 + python 3.6 (windows 10)

Can someone help to solve this problem:

pip install pyswisseph

Collecting pyswisseph
Using cached pyswisseph-2.00.00-2.tar.bz2
Building wheels for collected packages: pyswisseph
Running setup.py bdist_wheel for pyswisseph ... error
Complete output from command C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\A\AppData\Local\Temp\pip-build-s59wqh7f\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\A\AppData\Local\Temp\tmpf9uxxvzqpip-wheel- --python-tag cp36:
Searching system libswe...
Found pkg-config
Using internal libswe
C:\Anaconda3\lib\site-packages\setuptools\dist.py:351: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running bdist_wheel
running build
running build_ext
building 'swisseph' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\libswe
creating build\temp.win-amd64-3.6\Release\swephelp
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c pyswisseph.c -o build\temp.win-amd64-3.6\Release\pyswisseph.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swecl.c -o build\temp.win-amd64-3.6\Release\libswe\swecl.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swedate.c -o build\temp.win-amd64-3.6\Release\libswe\swedate.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swehel.c -o build\temp.win-amd64-3.6\Release\libswe\swehel.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swehouse.c -o build\temp.win-amd64-3.6\Release\libswe\swehouse.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swejpl.c -o build\temp.win-amd64-3.6\Release\libswe\swejpl.o -std=gnu99
libswe/swejpl.c:78:19: error: conflicting types for 'off_t'
typedef __int64 off_t;
^
In file included from C:/Anaconda3/Library/mingw-w64/x86_64-w64-mingw32/include/io.h:169:0,
from libswe/sweodef.h:86,
from libswe/swephexp.h:83,
from libswe/swejpl.c:71:
C:/Anaconda3/Library/mingw-w64/x86_64-w64-mingw32/include/_mingw_off_t.h:26:17: note: previous declaration of 'off_t' was here
typedef off32_t off_t;
^
error: command 'C:\Anaconda3\Library\mingw-w64\bin\gcc.exe' failed with exit status 1


Failed building wheel for pyswisseph
Running setup.py clean for pyswisseph
Failed to build pyswisseph
Installing collected packages: pyswisseph
Running setup.py install for pyswisseph ... error
Complete output from command C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\A\AppData\Local\Temp\pip-build-s59wqh7f\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\A\AppData\Local\Temp\pip-b96hno6d-record\install-record.txt --single-version-externally-managed --compile:
Searching system libswe...
Found pkg-config
Using internal libswe
C:\Anaconda3\lib\site-packages\setuptools\dist.py:351: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running install
running build
running build_ext
building 'swisseph' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\libswe
creating build\temp.win-amd64-3.6\Release\swephelp
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c pyswisseph.c -o build\temp.win-amd64-3.6\Release\pyswisseph.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swecl.c -o build\temp.win-amd64-3.6\Release\libswe\swecl.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swedate.c -o build\temp.win-amd64-3.6\Release\libswe\swedate.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swehel.c -o build\temp.win-amd64-3.6\Release\libswe\swehel.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swehouse.c -o build\temp.win-amd64-3.6\Release\libswe\swehouse.o -std=gnu99
C:\Anaconda3\Library\mingw-w64\bin\gcc.exe -mdll -O -Wall -DMS_WIN64 -Ilibswe -Iswephelp -IC:\Anaconda3\include -IC:\Anaconda3\include -c libswe/swejpl.c -o build\temp.win-amd64-3.6\Release\libswe\swejpl.o -std=gnu99
libswe/swejpl.c:78:19: error: conflicting types for 'off_t'
typedef __int64 off_t;
^
In file included from C:/Anaconda3/Library/mingw-w64/x86_64-w64-mingw32/include/io.h:169:0,
from libswe/sweodef.h:86,
from libswe/swephexp.h:83,
from libswe/swejpl.c:71:
C:/Anaconda3/Library/mingw-w64/x86_64-w64-mingw32/include/_mingw_off_t.h:26:17: note: previous declaration of 'off_t' was here
typedef off32_t off_t;
^
error: command 'C:\Anaconda3\Library\mingw-w64\bin\gcc.exe' failed with exit status 1

----------------------------------------

Command "C:\Anaconda3\python.exe -u -c "import setuptools, tokenize;file='C:\Users\A\AppData\Local\Temp\pip-build-s59wqh7f\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\A\AppData\Local\Temp\pip-b96hno6d-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\A\AppData\Local\Temp\pip-build-s59wqh7f\pyswisseph\

Cannot deploy project to Heroku

Hello, I'm having a similar error to some before me when trying to deploy a project to heroku that depends on this library. I dont know what the issue is or how to fix it :

Installing collected packages: pyswisseph
2020-05-20T00:01:48.839661+00:00 app[web.1]: Running setup.py install for pyswisseph: started
2020-05-20T00:01:48.839662+00:00 app[web.1]: Running setup.py install for pyswisseph: finished with status 'error'
2020-05-20T00:01:48.839662+00:00 app[web.1]:
2020-05-20T00:01:48.839801+00:00 app[web.1]: ERROR: Command errored out with exit status 1:
2020-05-20T00:01:48.839814+00:00 app[web.1]: command: /app/.local/share/virtualenvs/app-4PlAip0Q/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-djfmycyt/pyswisseph/setup.py'"'"'; __file__='"'"'/tmp/pip-install-djfmycyt/pyswisseph/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-vuz1lu7j
2020-05-20T00:01:48.839815+00:00 app[web.1]: cwd: /tmp/pip-install-djfmycyt/pyswisseph/
2020-05-20T00:01:48.839815+00:00 app[web.1]: Complete output (23 lines):
2020-05-20T00:01:48.839816+00:00 app[web.1]: Searching system libswe...
2020-05-20T00:01:48.839816+00:00 app[web.1]: pkg-config not found
2020-05-20T00:01:48.839816+00:00 app[web.1]: Using internal libswe
2020-05-20T00:01:48.839817+00:00 app[web.1]: /app/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.7/site-packages/setuptools/dist.py:454: UserWarning: Normalizing '2.08.00-1' to '2.8.0.post1'
2020-05-20T00:01:48.839817+00:00 app[web.1]: warnings.warn(tmpl.format(**locals()))
2020-05-20T00:01:48.839818+00:00 app[web.1]: running bdist_wheel
2020-05-20T00:01:48.839818+00:00 app[web.1]: running build
2020-05-20T00:01:48.839818+00:00 app[web.1]: running build_ext
2020-05-20T00:01:48.839818+00:00 app[web.1]: building 'swisseph' extension
2020-05-20T00:01:48.839819+00:00 app[web.1]: creating build
2020-05-20T00:01:48.839819+00:00 app[web.1]: creating build/temp.linux-x86_64-3.7
2020-05-20T00:01:48.839819+00:00 app[web.1]: creating build/temp.linux-x86_64-3.7/libswe
2020-05-20T00:01:48.839820+00:00 app[web.1]: creating build/temp.linux-x86_64-3.7/swephelp
2020-05-20T00:01:48.839823+00:00 app[web.1]: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Ilibswe -Iswephelp -I/app/.local/share/virtualenvs/app-4PlAip0Q/include -I/app/.heroku/python/include/python3.7m -c pyswisseph.c -o build/temp.linux-x86_64-3.7/pyswisseph.o -std=gnu99
2020-05-20T00:01:48.839824+00:00 app[web.1]: In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/syslimits.h:7:0,
2020-05-20T00:01:48.839824+00:00 app[web.1]: from /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:34,
2020-05-20T00:01:48.839825+00:00 app[web.1]: from /app/.heroku/python/include/python3.7m/Python.h:11,
2020-05-20T00:01:48.839825+00:00 app[web.1]: from pyswisseph.c:58:
2020-05-20T00:01:48.839828+00:00 app[web.1]: /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed/limits.h:194:15: fatal error: limits.h: No such file or directory
2020-05-20T00:01:48.839829+00:00 app[web.1]: #include_next <limits.h>  /* recurse down to the real one */
2020-05-20T00:01:48.839829+00:00 app[web.1]: ^~~~~~~~~~
2020-05-20T00:01:48.839829+00:00 app[web.1]: compilation terminated.
2020-05-20T00:01:48.839846+00:00 app[web.1]: error: command 'gcc' failed with exit status 1
2020-05-20T00:01:48.839847+00:00 app[web.1]: ----------------------------------------
2020-05-20T00:01:48.839847+00:00 app[web.1]: ERROR: Failed building wheel for pyswisseph

Problem with "calc_ut"

I'm new for this program and I‘m doing a test with the "calc_ut" function.
I do found all the results i get are composed of decimals, like for 2008/03/21, the position of "SUN" shows the longitude is 1.2490112877297759, but it is expected to be xx° xx′ xx″, anyone knows how to change the format?

TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

When I issue the below statement in shell:

$ python3 -m jyotisha.panchangam.scripts.write_daily_panchangam_tex Chennai 13:05:24 80:16:12 'Asia/Calcutta' 2019 devanagari

It throws' error as below:

DEBUG: 2019-08-20 17:39:43,678 {common.py:868}: {'DataSource': <class 'sanskrit_data.schema.common.DataSource'>, 'JsonObject': <class 's
anskrit_data.schema.common.JsonObject'>, 'JsonObjectNode': <class 'sanskrit_data.schema.common.JsonObjectNode'>, 'NamedEntity': <class 'sanskrit_data.schema.common.NamedEntity'>, 'SchemaError': <class 'jsonschema.exceptions.SchemaError'>, 'ScriptRendering': <class 'sanskrit_data.schema.common.ScriptRendering'>, 'Target': <class 'sanskrit_data.schema.common.Target'>, 'TargetValidationError': <class 'sanskrit_data.schema.common.TargetValidationError'>, 'Text': <class 'sanskrit_data.schema.common.Text'>, 'UllekhanamJsonObject': <class 'sanskrit_data.schema.common.UllekhanamJsonObject'>, 'ValidationError': <class 'jsonschema.exceptions.ValidationError'>}
DEBUG: 2019-08-20 17:39:43,997 {temporal.py:483}: {'DataSource': <class 'sanskrit_data.schema.common.DataSource'>, 'JsonObject': <class
'sanskrit_data.schema.common.JsonObject'>, 'JsonObjectNode': <class 'sanskrit_data.schema.common.JsonObjectNode'>, 'NamedEntity': <class 'sanskrit_data.schema.common.NamedEntity'>, 'SchemaError': <class 'jsonschema.exceptions.SchemaError'>, 'ScriptRendering': <class 'sanskrit_data.schema.common.ScriptRendering'>, 'Target': <class 'sanskrit_data.schema.common.Target'>, 'TargetValidationError': <class 'sanskrit_data.schema.common.TargetValidationError'>, 'Text': <class 'sanskrit_data.schema.common.Text'>, 'UllekhanamJsonObject': <class 'sanskrit_data.schema.common.UllekhanamJsonObject'>, 'ValidationError': <class 'jsonschema.exceptions.ValidationError'>, 'Time': <class 'jyotisha.panchangam.temporal.Time'>}
DEBUG: 2019-08-20 17:39:43,997 {spatio_temporal.py:1505}: {'DataSource': <class 'sanskrit_data.schema.common.DataSource'>, 'JsonObject': <class 'sanskrit_data.schema.common.JsonObject'>, 'JsonObjectNode': <class 'sanskrit_data.schema.common.JsonObjectNode'>, 'NamedEntity': <class 'sanskrit_data.schema.common.NamedEntity'>, 'SchemaError': <class 'jsonschema.exceptions.SchemaError'>, 'ScriptRendering': <class 'sanskrit_data.schema.common.ScriptRendering'>, 'Target': <class 'sanskrit_data.schema.common.Target'>, 'TargetValidationError': <class 'sanskrit_data.schema.common.TargetValidationError'>, 'Text': <class 'sanskrit_data.schema.common.Text'>, 'UllekhanamJsonObject': <class 'sanskrit_data.schema.common.UllekhanamJsonObject'>, 'ValidationError': <class 'jsonschema.exceptions.ValidationError'>, 'Time': <class 'jyotisha.panchangam.temporal.Time'>, 'City': <class 'jyotisha.panchangam.spatio_temporal.City'>, 'Panchangam': <class 'jyotisha.panchangam.spatio_temporal.Panchangam'>, 'datetime': <class 'datetime.datetime'>}
Loaded pre-computed panchangam from ../precomputed/Chennai-2019.json.
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/canabady/.local/lib/python3.6/site-packages/jyotisha/panchangam/scripts/write_daily_panchangam_tex.py", line 66, in
main()
File "/home/canabady/.local/lib/python3.6/site-packages/jyotisha/panchangam/scripts/write_daily_panchangam_tex.py", line 56, in main
panchangam.computeFestivals()
File "/home/canabady/.local/lib/python3.6/site-packages/jyotisha/panchangam/spatio_temporal.py", line 658, in computeFestivals
self.jd_sunrise[d - 2] + 4, args=(
TypeError: unsupported operand type(s) for +: 'NoneType' and 'int'

BIT_HINDU_RISING ignored?

swe.BIT_HINDU_RISING seems to be ignored

from flatlib.datetime import Datetime
import swisseph as swe
swe.set_ephe_path('/home/au/.local/lib/python3.8/site-packages/flatlib/resources/swefiles')
			
print (Datetime.fromJD(swe.rise_trans(swe.julday(2022, 4, 7), swe.SUN, -79.903611, 32.861389, 0, 0, 0, swe.CALC_RISE, swe.BIT_HINDU_RISING)[1][0], "-04:00"))
print (Datetime.fromJD(swe.rise_trans(swe.julday(2022, 4, 7), swe.SUN, -79.903611, 32.861389, 0, 0, 0, swe.CALC_SET, swe.BIT_HINDU_RISING)[1][0], "-04:00"))

print (Datetime.fromJD(swe.rise_trans(swe.julday(2022, 4, 7), swe.SUN, -79.903611, 32.861389, 0, 0, 0, swe.CALC_RISE)[1][0], "-04:00"))
print (Datetime.fromJD(swe.rise_trans(swe.julday(2022, 4, 7), swe.SUN, -79.903611, 32.861389, 0, 0, 0, swe.CALC_SET)[1][0], "-04:00"))

in both cases I get the same result:

<2022/04/08 06:58:19 -04:00:00>
<2022/04/07 19:44:20 -04:00:00>
<2022/04/08 06:58:19 -04:00:00>
<2022/04/07 19:44:20 -04:00:00>

I don't understand. Bug or my mistake?

How to compute obliquity and nutation for planets?

According to docs, we can calculate the obliquity of the ecliptic and the nutation by setting planet flag of calc function to SE_ECL_NUT. But with this, we can't choose planet. Does it mean we can compute these values only for Earth? Or how does it work?

Bundle swisseph data files into pyswisseph-data-*

This is a tracker/reminder issue about bundling the swisseph data files into pyswisseph-data-* packages, to make it easier for users to access different datasets dynamically through pip itself.

swe.fix_stars_ut not finding sefstars.txt

Code:

(_, lat, _, _, _, _) = swe.fixstar_ut("Spica", jd)

output:

E swisseph.Error: SwissEph file 'sefstars.txt' not found in PATH '/usr/share/swisseph:/usr/local/share/swisseph/'

New to programming -- Keep getting AttributeError

I'm on Windows 10. Running python 3.7 on a conda virtual env. Using VScode.

I have tried to install swisseph and pyswisseph in every way possible to try and get it to work. I finally got swisseph working and recognized as a module, and I'm using chatgpt to help me write code and learn how to integrate the ephermis into the gpt api. We're going through the steps and it gave me the example code below to use to connect with postman/flask and run the calculate_planet_position function.

The problem is that when I run it, the attribute swe.MERCURY and swe.FLG_SPEED and swe.FLG_SWIEPH and the other attributes are just not being recognized for some reason by my terminal.

I keep getthing the error: AttributeError: module 'swisseph' has no attribute 'FLG_SWIEPH

I dont know what I'm doing wrong. Was hoping to get some help with this.

`
from flask import Flask, request
import swisseph as swe

app = Flask(__name__)

@app.route('/planet_position', methods=['GET'])
def planet_position():
    # Get the parameters from the request
    date = float(request.args.get('date'))
    longitude = float(request.args.get('longitude'))
    latitude = float(request.args.get('latitude'))


    # Call the calculate_planet_position function to get the planet's position
    planet_longitude, planet_latitude = calculate_planet_position(date, longitude, latitude)

    # Return the planet's position as a JSON response
    return {
        'planet_longitude': planet_longitude,
        'planet_latitude': planet_latitude
    }

def calculate_planet_position(date, longitude, latitude):
    """
    Calculates the position of Mercury at a given date, longitude, and latitude.

    Args:
        date (float): The date and time in Julian days UTC.
        longitude (float): The longitude of the observer in degrees.
        latitude (float): The latitude of the observer in degrees.

    Returns:
        tuple: The longitude and latitude of Mercury in degrees.
    """
    # Set up the parameters for the calculation
    planet = 1  # Use the integer planet number for Mercury
    flags = swe.FLG_SWIEPH | swe.FLG_SPEED
    position_format = swe.FLG_EQUATORIAL | swe.FLG_SPEED | swe.FLG_TRUEPOS

    # Set the observer location
    observer_location = [longitude, latitude, 0]

    # Calculate the planet's position
    planet_position = swe.calc_ut(date, planet, flags)
    planet_longitude, planet_latitude, _ = swe.calc_ut(planet_position[0], planet, position_format)

    # Convert the planet's position to the observer's location
    swe.set_topo(observer_location[0], observer_location[1], observer_location[2])
    swe.set_sid_mode(swe.SIDM_LAHIRI)
    planet_longitude, planet_latitude, _ = swe.get_topo(planet_longitude)

if __name__ == '__main__':
    app.run()

`

Docs of time_equ not correct

The doc comment on time_equ states that the input is in ET, but in the library source it states that the input expected to be UT.

/* Equation of Time
 *
 * The function returns the difference between 
 * local apparent and local mean time in days.
 * E = LAT - LMT
 * Input variable tjd is UT.
 */

// sweph.c:6508
if ((retval = swe_calc_ut(tjd_ut, SE_SUN, iflag, x, serr)) == ERR)

heliacal_ut(..)

Hi,

I'm using the pyswisseph for ephemeris, it's working fine.
however, i'm trying to get the heliacal rising of stars. It doesn't seem to work at all.

code:
star = 'Sirius'
dp_star_data = swe.heliacal_ut(jd, [80, 16, 0], [0.0, 0.0, 0.0, 0.0],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
star, swe.HELIACAL_RISING,
swe.HELFLAG_HIGH_PRECISION + swe.FLG_SWIEPH )

This is never returning values. whenever i use this function and run the code, the project hangs and doesn't seem to recover until I reset. Is there any fix for this or am I using it wrong.

Thanks,
Narayana

python setup.py install - failed with 'type x64 conflicts' on win10 x64

olo,
using latest pyswisseph (2.08.0 / 20200303), on
windows 10 (pro) x64, with
Python 3.8.1 (tags/v3.8.1:1b293b6, Dec 18 2019, 23:11:46) [MSC v.1916 64 bit (AMD64)] on win32,
i get installation error:

`


** Visual Studio 2019 Developer Command Prompt v16.4.5
** Copyright (c) 2019 Microsoft Corporation


...

(venv_pyswisseph) A:\venv_pyswisseph\pyswisseph-master_2.08>python setup.py install
Searching system libswe...
pkg-config not found
Using internal libswe
running install
running build
running build_ext
building 'swisseph' extension
creating build
creating build\temp.win32-3.8
creating build\temp.win32-3.8\Release
creating build\temp.win32-3.8\Release\libswe
creating build\temp.win32-3.8\Release\swephelp
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcpyswisseph.c /Fobuild\temp.win32-3.8\Release\pyswisseph.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
pyswisseph.c
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swecl.c /Fobuild\temp.win32-3.8\Release\libswe/swecl.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swecl.c
libswe/swecl.c(770): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(933): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(1049): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(1207): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swecl.c(1212): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swecl.c(1606): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swecl.c(1613): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(1643): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(2021): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(2075): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(2453): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(3198): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(3325): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(3401): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swecl.c(3634): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(4028): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swecl.c(3938): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(3947): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(4325): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(4593): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(5042): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(5703): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(6238): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swecl.c(6335): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swedate.c /Fobuild\temp.win32-3.8\Release\libswe/swedate.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swedate.c
libswe/swedate.c(389): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swedate.c(397): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swedate.c(452): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swehel.c /Fobuild\temp.win32-3.8\Release\libswe/swehel.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swehel.c
libswe/swehel.c(307): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(369): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(386): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(387): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(400): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(427): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(432): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(458): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(902): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(909): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(1471): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(1483): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(1696): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(1875): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(2127): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2132): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2135): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2201): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2438): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2445): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2370): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(2457): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2468): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(2471): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(2636): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(2657): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(2915): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3096): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3099): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3150): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3152): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3154): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3155): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3148): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3245): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3260): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3263): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3328): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3418): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3440): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3451): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3474): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3510): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3517): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehel.c(3399): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3428): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3454): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3477): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehel.c(3513): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swehouse.c /Fobuild\temp.win32-3.8\Release\libswe/swehouse.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swehouse.c
libswe/swehouse.c(956): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(964): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(1294): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(1455): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(843): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehouse.c(2077): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(2082): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(2374): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swehouse.c(1829): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehouse.c(2402): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehouse.c(2435): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swehouse.c(2675): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swejpl.c /Fobuild\temp.win32-3.8\Release\libswe/swejpl.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swejpl.c
libswe/swejpl.c(225): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swejpl.c(227): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(319): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(376): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(390): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(751): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(753): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(772): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(785): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(798): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(804): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swejpl.c(930): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swejpl.c(933): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swejpl.c(934): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swemmoon.c /Fobuild\temp.win32-3.8\Release\libswe/swemmoon.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swemmoon.c
libswe/swemmoon.c(887): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemmoon.c(884): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemmoon.c(1511): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemmoon.c(1508): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemmoon.c(1584): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemmoon.c(1581): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swemplan.c /Fobuild\temp.win32-3.8\Release\libswe/swemplan.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swemplan.c
libswe/swemplan.c(305): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemplan.c(302): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(519): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemplan.c(732): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemplan.c(892): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swemplan.c(712): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(757): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(760): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(781): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(805): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(817): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(835): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(845): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(856): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(868): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(880): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swemplan.c(905): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swepcalc.c /Fobuild\temp.win32-3.8\Release\libswe/swepcalc.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swepcalc.c
libswe/swepcalc.c(126): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swepcalc.c(132): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swepcalc.c(201): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swepcalc.c(367): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swepcalc.c(448): warning C4244: '=': conversion from 'double' to 'centisec', possible loss of data
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/sweph.c /Fobuild\temp.win32-3.8\Release\libswe/sweph.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
sweph.c
libswe/sweph.c(238): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(383): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(613): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(661): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(667): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(694): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(755): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1065): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1083): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1090): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1092): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1137): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(972): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(996): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(1045): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(1051): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(1147): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(1195): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1196): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1338): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1340): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1342): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1344): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1357): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1358): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1335): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdlib.h(1183): note: see declaration of 'getenv'
libswe/sweph.c(1507): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1585): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1591): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1608): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1614): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1631): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1648): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1710): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1729): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(1904): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2189): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2197): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2245): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2209): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(2239): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(2242): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(2353): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2357): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2363): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2366): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2372): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2380): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2369): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(2373): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(205): note: see declaration of 'fopen'
libswe/sweph.c(2377): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(2935): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2940): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2949): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2956): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2963): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2970): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2977): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2985): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(2993): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(3001): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(3013): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(3020): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(3027): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(4278): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(4280): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(4413): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(4453): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(4427): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(4450): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/sweph.c(4459): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/sweph.c(4571): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/sweph.c(4576): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/sweph.c(4709): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(4747): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(4758): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(4749): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(4760): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(5111): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5118): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5154): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5957): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5960): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5963): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5966): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(5989): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/sweph.c(6001): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6015): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6051): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6072): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6076): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6077): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6059): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6062): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6074): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6184): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6191): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6211): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6207): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6256): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6284): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6539): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6553): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6524): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6536): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6549): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6570): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6585): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6586): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6590): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6591): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6595): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6596): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6600): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6601): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6605): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6606): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6612): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6613): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6617): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6618): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6622): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6623): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6627): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6628): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6697): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6772): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6774): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6796): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6801): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6804): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6807): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6810): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6813): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6816): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6819): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6822): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6825): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6828): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6831): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6834): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6837): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6840): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6843): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6846): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6849): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6853): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6857): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6861): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6865): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6869): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6873): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6885): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6890): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6935): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6952): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(6892): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(6942): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(7122): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7225): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7279): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7281): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7283): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7287): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7289): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7290): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7285): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(7407): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7366): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(7400): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(7402): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/sweph.c(7461): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7750): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7766): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7767): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7840): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7857): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/sweph.c(7858): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tclibswe/swephlib.c /Fobuild\temp.win32-3.8\Release\libswe/swephlib.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swephlib.c
libswe/swephlib.c(2415): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3487): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3499): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3507): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3545): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3547): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3513): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(3549): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(3737): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3761): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3782): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(3795): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4052): warning C4996: 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(346): note: see declaration of 'strncpy'
libswe/swephlib.c(4101): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4105): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4111): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4114): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4117): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4120): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4123): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4126): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4129): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4132): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4135): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4138): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4152): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4155): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4158): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4161): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4164): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4182): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4185): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4188): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4191): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4196): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4198): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4200): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4202): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4204): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4206): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4208): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4210): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4222): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4225): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4228): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4240): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4243): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4246): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4249): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4298): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4300): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4302): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4304): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4329): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4334): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4342): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4350): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4358): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4366): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4367): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4368): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4369): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4370): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4371): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4372): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4373): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4374): warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4287): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4294): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4308): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4311): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4314): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4318): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4321): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4324): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4326): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4327): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4328): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4332): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4337): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4338): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4340): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4345): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4346): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4348): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4353): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4354): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4356): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4361): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4362): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4364): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4377): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4378): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4380): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
libswe/swephlib.c(4394): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4395): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4399): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
libswe/swephlib.c(4401): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhdatetime.c /Fobuild\temp.win32-3.8\Release\swephelp/swhdatetime.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhdatetime.c
swephelp/swhdatetime.c(43): warning C4996: 'gmtime': This function or variable may be unsafe. Consider using gmtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\time.h(495): note: see declaration of 'gmtime'
swephelp/swhdatetime.c(105): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhdatetime.c(109): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhdatetime.c(118): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhdatetime.c(128): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhdatetime.c(138): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhdatetime.c(148): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhdatetime.c(158): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhformat.c /Fobuild\temp.win32-3.8\Release\swephelp/swhformat.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhformat.c
swephelp/swhformat.c(58): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(59): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(60): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(61): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(62): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(63): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(64): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(65): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(66): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(67): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(68): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(69): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(83): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(84): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(85): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(86): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(87): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(88): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(89): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(90): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(91): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(92): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(93): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(94): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(95): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(96): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(97): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(98): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhformat.c(99): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhgeo.c /Fobuild\temp.win32-3.8\Release\swephelp/swhgeo.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhgeo.c
swephelp/swhgeo.c(54): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhgeo.c(58): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhgeo.c(68): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhgeo.c(95): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhgeo.c(105): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\string.h(453): note: see declaration of 'strtok'
swephelp/swhgeo.c(167): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
swephelp/swhgeo.c(169): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\stdio.h(1769): note: see declaration of 'sprintf'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhmisc.c /Fobuild\temp.win32-3.8\Release\swephelp/swhmisc.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhmisc.c
swephelp/swhmisc.c(42): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhmisc.c(48): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhmisc.c(54): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhmisc.c(60): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhraman.c /Fobuild\temp.win32-3.8\Release\swephelp/swhraman.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhraman.c
swephelp/swhraman.c(123): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(124): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(125): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(126): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(127): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(128): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(129): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(130): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(131): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(132): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(133): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(134): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(135): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(136): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(137): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(138): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(139): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(140): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(141): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(142): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(143): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(144): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(145): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(146): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(147): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(148): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhraman.c(149): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhsearch.c /Fobuild\temp.win32-3.8\Release\swephelp/swhsearch.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhsearch.c
swephelp/swhsearch.c(62): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(63): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(72): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(73): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(74): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(75): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(76): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(109): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(110): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(119): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(120): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(121): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(122): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(123): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(445): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
swephelp/swhsearch.c(608): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\chist\appdata\local\programs\python\python38\include -Ic:\users\chist\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\cppwinrt" /Tcswephelp/swhutil.c /Fobuild\temp.win32-3.8\Release\swephelp/swhutil.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
swhutil.c
creating A:\venv_pyswisseph\pyswisseph-master_2.08\build\lib.win32-3.8
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\chist\appdata\local\programs\python\python38\Libs /LIBPATH:A:\venv_pyswisseph\libs /LIBPATH:A:\venv_pyswisseph\PCbuild\win32 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\LIB" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86" /EXPORT:PyInit_swisseph build\temp.win32-3.8\Release\pyswisseph.obj build\temp.win32-3.8\Release\libswe/swecl.obj build\temp.win32-3.8\Release\libswe/swedate.obj build\temp.win32-3.8\Release\libswe/swehel.obj build\temp.win32-3.8\Release\libswe/swehouse.obj build\temp.win32-3.8\Release\libswe/swejpl.obj build\temp.win32-3.8\Release\libswe/swemmoon.obj build\temp.win32-3.8\Release\libswe/swemplan.obj build\temp.win32-3.8\Release\libswe/swepcalc.obj build\temp.win32-3.8\Release\libswe/sweph.obj build\temp.win32-3.8\Release\libswe/swephlib.obj build\temp.win32-3.8\Release\swephelp/swhdatetime.obj build\temp.win32-3.8\Release\swephelp/swhformat.obj build\temp.win32-3.8\Release\swephelp/swhgeo.obj build\temp.win32-3.8\Release\swephelp/swhmisc.obj build\temp.win32-3.8\Release\swephelp/swhraman.obj build\temp.win32-3.8\Release\swephelp/swhsearch.obj build\temp.win32-3.8\Release\swephelp/swhutil.obj /OUT:build\lib.win32-3.8\swisseph.cp38-win_amd64.pyd /IMPLIB:build\temp.win32-3.8\Release\swisseph.cp38-win_amd64.lib
python38.lib(python38.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe' failed with exit status 1112

(venv_pyswisseph) A:\venv_pyswisseph\pyswisseph-master_2.08>pip freeze

(venv_pyswisseph) A:\venv_pyswisseph\pyswisseph-master_2.08>
`

not sure if this is pyswisseph, or windows 10 x64, or perhaps even python 3.8.1 issue.
any suggestion is welcome.

godspeed,

simon
s love nia

i get stuck when using function swe._next_aspect2

Hi,
I have used function swe._next_aspect2 for getting time for occurred apsect between 2 planet, but sometime i get stuck when using this function like:

current_day = swe.julday(2021, 1, 21, 0)

planet = 2 #mecury
planet_position_birth = 228.09
aspect = 60  # if i use aspect = 60.0, function work well and everything run so fast.
output_aspect = swe._next_aspect2(planet, aspect, planet_position_birth, current_day))
aspect = 90 # this function get stuck, don't return and still runing so a long time and maybe like infinity  loop.
output_aspect = swe._next_aspect2(planet, aspect, planet_position_birth, current_day))

Can you check then tell me what's a problem and how to fix it ? thanks.

Error On Make HTML

Firstly thank you to make this library in Python.
When I buld a doc, I got: AttributeError: module 'swisseph' has no attribute 'solcross'

Strange error when calculating true node position

Hello,
I am trying to calculate the true node position and receive weird error. I used the same date to calculate the position and it worked with the exception of True Nodes.

JD UTC Date = 2446509.534513889
Python Code:
data = swe.calc_ut(jd_utc, swe.TRUE_NODE , flag = swe.FLG_SWIEPH | swe.FLG_TRUEPOS | swe.FLG_TOPOCTR | swe.FLG_SPEED | swe.FLG_SIDEREAL )

Error code: jd -0.001010 outside moshier planet range

Any suggestion, where am I messing things up?

Thanks
Abhinav

Sunset time calculation with swe.rise_trans broken

jd_sunset = swe.rise_trans(jd_start=2457753.5, body=swe.SUN, lon=13.09,
                             lat=80.27, rsmi=swe.CALC_SET | swe.BIT_DISC_CENTER)[1][0]

is returning 0 on my computer, which cannot possibly be the sunset time. And thereby leading to this problem: jyotisham/jyotisha#13 .

Could you please take a look?

PS: I installed the latest code with:

[~] 15:30:52$ sudo pip3 install git+https://github.com/astrorigin/pyswisseph@master -U
The directory '/home/vvasuki/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/vvasuki/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting git+https://github.com/astrorigin/pyswisseph@master
  Cloning https://github.com/astrorigin/pyswisseph (to master) to /tmp/pip-csolktm6-build
Installing collected packages: pyswisseph
  Found existing installation: pyswisseph 2.0.0.post2
    Uninstalling pyswisseph-2.0.0.post2:
      Successfully uninstalled pyswisseph-2.0.0.post2
  Running setup.py install for pyswisseph ... done
Successfully installed pyswisseph-2.5.1.post0

PySwisseph 2.8.0 swe constants

After switching from 2.05 to 2.8.0, I get the following error:
AttributeError: module 'swisseph' has no attribute 'RAHU'
But when I type swe. I Can see RAHU being there.
anyway I after setting this manually to swe.RAHU = 10, then I get similar constant errors for SURYA, KUJA all Indian Planet names.
I had to rename them as swe.SURYA = swe.SUN etc
Switching back to 2.05 my python script works fine (without having to rename the constants)

Wrong python stub for function calc_ut

The function calc_ut in swisseph.py shows the following documentation,

def calc_ut(jd, pl): # real signature unknown; restored from doc
"""
Calculate body positions (UT).

Args: float julday, int planet, int flag=FLG_SWIEPH+FLG_SPEED
Return: tuple of 6 float, and returned flags

Usage example:

	res, flg = swisseph.calc_ut(jd, pl)
"""
pass

Where as it also accepts a flag variable, the pycharm linter warns about unexpected argument, but passing the flag works, i checked the corresponding c code.
Here it sets the flag, and again parse the kargs for the &flag, and so int flag=FLG_SWIEPH+FLG_SPEED has no effect.

I think this function should continue having the flag cofigurable to programmer, and still have it in the python stub.

https://github.com/astrorigin/pyswisseph/blob/master/pyswisseph.c#L165

How can I determine or estimate when Aspect starts and ends

Hi folks,

I'm working on implementing a Transits chart and I need to list aspects for planets in a particular day.
I'm able to determine the aspect between two bodies with swe_calc_ut successfully but I cannot estimate how long that aspect will occur. So I need to represent the two dates where that aspect will stay, for example

Sun opposition Mars  ✔️
20 Oct - 01 Nov

I know there is the next_aspect_with method under the contrib module but it can only display the future dates of that same aspect.

@astrorigin

Windows installation BUG ?

Astrorigin,

While installing pyswisseph on windows + python27; encountered a BUG which caused the error.

Steps followed.

  1. Installed VC++ compiler for python 2.7 Link : http://aka.ms/vcpython27
  2. Then fired - pip install pyswisseph It ran into errors ! The referenced lines were from swephelp\swhgeo.c pointing to codeblock which is not meant for WIN32. That is -
    #ifndef WIN32
    char *saveptr;
    ptr = strtok_r(buf, ":", &saveptr);
    #else
    ptr = strtok(buf, ":");
  3. So applied quick and dirty patch in swephelp\swhgeo.c -
    #ifndef WIN32
    #define WIN32 1
    #endif /* Hey I am WIN32 */
  4. Then installed from source pip install
  5. It worked!!!

I am not expert, so could get to root cause.
If you can confirm and fix this BUG, it will save days for windows users :-)

Thanks

swisseph.Error: swisseph.houses_ex 2: within polar circle, switched to Porphyry

what is the error and how can it be fixed

    def get_house(self):
        house_systems = [b"B", b"Y", b"X", b"H", b"C", b"F", b"A", b"D",
                         b"N", b"G", b"I", b"i", b"K", b"U", b"M", b"P", b"T",
                         b"O", b"L", b"Q", b"R", b"S", b"V", b"W"]

        houses_info = []

        date = get_julian_datetime(year=self.year, month=self.month,
                                   day=self.day,
                                   hour=self.hours, minute=self.minute)

        coordinates = get_coordinates(self.place)
        latitude, longitude = extract_coordinates(coordinates)

        for house_system in house_systems:
            house_info = swe.houses_ex2(tjdut=date, lat=latitude,
                                        lon=longitude, hsys=house_system,
                                        flags=0)
            house_name = self.get_house_name(house=house_system)

            house_info_dict = {
                "system": house_system.decode(),
                "name": house_name,
                "info": house_info
            }

            houses_info.append(house_info_dict)

        return houses_info

Pyodide add package pyswisseph

WASM is actively developing, to calculate long-term transits, in order not to load the web server, it would be good to add the package to Puopide. Do you have such plans?

Possible star rise_transit bug

The following code:

#!/usr/bin/env python3

import math
import swisseph as swe

def julian2date(jd):

ret = swe.revjul(jd, swe.GREG_CAL)
h = int(math.floor(ret[3]))
m = int(math.floor(math.fmod(ret[3] * 60, 60)))
s = int(math.floor(math.fmod(ret[3] * 3600, 60)))
t = "%04d-%02d-%02d_%02d:%02d:%02d" % (ret[0], ret[1], ret[2], h, m, s)
return t

swe.set_ephe_path("/home/chris/swe")
year = 2020
month = 12
day = 20
hour = 0
jd_search = swe.julday(year, month, day, hour, swe.GREG_CAL)
ret = swe.rise_trans(jd_search, "Sirius", 0, 52, 100, 1024, 15,
swe.CALC_RISE | swe.BIT_DISC_CENTER)
print("Rise: ", julian2date(ret[1][0]))
ret = swe.rise_trans(jd_search, "Sirius", 0, 52, 100, 1024, 15,
swe.CALC_MTRANSIT | swe.BIT_DISC_CENTER)
print("Transit: ", julian2date(ret[1][0]))
ret = swe.rise_trans(jd_search, "Sirius", 0, 52, 100, 1024, 15,
swe.CALC_SET | swe.BIT_DISC_CENTER)
print("Set: ", julian2date(ret[1][0]))
ret = swe.rise_trans(jd_search, "Sirius", 0, 52, 100, 1024, 15,
swe.CALC_ITRANSIT | swe.BIT_DISC_CENTER)
print("I transit: ", julian2date(ret[1][0]))
swe.close()

Produces the folowing:

Rise: 2020-12-20_08:07:43
Transit: 2020-12-20_00:49:47
Set: 2020-12-20_15:47:51
I transit: 2020-12-20_12:47:49

My other ephemeris software gives the rise, transit, set, and itransit times for Sirius as follows:

Rise: 20:18
Transit: 00:50
Set: 05:19
I transit: 12:48

My code above, before the upgrade to the current release, gave the correct values. Has a bug been introduced in the current release, or has there been some parameter change that I am not aware of. If I use similar code to compute planetary RSTI's they give the correct values.

Thank you

Chris

Problem with SIDM_TRUE_CITRA ayanamsa

Whenever I use true Chitra Paksha, ayanamsa is calculated incorrectly.
My code is as follows:
swe.set_sid_mode(swe.SIDM_TRUE_CITRA,0,0)
ayan = swe.get_ayanamsa_ut(jd)
print("ayan ",ayan)
Output:
ayan 0.0

Please note that it is working fine for Lahiri ayanamsa.

calculate degree of ASC and MC not square?

hi,
tks for your great project, I try to calculate ASC and MC in birth day, but why ASC degree and MC degree not aspect square?
below is my code

birth_day = swe.julday(1994, 11, 22, 15)
MC_sign = swe.calc_ut(birth_day, swe.MC)[0][0]
ac_sign_birth = swe.calc_ut(birth_day, swe.ASC)[0][0]
output: 
ac_sign_birth:  240.0799931234063
mc sign_birth:  107.43119148529165

ac sign birth and mc sign birth not square as i know, they should diff 90 degree?. sorry if i wrong, tks you

SEFLG_SWIEPH and SEFLG_SPEED as default flags

I noticed that always SEFLG_SWIEPH and where appropriate SEFLG_SPEED is used as default flags. This alters the default behavior of the SwissEph in a way users may get confused because it isn't as the manual specifies the library should work.

Do you mind changing this behavior?

cannot install pyswisseph==2.00.00-2 in win10

In win10, i want install pyswisseph==2.00.00-2 because a package only support this version, but there are some errors:

pyswisseph.obj : warning LNK4197: export 'PyInit_swisseph' specified multiple times; using first specification
Creating library build\temp.win-amd64-3.7\Release\swisseph.cp37-win_amd64.lib and object build\temp.win-amd64-3.7\Release\swisseph.cp37-win_amd64.exp
swhgeo.obj : error LNK2001: unresolved external symbol strtok_r
build\lib.win-amd64-3.7\swisseph.cp37-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\link.exe' failed with exit status 1120

Function not working swe.set_ephe_path

print(swe.EPHE_PATH)
.:/users/ephe2/:/users/ephe/

swe.set_ephe_path('swiss/ephe')
print(swe.EPHE_PATH)
.:/users/ephe2/:/users/ephe/

swe.EPHE_PATH='swiss/ephe'
print(swe.EPHE_PATH)
swiss/ephe

tribute to authors?

aren't you supposed to list the authors name somewhere on the readme or something?

failed building wheel for pyswisseph in windows

Hi, when i run the command 'pip install pyswisseph' i get the following error. please help me with a solution.
C:\WINDOWS\system32>pip install pyswisseph
Collecting pyswisseph
Using cached https://files.pythonhosted.org/packages/09/27/10ad652fa0e07fc89890142a6f900725e26cf02a24d8fd724015e08707b5/pyswisseph-2.00.00-2.tar.bz2
Building wheels for collected packages: pyswisseph
Running setup.py bdist_wheel for pyswisseph ... error
Complete output from command c:\users\narayana\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Narayana\AppData\Local\Temp\pip-install-swqa6n0z\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d C:\Users\Narayana\AppData\Local\Temp\pip-wheel-mycn_b8b --python-tag cp37:
Searching system libswe...
pkg-config not found
Using internal libswe
c:\users\narayana\appdata\local\programs\python\python37\lib\site-packages\setuptools\dist.py:398: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running bdist_wheel
running build
running build_ext
building 'swisseph' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\libswe
creating build\temp.win-amd64-3.7\Release\swephelp
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\narayana\appdata\local\programs\python\python37\include -Ic:\users\narayana\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include" /Tcpyswisseph.c /Fobuild\temp.win-amd64-3.7\Release\pyswisseph.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
pyswisseph.c
c:\users\narayana\appdata\local\programs\python\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe' failed with exit status 2


Failed building wheel for pyswisseph
Running setup.py clean for pyswisseph
Failed to build pyswisseph
Installing collected packages: pyswisseph
Running setup.py install for pyswisseph ... error
Complete output from command c:\users\narayana\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Narayana\AppData\Local\Temp\pip-install-swqa6n0z\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Narayana\AppData\Local\Temp\pip-record-7pf8hpc5\install-record.txt --single-version-externally-managed --compile:
Searching system libswe...
pkg-config not found
Using internal libswe
c:\users\narayana\appdata\local\programs\python\python37\lib\site-packages\setuptools\dist.py:398: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running install
running build
running build_ext
building 'swisseph' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\libswe
creating build\temp.win-amd64-3.7\Release\swephelp
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\narayana\appdata\local\programs\python\python37\include -Ic:\users\narayana\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\include" /Tcpyswisseph.c /Fobuild\temp.win-amd64-3.7\Release\pyswisseph.obj -std=gnu99
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
pyswisseph.c
c:\users\narayana\appdata\local\programs\python\python37\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe' failed with exit status 2

----------------------------------------

Command "c:\users\narayana\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\Narayana\AppData\Local\Temp\pip-install-swqa6n0z\pyswisseph\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record C:\Users\Narayana\AppData\Local\Temp\pip-record-7pf8hpc5\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Narayana\AppData\Local\Temp\pip-install-swqa6n0z\pyswisseph\

C:\WINDOWS\system32>

transit planets issue

so I wrote a code that tracks Mercury, Mars, Venus and the "transit tracking" is excellent, however if I try to use the same code for the Moon or Sun is WAY OFF .. why ???????
is there a different way to calculate for the Sun, Earth, Moon and the nodes ?

Can not install on windows 10 with python 3.6

Hello,

this package can not be installed on windows 10 and py3.6 with windows build tools 2015 installed

Installing collected packages: pyswisseph
  Running setup.py install for pyswisseph: started
    Running setup.py install for pyswisseph: finished with status 'error'
    Complete output from command c:\users\vee\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Vee\\AppData\\Local\\Temp\\pip-build-7bjorgn0\\pyswisseph\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Vee\AppData\Local\Temp\pip-e5092ejv-record\install-record.txt --single-version-externally-managed --compile:
    Searching system libswe...
    pkg-config not found
    Using internal libswe
    c:\users\vee\appdata\local\programs\python\python36\lib\site-packages\setuptools\dist.py:331: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
      normalized_version,
    running install
    running build
    running build_ext
    building 'swisseph' extension
    creating build
    creating build\temp.win-amd64-3.6
    creating build\temp.win-amd64-3.6\Release
    creating build\temp.win-amd64-3.6\Release\libswe
    creating build\temp.win-amd64-3.6\Release\swephelp
    C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilibswe -Iswephelp -Ic:\users\vee\appdata\local\programs\python\python36\include -Ic:\users\vee\appdata\local\programs\python\python36\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\winrt" /Tcpyswisseph.c /Fobuild\temp.win-amd64-3.6\Release\pyswisseph.obj -std=gnu99
    cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
    pyswisseph.c
    c:\users\vee\appdata\local\programs\python\python36\include\pyconfig.h(222): fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
    error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\users\vee\appdata\local\programs\python\python36\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\Vee\\AppData\\Local\\Temp\\pip-build-7bjorgn0\\pyswisseph\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\Vee\AppData\Local\Temp\pip-e5092ejv-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\Vee\AppData\Local\Temp\pip-build-7bjorgn0\pyswisseph\

Any help would be appreciated...

The package astropy has been installed successfully so should not be a VS issue ...

Missing releases on PyPi

Hi, I've built a tool for a friend in the past, but now when I wanted to continue the development I noticed that I cannot install the specific version from PyPi, because only the latest release is available and even that release has breaking changes. Could you please keep the version history on PyPi? Thanks.

Eventual failure to access Chiron data

I have a test application that needs to compute the positions of planets (and dwarf planets), the moon, and Chiron over many different dates, which it does rapidly in succession from a series of server API calls.

They're all working except my sole asteroid, Chiron - and Chiron works for a while, but then fails. So maybe the first thousand iterated calls work fine, but then I start getting the error "SwissEph file 'seas_18.se1' not found in PATH". It's right there in the path, along with sepl_18.se1 and semo_18.se1. I'm using a "Singleton" class to make sure we access it through only a single thread. The failure is in the call to calc_ut, with various julian days from the 20th century, and the point ID set to 15 (chiron).

Any thoughts on what could (at some point during processing) make this file inaccessible? The issue persists after leaving the server alone for a bit - a subsequent call 4 minutes later also fails. Stopping and restarting the server resolves it. The calls are coming in from the test program at a rate of about 10 per second.

Is there maybe a way to load the ".se1" files into server memory, so it doesn't need to keep accessing them on the drive? Looks like it's only about 4 megs for all the data I could want. (13th through 24th centuries.)

Installation Error, Manjaro, Anaconda3, python3.7

here is the output of
pip install pyswisseph

Collecting

pyswisseph
Using cached https://files.pythonhosted.org/packages/09/27/10ad652fa0e07fc89890142a6f900725e26cf02a24d8fd724015e08707b5/pyswisseph-2.00.00-2.tar.bz2
Building wheels for collected packages: pyswisseph
Building wheel for pyswisseph (setup.py): started
Building wheel for pyswisseph (setup.py): finished with status 'error'
Complete output from command /home/arunkhattri/anaconda3/envs/pyenvAstro/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-w4laqnls/pyswisseph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/pip-wheel-nw05p8ne --python-tag cp37:
Searching system libswe...
Found pkg-config
Using internal libswe
/home/arunkhattri/anaconda3/envs/pyenvAstro/lib/python3.7/site-packages/setuptools/dist.py:475: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running bdist_wheel
running build
running build_ext
building 'swisseph' extension
creating build
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/libswe
creating build/temp.linux-x86_64-3.7/swephelp
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c pyswisseph.c -o build/temp.linux-x86_64-3.7/pyswisseph.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swecl.c -o build/temp.linux-x86_64-3.7/libswe/swecl.o -std=gnu99
In file included from libswe/swecl.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swedate.c -o build/temp.linux-x86_64-3.7/libswe/swedate.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swehel.c -o build/temp.linux-x86_64-3.7/libswe/swehel.o -std=gnu99
In file included from libswe/swehel.c:70:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/swehel.c: In function ‘calc_rise_and_set’:
libswe/swehel.c:457:1: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
libswe/swehel.c:463:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
iflag = SEFLG_SPEED|SEFLG_EQUATORIAL;
^~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swehouse.c -o build/temp.linux-x86_64-3.7/libswe/swehouse.o -std=gnu99
In file included from libswe/swehouse.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swejpl.c -o build/temp.linux-x86_64-3.7/libswe/swejpl.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swemmoon.c -o build/temp.linux-x86_64-3.7/libswe/swemmoon.o -std=gnu99
In file included from libswe/swemmoon.c:184:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swemplan.c -o build/temp.linux-x86_64-3.7/libswe/swemplan.o -std=gnu99
In file included from libswe/swemplan.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swepcalc.c -o build/temp.linux-x86_64-3.7/libswe/swepcalc.o -std=gnu99
In file included from libswe/swepcalc.c:76:
libswe/swepcalc.h:135:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void placalc_close_files();
^~~~~~
libswe/swepcalc.h:137:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern char *placalc_get_errtext();
^~~~~~
libswe/swepcalc.c:512:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void placalc_close_files()
^~~~~~~~~~~~~~~~~~~
libswe/swepcalc.c:517:7: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
char *placalc_get_errtext()
^~~~~~~~~~~~~~~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/sweph.c -o build/temp.linux-x86_64-3.7/libswe/sweph.o -std=gnu99
In file included from libswe/sweph.c:69:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/sweph.c: In function ‘load_dpsi_deps’:
libswe/sweph.c:1147:14: warning: variable ‘np’ set but not used [-Wunused-but-set-variable]
int n = 0, np, iyear, mjd = 0, mjdsv = 0;
^~
libswe/sweph.c: At top level:
libswe/sweph.c:6335:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void swi_force_app_pos_etc()
^~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swe_fixstar_mag’:
libswe/sweph.c:5936:5: warning: ‘strncpy’ output may be truncated copying 256 bytes from a string of length 275 [-Wstringop-truncation]
strncpy(fstar, s, SE_MAX_STNAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swe_fixstar’:
libswe/sweph.c:5522:5: warning: ‘strncpy’ output may be truncated copying 256 bytes from a string of length 275 [-Wstringop-truncation]
strncpy(fstar, s, SE_MAX_STNAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘app_pos_etc_sun’:
libswe/sweph.c:3313:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swi_bias(xx, t, iflag, FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swecalc’:
libswe/sweph.c:3488:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swi_bias(xx, t, iflag, FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c:3355:10: note: ‘t’ was declared here
double t;
^
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swephlib.c -o build/temp.linux-x86_64-3.7/libswe/swephlib.o -std=gnu99
In file included from libswe/swephlib.c:80:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/swephlib.c: In function ‘precess_3’:
libswe/swephlib.c:1028:10: warning: variable ‘T’ set but not used [-Wunused-but-set-variable]
double T;
^
libswe/swephlib.c: In function ‘sidtime_long_term’:
libswe/swephlib.c:2509:29: warning: variable ‘t6’ set but not used [-Wunused-but-set-variable]
double t, t2, t3, t4, t5, t6;
^~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhdatetime.c -o build/temp.linux-x86_64-3.7/swephelp/swhdatetime.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhformat.c -o build/temp.linux-x86_64-3.7/swephelp/swhformat.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhgeo.c -o build/temp.linux-x86_64-3.7/swephelp/swhgeo.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhmisc.c -o build/temp.linux-x86_64-3.7/swephelp/swhmisc.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhraman.c -o build/temp.linux-x86_64-3.7/swephelp/swhraman.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhsearch.c -o build/temp.linux-x86_64-3.7/swephelp/swhsearch.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhutil.c -o build/temp.linux-x86_64-3.7/swephelp/swhutil.o -std=gnu99
creating build/lib.linux-x86_64-3.7
gcc -pthread -shared -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -L/home/arunkhattri/anaconda3/envs/pyenvAstro/lib -Wl,-rpath=/home/arunkhattri/anaconda3/envs/pyenvAstro/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/pyswisseph.o build/temp.linux-x86_64-3.7/libswe/swecl.o build/temp.linux-x86_64-3.7/libswe/swedate.o build/temp.linux-x86_64-3.7/libswe/swehel.o build/temp.linux-x86_64-3.7/libswe/swehouse.o build/temp.linux-x86_64-3.7/libswe/swejpl.o build/temp.linux-x86_64-3.7/libswe/swemmoon.o build/temp.linux-x86_64-3.7/libswe/swemplan.o build/temp.linux-x86_64-3.7/libswe/swepcalc.o build/temp.linux-x86_64-3.7/libswe/sweph.o build/temp.linux-x86_64-3.7/libswe/swephlib.o build/temp.linux-x86_64-3.7/swephelp/swhdatetime.o build/temp.linux-x86_64-3.7/swephelp/swhformat.o build/temp.linux-x86_64-3.7/swephelp/swhgeo.o build/temp.linux-x86_64-3.7/swephelp/swhmisc.o build/temp.linux-x86_64-3.7/swephelp/swhraman.o build/temp.linux-x86_64-3.7/swephelp/swhsearch.o build/temp.linux-x86_64-3.7/swephelp/swhutil.o -o build/lib.linux-x86_64-3.7/swisseph.cpython-37m-x86_64-linux-gnu.so
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
build/temp.linux-x86_64-3.7/pyswisseph.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1


Running setup.py clean for pyswisseph
Failed to build pyswisseph
Installing collected packages: pyswisseph
Running setup.py install for pyswisseph: started
Running setup.py install for pyswisseph: finished with status 'error'
Complete output from command /home/arunkhattri/anaconda3/envs/pyenvAstro/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-w4laqnls/pyswisseph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-baowyfjd/install-record.txt --single-version-externally-managed --compile:
Searching system libswe...
Found pkg-config
Using internal libswe
/home/arunkhattri/anaconda3/envs/pyenvAstro/lib/python3.7/site-packages/setuptools/dist.py:475: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
normalized_version,
running install
running build
running build_ext
building 'swisseph' extension
creating build
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/libswe
creating build/temp.linux-x86_64-3.7/swephelp
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c pyswisseph.c -o build/temp.linux-x86_64-3.7/pyswisseph.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swecl.c -o build/temp.linux-x86_64-3.7/libswe/swecl.o -std=gnu99
In file included from libswe/swecl.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swedate.c -o build/temp.linux-x86_64-3.7/libswe/swedate.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swehel.c -o build/temp.linux-x86_64-3.7/libswe/swehel.o -std=gnu99
In file included from libswe/swehel.c:70:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/swehel.c: In function ‘calc_rise_and_set’:
libswe/swehel.c:457:1: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
libswe/swehel.c:463:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
iflag = SEFLG_SPEED|SEFLG_EQUATORIAL;
^~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swehouse.c -o build/temp.linux-x86_64-3.7/libswe/swehouse.o -std=gnu99
In file included from libswe/swehouse.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swejpl.c -o build/temp.linux-x86_64-3.7/libswe/swejpl.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swemmoon.c -o build/temp.linux-x86_64-3.7/libswe/swemmoon.o -std=gnu99
In file included from libswe/swemmoon.c:184:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swemplan.c -o build/temp.linux-x86_64-3.7/libswe/swemplan.o -std=gnu99
In file included from libswe/swemplan.c:65:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swepcalc.c -o build/temp.linux-x86_64-3.7/libswe/swepcalc.o -std=gnu99
In file included from libswe/swepcalc.c:76:
libswe/swepcalc.h:135:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void placalc_close_files();
^~~~~~
libswe/swepcalc.h:137:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern char *placalc_get_errtext();
^~~~~~
libswe/swepcalc.c:512:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void placalc_close_files()
^~~~~~~~~~~~~~~~~~~
libswe/swepcalc.c:517:7: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
char *placalc_get_errtext()
^~~~~~~~~~~~~~~~~~~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/sweph.c -o build/temp.linux-x86_64-3.7/libswe/sweph.o -std=gnu99
In file included from libswe/sweph.c:69:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/sweph.c: In function ‘load_dpsi_deps’:
libswe/sweph.c:1147:14: warning: variable ‘np’ set but not used [-Wunused-but-set-variable]
int n = 0, np, iyear, mjd = 0, mjdsv = 0;
^~
libswe/sweph.c: At top level:
libswe/sweph.c:6335:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
void swi_force_app_pos_etc()
^~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swe_fixstar_mag’:
libswe/sweph.c:5936:5: warning: ‘strncpy’ output may be truncated copying 256 bytes from a string of length 275 [-Wstringop-truncation]
strncpy(fstar, s, SE_MAX_STNAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swe_fixstar’:
libswe/sweph.c:5522:5: warning: ‘strncpy’ output may be truncated copying 256 bytes from a string of length 275 [-Wstringop-truncation]
strncpy(fstar, s, SE_MAX_STNAME);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘app_pos_etc_sun’:
libswe/sweph.c:3313:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swi_bias(xx, t, iflag, FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c: In function ‘swecalc’:
libswe/sweph.c:3488:5: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
swi_bias(xx, t, iflag, FALSE);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libswe/sweph.c:3355:10: note: ‘t’ was declared here
double t;
^
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c libswe/swephlib.c -o build/temp.linux-x86_64-3.7/libswe/swephlib.o -std=gnu99
In file included from libswe/swephlib.c:80:
libswe/swephlib.h:194:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
extern void swi_force_app_pos_etc();
^~~~~~
libswe/swephlib.c: In function ‘precess_3’:
libswe/swephlib.c:1028:10: warning: variable ‘T’ set but not used [-Wunused-but-set-variable]
double T;
^
libswe/swephlib.c: In function ‘sidtime_long_term’:
libswe/swephlib.c:2509:29: warning: variable ‘t6’ set but not used [-Wunused-but-set-variable]
double t, t2, t3, t4, t5, t6;
^~
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhdatetime.c -o build/temp.linux-x86_64-3.7/swephelp/swhdatetime.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhformat.c -o build/temp.linux-x86_64-3.7/swephelp/swhformat.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhgeo.c -o build/temp.linux-x86_64-3.7/swephelp/swhgeo.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhmisc.c -o build/temp.linux-x86_64-3.7/swephelp/swhmisc.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhraman.c -o build/temp.linux-x86_64-3.7/swephelp/swhraman.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhsearch.c -o build/temp.linux-x86_64-3.7/swephelp/swhsearch.o -std=gnu99
gcc -pthread -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Ilibswe -Iswephelp -I/home/arunkhattri/anaconda3/envs/pyenvAstro/include/python3.7m -c swephelp/swhutil.c -o build/temp.linux-x86_64-3.7/swephelp/swhutil.o -std=gnu99
creating build/lib.linux-x86_64-3.7
gcc -pthread -shared -B /home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat -L/home/arunkhattri/anaconda3/envs/pyenvAstro/lib -Wl,-rpath=/home/arunkhattri/anaconda3/envs/pyenvAstro/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-3.7/pyswisseph.o build/temp.linux-x86_64-3.7/libswe/swecl.o build/temp.linux-x86_64-3.7/libswe/swedate.o build/temp.linux-x86_64-3.7/libswe/swehel.o build/temp.linux-x86_64-3.7/libswe/swehouse.o build/temp.linux-x86_64-3.7/libswe/swejpl.o build/temp.linux-x86_64-3.7/libswe/swemmoon.o build/temp.linux-x86_64-3.7/libswe/swemplan.o build/temp.linux-x86_64-3.7/libswe/swepcalc.o build/temp.linux-x86_64-3.7/libswe/sweph.o build/temp.linux-x86_64-3.7/libswe/swephlib.o build/temp.linux-x86_64-3.7/swephelp/swhdatetime.o build/temp.linux-x86_64-3.7/swephelp/swhformat.o build/temp.linux-x86_64-3.7/swephelp/swhgeo.o build/temp.linux-x86_64-3.7/swephelp/swhmisc.o build/temp.linux-x86_64-3.7/swephelp/swhraman.o build/temp.linux-x86_64-3.7/swephelp/swhsearch.o build/temp.linux-x86_64-3.7/swephelp/swhutil.o -o build/lib.linux-x86_64-3.7/swisseph.cpython-37m-x86_64-linux-gnu.so
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
/home/arunkhattri/anaconda3/envs/pyenvAstro/compiler_compat/ld: build/temp.linux-x86_64-3.7/pyswisseph.o: unable to initialize decompress status for section .debug_info
build/temp.linux-x86_64-3.7/pyswisseph.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/home/arunkhattri/anaconda3/envs/pyenvAstro/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-jz5w1x8_/pyswisseph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-vu2jyybo/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-jz5w1x8_/pyswisseph/

Can sombody help me with the installation !!!

Documentation offline

Hi! Thanks so much for your work on this project. I noticed that the documentation at https://astrorigin.com/pyswisseph has been down for a couple of weeks, which I had been using actively prior. Would it be possible to have this brought up? If not, would you be able to supply the documentation artefact as a .zip? I'd also be happy to donate some money if server costs are an issue.

Won’t build pyswisseph on MacOS 13.4

Using “pip install pyswisseph” produces a fatal “failed building wheel for pyswisseph” error:

In file included from libswe/swell.c:61:
In file included from libswe/swejpl.h:66:
linswe/sweodef.h:170:10: fatal error: ‘math.h’ file not found
#include <math.h>

The same error recurs in trying to pip install other libraries that depend on pyswisseph, like kerykeion

I am using pip 21.3.2 on Python 3.10.1 on MacOS 13.4 with the Xcode 14.3 tools installed.

easier installation on windows?

I have windows 7 64-bit
I installed anaconda, python 2.7 32-bit

I tried to install pyswisseph, as it's a default package for me,
but I bumped into errors, then i read about cmake road

I tried to find some already build version on binstar.org, nothing

I'm no expert, and when I read the info, about going into cmake, mingw visual studio, \ or \,
i'm confused at least, minimal info.

Wouldn't it be better to have a build for windows? on binstar.org also?

Multiprocessing

The module does not work with multiprocessing. After a certain number of loop, it fails with the following error :

ERROR: MaybeEncodingError: 'TypeError("'NoneType' object is not callable",)' [multiprocessing.pool]
"../multiprocessing/pool.py", line 554, in get
    raise self._value

With a regular map instead of a map on a Pool object, it works. Seems that swissephem library have problems with multithreading (reentrance), but I was unable to investigate further. I suppose the error comes from multiple process trying to open at the same time the .se1 files.

How to change different position

For different position(like in London or in NewYork) it should get different result when using "calc_ut()", so anyone knows how to change the specific position? I don't see any parameters in the function to change position.

Speed of House Cusps

Hello, first I would like to thank you for the usefulness of this package so far, I've very grateful.

I recently noticed that there is no equivalent to the swe_houses_ex2() function within the Swiss ephemeris itself. This function is super useful in that it calculates the speed of the house cusps, which I currently need for what I'm making.

The original function can be found in the API docs under the section:
15.4. swe_houses_ex() and swe_houses_ex2()

I was wondering if there is any way this function can be added to this library? Since swe_houses_ex() already exists as houses_ex(), I was hoping it wouldn't be a huge lift to also include.

Thank you

Just want to say - Thank you guys, for your efforts in creating and maintaining this library.

Switch to tox

Switch to tox testing system as setuptools test command is deprecated.

installation error: Microsoft Visual C++ 14.0 is required.

Running windows 10, python 3.7.2. I followed the link and downloaded and installed the latest build tools. Rebooted. Still getting the same error.

traceback:

C:\WINDOWS\system32>pip install pyswisseph
Collecting pyswisseph
  Using cached https://files.pythonhosted.org/packages/09/27/10ad652fa0e07fc89890142a6f900725e26cf02a24d8fd724015e08707b5/pyswisseph-2.00.00-2.tar.bz2
Installing collected packages: pyswisseph
  Running setup.py install for pyswisseph ... error
    Complete output from command c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\saman\\AppData\\Local\\Temp\\pip-install-f165ldiy\\pyswisseph\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\saman\AppData\Local\Temp\pip-record-3h0z22gp\install-record.txt --single-version-externally-managed --compile:
    Searching system libswe...
    pkg-config not found
    Using internal libswe
    c:\python37\lib\site-packages\setuptools\dist.py:475: UserWarning: Normalizing '2.00.00-2' to '2.0.0.post2'
      normalized_version,
    running install
    running build
    running build_ext
    building 'swisseph' extension
    error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

    ----------------------------------------
Command "c:\python37\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\saman\\AppData\\Local\\Temp\\pip-install-f165ldiy\\pyswisseph\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\saman\AppData\Local\Temp\pip-record-3h0z22gp\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\saman\AppData\Local\Temp\pip-install-f165ldiy\pyswisseph\

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.