-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is No Docs, No install guide... #427
Comments
|
but the software i want to compile, |
I didn't know about your particular situation. I don't think we're not going to put lots of effort in improving SDL2_ttf's documentation, so I'd suggest to combine SDL2_ttf's headers and https://wiki.libsdl.org/SDL2_ttf/CategoryAPI . I think there is some syncing done. If you still have problems, consider posting at https://discourse.libsdl.org/ |
Just worked fine for SDL3 project with add_dependency
|
I've solved it by installing FreeType library and adding these variables to the config commands, in my case:
I've used three commands to build and install: cmake -G "MinGW Makefiles" -S . -B dist -DCMAKE_INSTALL_PREFIX=E:/libs/sdl3_ttf-3.0.0-prefix/win -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE="E:/libs/sdl-3.1.6-prefix/win" -DFREETYPE_INCLUDE_DIR_freetype2=E:/libs/freetype-2-13-3-prefix/win/include -DFREETYPE_INCLUDE_DIR_ft2build=E:/libs/freetype-2-13-3-prefix/win/include/freetype2 -DFREETYPE_LIBRARY_DEBUG=E:/libs/freetype-2-13-3-prefix/win/lib/libfreetype.a -DFREETYPE_LIBRARY_RELEASE=E:/libs/freetype-2-13-3-prefix/win/lib/libfreetype.a -DBUILD_SHARED_LIBS=OFF
You should built |
https://github.com/libsdl-org/SDL_ttf/releases/tag/release-2.22.0
No Docs folder,
API call list html should be included in installers,
i know its in another repo
and having another repo makes sense from a web developer POV,
but from a student pov, makes more sense having the manual with the product.
No install guide... on wiki
https://wiki.libsdl.org/SDL2_ttf/FrontPage
Project Page https://www.libsdl.org/projects/SDL_ttf/
moved here...
cmake error:
make error:
SDL: /usr/include/SDL
/usr/include/SDL/SDL_main.h
/usr/include/SDL2/SDL_main.h
/usr/local/include/SDL2/SDL_main.h
creating a /build folder
inside or outside
does Not work like any other build.
crazy.
The text was updated successfully, but these errors were encountered: