svagionitis / cross-platform-code Goto Github PK
View Code? Open in Web Editor NEWCross Platform Code
License: MIT License
Cross Platform Code
License: MIT License
Add support for cmake build. Could be used for Windows Visual Studio.
The following compile error can be seen when building in Cygwin
/tmp/ccCZYxPy.o: In function `fmt_httpdate':
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_httpdate.c:19: undefined reference to `byte_copy'
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_httpdate.c:19:(.text+0x49): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `byte_copy'
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_httpdate.c:23: undefined reference to `byte_copy'
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_httpdate.c:23:(.text+0xae): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `byte_copy'
/tmp/cc02u48b.o: In function `fmt_escapecharxml':
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_escapecharxml.c:22: undefined reference to `byte_copy'
/home/svagionitis/workspace/UsefulTools/cross-platform-code.git/src/lib/fmt/fmt_escapecharxml.c:22:(.text+0xb4): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `byte_copy'
collect2: error: ld returned 1 exit status
Makefile:208: recipe for target 'build/output/cygfmt.dll.0.0' failed
make: *** [build/output/cygfmt.dll.0.0] Error 1
The Makefile is getting big and it's hard to add new libraries there. It's better to split it and each library to have it's one Makefile.
When building in Darwin, get the following error
src/lib/fmt/fmt_escapecharxml.c:32:66: error: only weak aliases are supported on darwin
size_t fmt_escapecharhtml(char* dest,uint32_t ch) __attribute__((__alias__("fmt_escapecharxml")));
^
1 error generated.
make: *** [build/output/libfmt.dylib.0.0] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.