Giter Club home page Giter Club logo

chinese-lunar-calendar-ics's Introduction

现成的**农历ics文件

可以直接订阅 ics文件,我会进行不定时更新!

https://lwlsw.github.io/Chinese-Lunar-Calendar-ics/chinese_lunar_my.ics

五个版本:

2018-2025

2018-2030

2015-2030

2015-2050

2015-2100

基本上可以覆盖所有需求,请各取所需!

chinese_lunar_my.ics是我正在使用的,会不定时更新

cmy是我修改过的增加时间的自动生成程序。

C 版本

C版本速度更快,但暂时只在终端上输出ical。用户必须使用>将stdout的结果导入到指定文件以生成ical文件。

编译:

$ cd c
$ make

运行:

#生成某年农历
$ ./lunarcal 2016 > chinese_lunar_2016.ics

#生成数年农历
$ ./lunarcal 2016 2019 > chinese_lunar_2016_2019.ics

感谢 https://github.com/infinet/lunar-calendar 这个项目

感谢 infinet/lunar-calendar#11 (comment) 的替换方法

chinese-lunar-calendar-ics's People

Contributors

lwlsw 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

Watchers

 avatar  avatar  avatar

chinese-lunar-calendar-ics's Issues

Bug: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE

I'm using Ubuntu on WSL to make this but it failed.

c$ make
gcc -Wall -O2 -o lunarcal  astro.o vsop.o nutation.o julian.o lea406-full.o lunarcalbase.o lunarcal.o -lm -lpthread
/usr/bin/ld: astro.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: vsop.o: relocation R_X86_64_32 against `.data' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: nutation.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: julian.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: lea406-full.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: lunarcalbase.o: relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIE
collect2: error: ld returned 1 exit status
make: *** [Makefile:33: lunarcal] Error 1

What version of Linux did you use? Thank you.

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.