cococry / ragnar

Minimal, flexible & user-friendly X tiling window manager
https://ragnarwm.org
GNU General Public License v3.0
997 stars 22 forks source link

Makefile & run script #5

Closed paullotz closed 1 year ago

paullotz commented 1 year ago

Made some tweaks to the Makefile as I had this error:

cc -c -O3 -ffast-math -Wall -Wextra ragnar.c
In file included from ragnar.c:4:
/usr/include/X11/Xft/Xft.h:40:10: fatal error: ft2build.h: No such file or directory
   40 | #include <ft2build.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:22: ragnar.o] Error 1

when compiling with the command: sudo make ragnar

I have seen that you have already added some error resolving in the docs but it did not work out for me, and I figured out that me freetype files were already in the correct place and only the compiler flags were missing.

I also added a script for launching ragnar in Xephyr which makes development a lot easier IMO.

cococry commented 1 year ago

Hopefully this finally fixes the freetype problem.. thank you :)