简体   繁体   中英

How do I set up SDL2 on VSCode on Linux (Ubuntu)

How do I set up SDL2 on VSCode Linux (Ubuntu)?

I can't find any tutorials on Linux SDL2 on VS Code

Visual Studio Code is just an editor, so install SDL2 the same way as usual in Ubuntu. To install everything necessary to build programs that use SDL in all currently supported versions of Ubuntu open the terminal and type:

sudo apt update
sudo apt install libsdl2-2.0 install libsdl2-dev

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM