sdl2-config是一个用于获取SDL2库的编译和链接选项的命令行工具。当系统无法找到sdl2-config命令时,会出现"找不到命令"的错误。 解决这个问题的方法是确保SDL2库已正确安装并配置了正确的环境变量。以下是一些可能的解决方案: 确认SDL2库已正确安装:请检查SDL2库是否已正确安装在您的系统上。您可以通过...
cpuid level :13wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni ...
问sdl2-config:找不到命令。致命错误:找不到文件EN版权声明:本文内容由互联网用户自发贡献,该文观点...
The baked-in paths are not fixed when runningmake install-package arch=i686-w64-mingw32 prefix=/tmp/mingw-prefix. This issue is already fixed in git at
to find dependency libraries like SDL. When using pkg-config as a substitute for sdl2-config, we will similarly need to use the host-architecture-prefixed pkg-config. Setting the PKG_CONFIG environment variable is also the canonical way to request that a different pkg-config implementation be ...
add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static) endif() endif() # For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables. set(SDL2_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") set(SDL2_EXEC_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@") set(SDL2_INCLUDE_DIR ...
"`pkg-config", "--cflags", "--libs", "sdl2","SDL2_mixer","glut", "glew","glfw3`", 命令行 /usr/bin/gcc -g -lm /home/wx/cGTK/sball-with-sound-demo.c -o /home/wx/cGTK/sball-with-sound-demo `pkg-config --libs --cflags opengl gstreamer-1.0 gtk+-3.0` `pkg-config -...
export PKG_CONFIG_PATH=/path/to/sdl2/pkgconfig:$PKG_CONFIG_PATH 重新编译你的项目: 在安装完 SDL2 开发包并设置好环境变量后,重新编译你的项目。 检查项目配置文件: 确保你的项目配置文件(如 Makefile 或 CMakeLists.txt)中正确引用了 SDL2。 通过以上步骤,你应该能够解决 "dependency 'sdl2' not fou...
sdl2-config.in sdl2-config.in1.77 KB 一键复制编辑原始数据按行查看历史 Anonymous Maarten提交于11个月前.sdl2-config.in: use backtics instead of $() for older shells 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 ...
#!/bin/sh # This is a replacement for SDL2's sdl2-config script. You only need this # if you are trying to build something that uses SDL2. If you have something # already built that you want to drop sdl2-compat into, just replace # the copy of SDL2 with a build of sdl2-com...