Chinese standard kirin (Linux kernel)7.0 compiler installation SDL2.0
Compile environment and preparation
Kylin desktop operating system software V7.0SDL2 source code download address
compile
1. Unpack
tar xvf SDL2-2.0.12.tar.gz
2. Enter the folder SDL2-2.0.12
cd SDL2-2.0.12
3. Configure Confiure
./configure --prefix=$PWD/build
4. Compile and install
make && make install
5, complete
Configuring environment variables (same as window principle)
You can also directly copy the dynamic link library to /user/lib (similar to Win7: C:\ Windows \Sytstem32)export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:[absolute path of source code]/ sdl2-2.0.12 /build/lib
Qt call SDL2
Add SDL2 library in. Pro
INCLUDEPATH += $$PWD/SDL2/include/
DEPENDPATH += $$PWD/SDL2/include/
LIBS += -L$$PWD/SDL2/lib/ -lSDL2
Read More:
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- Homebrew installation strategy of M1 MAC based on ARM architecture
- How to Install MongoDB Community Edition Manually on mac and linux
- How to Fix creating process error during software installation
- Error in PostgreSQL installation of win10
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- How to Install FFmpeg on Linux
- Ubuntu14.04 installation error: no such partition
- Python installation of third-party libraries reported an error: “these packages do not match the hashes from the requirements file.”
- Automatic installation of NVIDIA 3090 video card driver
- [Solved] gocad2017 Install error: The installation of MSVC_2010_SP1_x64_32bit has failed.
- How to Solve Oracle 11g Install Stuck 86% error on Linux
- Clion installing glfw_Using clion to configure Vulkan development environment on MacOS
- [solution] install opencv3 with opencv4
- Solution to the problem of installing Tkinter module in MAC
- Mydumper Install Error: None of the required ‘glib-2.0’/’gthread-2.0’ found
- How to install PIL in Python 3
- Vue project installs Axios to implement HTTP request
- How To Install Java with Apt-Get on Ubuntu 16.04
- BUILD FAILED error when installing ruby 2.4.3