WebSep 4, 2024 · まず command not found が出た時は、コマンドの実行ファイルがどこにあるか確認します。 rbenvを例にします。 $ which -a rbenv すると以下のように表示されました。 rbenv () { local command command="$1" if [ "$#" -gt 0 ] then shift fi case "$command" in (rehash shell) eval "$ (rbenv "sh-$command" "$@")" ;; (*) command rbenv … WebApr 8, 2024 · -- SDL NOT FOUND: /usr/include/SDL : /usr/lib/x86_64-linux-gnu/libSDLmain.a/usr/lib/x86_64-linux-gnu/libSDL.so-lpthread As I checked, …
x11 - I cannot use SDL2 on centOS , maybe I install it failed. error:No available video device …
WebFeb 24, 2024 · Most Linux distros SDL development packages should include usable pkg-config tooling that will allow you to query include and library locations/names that you can pass to the compiler: g++ main.cpp `pkg-config --cflags --libs sdl2` (Or you can use $ () for subcommand capture instead of backticks) WebApr 28, 2015 · I get an error "fatal error: SDL2/SDL_image.h: No such file or directory" I went and looked where the SDL2 base library was located /usr/local/include/SDL2 and just as the error message said SDL_image.h was not there. I then tried to figure out where the library was using apt-file search SDL_image.h When I do this crib labor induction
pygame安装:未找到sdl-config命令 - IT宝库
WebJun 17, 2024 · SDL.h is [usually] under the SDL2 subdir (e.g. /usr/include/SDL2 for posix systems). So, you have to do either (1) #include or (2) add /SDL2 to the end of SDL2_INCLUDE_DIR I'm not too familiar with cmake but adding the package should be able to set the requisite directories without you having to hardwire them up manually … WebMost times SDL is in /usr/include/SDL. If so then your #include directive is wrong, it should be #include . An alternative for that is adding the /usr/include/SDL … WebJan 2, 2015 · The 'Project Settings' dialog will appear. In the "configuration Type" choose "Debug" or "Release", based on your requirements. You can also, do the following steps for both Debug and Release. Go to "Compiler" tab In "Additional Search Path", add the path where all the sdl include files are. For eg: C:\mysdl\include Go to "Linker" tab buddy\\u0027s blues