代码::blocks无法从 sdl 库中找到SDL_FreeTexture命令
Code::blocks does not find the SDL_FreeTexture command from the sdl library
我正在尝试制作一个siple "PickStick"游戏来学习带有c ++的sdl2。一切正常,我可以创建窗口、加载纹理、创建渲染等......但是当我尝试使用该命令sdl_FreeTexture("the texture name here");
编译器/代码::blocks在库和输出中根本找不到它
错误:"SDL_FreeTexture"未在此范围内声明
请改用这个: SDL_DestroyTexture("the texture name here");
相关文章:
- 在VS代码中交叉编译Windows与Linux上的MinGW的SDL程序
- Mix_Init和Mix_OpenAudio SDL之间的区别是什么
- SDL 窗口不会弹出
- SDL 操纵杆按钮按下/C++
- VSCode IntelliSense无法识别SDL框架的SDL_image扩展库
- C++/SDL "initial value of reference to a non-const must be an lvalue"
- SDL 映像:无法打开映像,仅显示错误消息
- 如何在 3D OpenGL 场景上绘制 SDL 2D 矩形?
- "Undefined symbols for architecture x86_64" 在 SDL 2 (macOS) 中
- 为什么 SDL 在 Mac 上比 Linux 慢得多?
- 在 OSX 上打开 SDL 窗口时不要打开终端窗口
- SDL + OpenGL ES 2.0 使用着色器显示纹理
- SDL GPU 为什么将两个图像分成两个单独的循环更快?
- 在 cmake 中找不到 SDL 库
- SDL/C++: 如何平滑但随机地移动矩形?
- 如何与 SDL 库链接?
- 为什么我的C++代码不呈现 SDL 矩形?
- 为什么要在初始化SDL之前在SDL中声明指针
- C++/SDL 如何覆盖数组?
- 在 SDL 中水平减小静态图像进度条