Giter Site home page Giter Site logo

gezira's People

Contributors

codefrau avatar damelang avatar jgonis avatar propella 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

gezira's Issues

Not compiling under Ubuntu 16.10 (HERE IS A FIX)

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

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.