You will not generally need (or want) to do this, but it can be useful if you see a possible bug in the latest stable release. Installation from PyPI also allows you to install the latest development release. If everything worked fine, you will see the version number for the Sphinx package you just installed. Here is a common directory structure when using cmake to find packages: ├── cmake │ ├── FindSDL2.cmake │ ├── FindSDL2_mixer.cmake │ └── FindSDL2_net.cmake ├── CMakeLists.txt └── src └── main. After installation, type sphinx-build -version on the command prompt. ![]() sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev libsdl2-ttf-dev libsdl2-gfx-dev Directory Structure ![]() I only know about the debian based ones, if you are on another distro you should look them up. ![]() You can also invoke this script manually with cmake-P. Most common distributions have cmake available on their package manager repostories: # Debian based sudo apt install cmake # Arch pacman -S cmake Install SDL2 libraries The install() command generates a file, cmakeinstall.cmake, inside the build directory, which is used internally by the generated install target and by CPack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |