i am trying to make changes to the frontend, not dealing with cores or anything. Not sure this is the right place…
i cloned libretro/RetroArch repo, and simply built it without any changes. i do not get any input working. I confirmed the resulting binary did create a valid default conf file in my home .config dir with proper input settings. I banged on all keyboard keys and the only one that works is the one that toggles frame rate. nothing else.
execution with -v shows:
RetroArch [INFO] :: [udev] Adding device /dev/input/event17 as type ID_INPUT_KEYBOARD.
RetroArch [ERROR] :: [udev] Failed to open device: /dev/input/event17 (Permission denied).
...
RetroArch [WARN] :: [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
So, the error is kinda obvious. The question now, since a search for that failed showing that is not a common problem with users, is that requiring special dev access or running as root is not the way a proper build goes.
What am I doing wrong? Should I check a specific tag on git or master/HEAD is supposed to always be somewhat stable?
Build had nothing but a few format-truncation warnings.
Output of configure script:
Checking operating system ... Linux (Arch Linux rolling)
Checking for suitable working C compiler ... /usr/bin/gcc works
Checking for suitable working C++ compiler ... /usr/bin/g++ works
Checking for pkg-config ... /usr/bin/pkg-config
Checking for availability of switch -std=gnu99 in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-result in /usr/bin/gcc ... yes
Checking for availability of switch -Wno-unused-variable in /usr/bin/gcc ... yes
Checking function bcm_host_init in -lbcm_host ... no
Checking function sd_get_machine_names in -lsystemd ... yes
Checking presence of package egl ... 17.1.0
Checking function ass_library_init in -lass ... yes
Checking function pthread_create in -lpthread ... yes
Checking function pthread_key_create in -lpthread ... yes
Checking function dlopen in -ldl ... yes
Checking function socket in -lc ... yes
Checking function getaddrinfo in -lc ... yes
Checking existence of -lminiupnpc ... no
Checking function fcntl in -lc ... yes
Checking function getopt_long in -lc ... yes
Checking presence of package alsa ... 1.1.4
Checking presence of header file sys/soundcard.h ... yes
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking function alcOpenDevice in -lopenal ... yes
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar ... no
Checking presence of package jack >= 0.120.1 ... 0.125.0
Checking presence of package libpulse ... 10.0
Checking presence of package sdl >= 1.2.10 ... 1.2.15
Checking presence of package sdl2 >= 2.0.0 ... 2.0.5
Notice: SDL drivers will be replaced by SDL2 ones.
Checking presence of package libusb-1.0 >= 1.0.16 ... 1.0.21
Checking presence of header file GL/gl.h ... yes
Checking existence of -lGL ... yes
Checking function cgCreateContext in -lCg ... no
Checking presence of package zlib ... 1.2.11
Checking presence of package libavcodec >= 54 ... 57.89.100
Checking presence of package libavformat >= 54 ... 57.71.100
Checking presence of package libavdevice ... 57.6.100
Checking presence of package libswresample ... 2.7.100
Checking presence of package libavresample ... 3.5.0
Checking presence of package libavutil >= 51 ... 55.58.100
Checking presence of package libswscale >= 2.1 ... 4.6.100
Checking presence of header file libavutil/channel_layout.h ... yes
Checking function dlopen in -ldl ... yes
Checking presence of package gbm >= 9.0 ... 17.1.0
Checking presence of package libdrm ... 2.4.81
Checking presence of package libxml-2.0 ... 2.9.4
Checking presence of package vg ... no
Checking existence of -lOpenVG ... no
Checking presence of package libv4l2 ... 1.12.5
Checking function glFramebufferTexture2D in -lGL ... yes
Checking presence of package freetype2 ... 20.0.14
Checking presence of package x11 ... 1.6.5
Checking presence of package xcb ... 1.12
Checking presence of package wayland-egl ... 17.1.0
Checking presence of package wayland-cursor ... 1.13.0
Checking presence of package xkbcommon >= 0.3.2 ... 0.7.1
Checking presence of package dbus-1 ... 1.10.18
Checking presence of package xext ... 1.3.3
Checking presence of package xxf86vm ... 1.1.4
Checking presence of package xinerama ... 1.1.3
Checking presence of package xv ... 1.0.11
Checking presence of package libudev ... 232
Checking presence of header file linux/parport.h ... yes
Checking presence of header file linux/ppdev.h ... yes
Checking function strlcpy in -lc ... no
Checking function strcasestr in -lc ... yes
Checking function mmap in -lc ... yes
Checking function vkCreateInstance in -lvulkan ... no