Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

[CLOSED] Make fails with Error 2 #9

Closed Enerccio closed 7 years ago

Enerccio commented 7 years ago

Issue by kfarwell Thursday Nov 13, 2014 at 16:41 GMT Originally opened as https://github.com/Cloudef/wlc/issues/1


$ uname -a Linux itsuka 3.14.14-gentoo-gnu #5 SMP Wed Nov 5 21:39:53 EST 2014 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux

$ make [ 2%] Generating wayland-xdg-shell-protocol.c [ 5%] Generating wayland-xdg-shell-server-protocol.h Scanning dependencies of target wlc [ 8%] Building C object src/CMakeFiles/wlc.dir/compositor/buffer.c.o [ 11%] Building C object src/CMakeFiles/wlc.dir/compositor/callback.c.o [ 14%] Building C object src/CMakeFiles/wlc.dir/compositor/client.c.o [ 17%] Building C object src/CMakeFiles/wlc.dir/compositor/compositor.c.o [ 20%] Building C object src/CMakeFiles/wlc.dir/compositor/data.c.o [ 22%] Building C object src/CMakeFiles/wlc.dir/compositor/output.c.o /home/kotori/wlc/src/compositor/output.c: In function ‘wl_output_bind’: /home/kotori/wlc/src/compositor/output.c:79:19: error: ‘WL_OUTPUT_SCALE_SINCE_VERSION’ undeclared (first use in this function) /home/kotori/wlc/src/compositor/output.c:79:19: note: each undeclared identifier is reported only once for each function it appears in /home/kotori/wlc/src/compositor/output.c:96:19: error: ‘WL_OUTPUT_DONE_SINCE_VERSION’ undeclared (first use in this function) src/CMakeFiles/wlc.dir/build.make:182: recipe for target 'src/CMakeFiles/wlc.dir/compositor/output.c.o' failed make[2]: * [src/CMakeFiles/wlc.dir/compositor/output.c.o] Error 1 CMakeFiles/Makefile2:78: recipe for target 'src/CMakeFiles/wlc.dir/all' failed make[1]: * [src/CMakeFiles/wlc.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *\ [all] Error 2

Enerccio commented 7 years ago

Comment by Cloudef Thursday Nov 13, 2014 at 16:48 GMT


Do you build libwayland from git?

Enerccio commented 7 years ago

Comment by kfarwell Friday Nov 21, 2014 at 20:11 GMT


I did not previously, I was on 1.4.0. Building wayland from git fixed this issue.