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

when i try to do sudo make clean ragnar install or make clean ragnar install this happened and i did reinstall ragnar also im on arch #40

Closed nwernwame closed 3 months ago

nwernwame commented 3 months ago

❯ sudo make clean ragnar install rm -f ragnar ragnar.o cc -c -O3 -ffast-math -Wall -Wextra -lXft -lX11 -lXcursor -lXft -lfontconfig -lXcomposite -lXrandr -I/usr/include/freetype2 ragnar.c ragnar.c: In function ‘handle_button_press’: ragnar.c:650:26: error: expected ‘;’ before numeric constant 650 | for(uint32_t i = 0; i BAR_BUTTON_COUNT; i++) { | ^ | ; ragnar.c: In function ‘create_bar’: ragnar.c:1719:26: error: expected ‘;’ before ‘BABUTTON_COUNT’ 1719 | for(uint32_t i = 0; i BABUTTON_COUNT; i++) { | ^~~~~~~

Ragnar on  main via C v13.2.1-gcc ❯ sudo make clean ragnar install rm -f ragnar ragnar.o cc -c -O3 -ffast-math -Wall -Wextra -lXft -lX11 -lXcursor -lXft -lfontconfig -lXcomposite -lXrandr -I/usr/include/freetype2 ragnar.c ragnar.c: In function ‘handle_button_press’: ragnar.c:650:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 650 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘create_bar’: ragnar.c:1719:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 1719 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘hide_bar’: ragnar.c:1747:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 1747 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘unhide_bar’: ragnar.c:1757:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 1757 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘change_bar_monitor’: ragnar.c:1772:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 1772 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘raise_bar’: ragnar.c:2008:31: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 2008 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ ragnar.c: In function ‘draw_bar_buttons’: ragnar.c:2055:27: warning: comparison of unsigned expression in ‘< 0’ is always false [-Wtype-limits] 2055 | for(uint32_t i = 0; i < BAR_BUTTON_COUNT; i++) { | ^ cc -o ragnar ragnar.o -lXft -lX11 -lXcursor -lXft -lfontconfig -lXcomposite -lXrandr -I/usr/include/freetype2 cp -f ragnar /usr/bin cp -f ragnar.desktop /usr/share/applications cp -f ragnarstart /usr/bin chmod 755 /usr/bin/ragnar

*and i also cant summon the terminal etc i can do basic stuff like switch workspaces

nwernwame commented 3 months ago

i fixed the problem i made a little mistake with the commands because i thought it would work like dwm