检查编译器选项:如果您在编译时遇到了"找不到文件"的错误,可能是由于编译器选项不正确导致的。请确保您在编译命令中正确使用了sdl2-config命令,并将其输出作为编译器选项。例如,在使用gcc编译时,可以使用以下命令: 这将使用sdl2-config命令获取SDL2库的编译和链接选项,并将其传递给gcc编译器。 总结: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 ...
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
问sdl2-config:找不到命令。致命错误:找不到文件EN版权声明:本文内容由互联网用户自发贡献,该文观点...
#!/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...
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 ...
sdl2-config.in sdl2-config.in1.77 KB 一键复制编辑原始数据按行查看历史 Anonymous Maarten提交于10个月前.sdl2-config.in: use backtics instead of $() for older shells 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 ...
当遇到“dependency 'sdl2' not found, tried pkgconfig and config-tool”这样的错误时,可以按照以下步骤进行排查和解决: 检查是否已经安装了sdl2库: 在不同的操作系统上,检查方法有所不同。例如,在Linux上,你可以使用包管理器(如apt、yum等)来检查是否已安装SDL2。 bash sudo apt-get install libsdl2-dev...
编译WINDOWS版SDL2:You should run hg revert SDL_config.h,在VS中编译,发现这个错误,实在是莫名其妙。怎么办?先把这个文件删除了,再编译,结果说找不到。这怎么回事?吾把整个目录删除了,重新下载、解压,再打开SDL.sln,编译,成功。...
"`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 -...