damelang / gezira Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Compile gezia demo under Ubuntu 16.10:
1)))) clone the repository for gezira and nile with a common root directory (e.g., I clone both directories in ~/Downloads/). This is needed as gezira includes nile files with “../../nile”.
2)))) install and use clang compiler (otherwise there might be problems with -fPIC related to linking dynamic and not dynamic / shared libraries):
export CC=clang
3)))) change Makefile (gezira/c/demos/Makefile.gcc) to use Xlib regarding the LDFlags:
change the line "LDFLAGS += -lXext -lm -pthread" to this:
"LDFLAGS += -lX11 -lXext -lm -pthread "
Otherwise I got the error: “/usr/bin/ld: /tmp/snow-demo-bec74b.o: undefined reference to symbol 'XNextEvent'”
4)))) add prototype for “nile_Identity” in file “c/demos/utils/window.h” and “c/gezira-image.c”
In both files add as first line after the #include and #ifdef statements the following line:
nile_Process_t * nile_Identity (nile_Process_t *p, int quantum);
5)))) optional, check that you have Xorg dev packages install (but this is probably not needed):
sudo apt-get install xorg-dev
6)))) compile the snowflake demo
cd gezira/c/demos/
make -f Makefile.gcc snow-demo && ./snow-demo
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.