安装图形文件时可能出现 “The sdl-config script installed by SDL could not be found” 错误。解决方法是安装 SDL 库的开发包,如在 Ubuntu 上使用 “sudo apt-add-repository universe”“sudo apt-get update”“sudo apt-get install libsdl1.2-dev”,然后继续编译过程。 在ubuntu 安装 SDL 时可能报 x11 ...
*** The sdl-config script installed by SDL could not be found *** If SDL was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the SDL_CONFIG environment variable to the *** full path to sdl-config. configure: error: *** SDL version 1.2.0 not found! 这是...
问pygame安装:找不到sdl-config命令ENSDL(Simple DirectMedia Layer)是一套开放源代码的跨平台多媒体开...
当遇到“dependency 'sdl2' not found, tried pkgconfig and config-tool”这样的错误时,可以按照以下步骤进行排查和解决: 检查是否已经安装了sdl2库: 在不同的操作系统上,检查方法有所不同。例如,在Linux上,你可以使用包管理器(如apt、yum等)来检查是否已安装SDL2。 bash sudo apt-get install libsdl2-dev...
解压后进入目录执行 python config.py 提示 sh: sdl-config: not found sh: smpeg-config: not found SDL没有安装,执行 sudo apt-get install libsdl1.2-dev 我按装时遇到缺少依赖的库,就百度,然后下载deb包、安装。 其余源码和其他平台的安装包如rpm可以访问 http://www.libsdl.org/download-1.2.php 4....
fprintf(stderr,"Unsupported codec!\n");return-1;//Codec not found}//open codecif(avcodec_open2(pCodecCtx, pCodec, &optionsDict) <0) {return-1;//Could not open codec}//Allcocate an AVFrame structurepFrame =av_frame_alloc();//pFrameRGB = av_frame_alloc();#ifdef __DARWIN__ ...
mininet找不到所需的可执行文件ifconfig? ffmpy.FFExecutableNotFoundError:找不到可执行文件'ffmpeg‘? VSCode找不到存在的Julia可执行文件 Godot -游戏的“可执行文件”找不到资源 exec:"sqlboiler":在$PATH中找不到可执行文件 找不到与命令"nuget“匹配的可执行文件 ...
It seems like the version of sdl2 is the problem,SDL_RenderGeometrywas added on release2.0.18of sdl2, I got the same problem when installing the gem, sure enough runningsdl2-config --versionon my system returns 2.0.10. The problem was not solved even by manual SDL2 install from git:...
Found CMake: D:\programms\cmake\bin\cmake.EXE (3.27.4) Run-time dependency sdl2 found: NO (tried pkgconfig, config-tool and cmake) src\meson.build:14:11: ERROR: Dependency "sdl2" not found, tried pkgconfig, config-tool and cmake ...
(SDL2_FOUND) # 如果找到了 SDL2,使用其作为库 add_library(SDL2 ALIAS SDL2::SDL2) else() # 如果没有找到 SDL2,尝试使用 PkgConfig 查找 find_package(PkgConfig REQUIRED) pkg_check_modules(SDL2 sdl2 REQUIRED IMPORTED_TARGET) add_library(SDL2 ALIAS PkgConfig::SDL2) endif() endif() endif(...