针对您提出的问题 "could not find sdl (missing: sdl_library sdl_include_dir)",这里是一个详细的解答步骤,按照您的提示进行组织: 1. 确认SDL库是否已经安装 首先,需要确认SDL(Simple DirectMedia Layer)库是否已经在您的系统上安装。您可以通过在命令行中输入相关的检查命令来验证(这取决于您的操作系统和安装...
Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR),sudoapt-getinstalllibsdl-dev或sudoapt-getinstalllibsdl1.2-dev
1 sudo apt-get install libsdl-dev<br>或sudo apt-get install libsdl1.2-dev 分类:ros anobscureretreat 粉丝-55关注 -1 +加关注 0 0 升级成为会员
When i make my space,i met this problem: Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/sh...
dir to your PATH, then launch it. It will compile a bunch of libs under project/libs/, create Android package file project/bin/MainActivity-debug.apk, and install it to your device or emulator, if you specify option -i or -r to build.sh. Then you can test it by launching Ballfield...
#include "cdlv.h" int main() { // Initialize SDL2, SDL2_image and SDL2_ttf. sdl_base* sdl = sdl_create("sample", 640, 480); cdlv_config config = { .text_font = "res/esteban.ttf", .text_size = 32, .text_xy = {50, 400}, .text_wrap = 1200, .text_color = {255, ...
path/to/my/app project/jni/application/myapp then rm project/jni/application/src ln -s myapp project/jni/application/src (the second one should be relative link without slashes) Also your main() function name should be redefined to SDL_main(), include SDL.h so it will be done ...
$ export CC=clang $ export CXX=clang++ $ cmake srcdir If clang/clang++ is not in your $PATH, then you will need to specify its full path in the CC/CXX export commands. Manual Command Line Method The crypto project is hosted on GitHub at the following URL: https://github.com/sdl...
Surround INSTALL_PREFIX=dirpath with double quotes if it contains blanks.Automated Command Line MethodTo make things REALLY SIMPLE on both Windows and Linux you can instead use the provided build script (build.cmd on Windows, just build on Linux) which performs the complete build for you by ...
$ cmake -D INSTALL_PREFIX=dirpath srcdir SurroundINSTALL_PREFIX=dirpathwith double quotes if it contains blanks. To make thingsREALLY SIMPLEon both Windows and Linux you can instead use the providedbuildscript (build.cmdon Windows, justbuildon Linux) which performs the complete build for you ...