You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: