-
g++ -o YourProgName YourSource.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17코딩Coding/make★gcc★&g++★clang★compiler 2022. 6. 11. 22:00728x90
Compiling in Linux ~~~~~~~~~~~~~~~~~~ You will need a modern C++ compiler, so update yours! To compile use the command: g++ -o YourProgName YourSource.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17 On some Linux configurations, the frame rate is locked to the refresh rate of the monitor. This engine tries to unlock it but may not be able to, in which case try launching your program like this:
~~~~~
YouTube: https://www.youtube.com/javidx9
https://www.youtube.com/javidx9extra
Discord: https://discord.gg/WhwHUMV
Twitter: https://www.twitter.com/javidx9
Twitch: https://www.twitch.tv/javidx9
GitHub: https://www.github.com/onelonecoder
Homepage: https://www.onelonecoder.com
Patreon: https://www.patreon.com/javidx9
Community: https://community.onelonecoder.com
Compiling in Linux
~~~~~~~~~~~~~~~~~~
You will need a modern C++ compiler, so update yours!
To compile use the command:
g++ -o YourProgName YourSource.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17
On some Linux configurations, the frame rate is locked to the refresh
rate of the monitor. This engine tries to unlock it but may not be
able to, in which case try launching your program like this:출처 : https://github.com/OneLoneCoder/olcPixelGameEngine/blob/master/olcPixelGameEngine.h
https://github.com/OneLoneCoder/olcPixelGameEngine
반응형'코딩Coding > make★gcc★&g++★clang★compiler' 카테고리의 다른 글
g++20 compiler 터미널 명령어 블로그 (0) 2022.09.10 gcc 에서 옵션 ggdb에 대해서 (0) 2022.09.08 Initial GCC Rust Front-End Compiler Patches Submitted For Review (0) 2022.07.29 zsh: permission denied: ./build.sh 권한올려줘서 실행가능하게 만들기 (0) 2022.06.29 Use compiler flags for stack protection in GCC and Clang (0) 2022.06.03 CMake Tutorials 도움 많이 되는 글 (0) 2022.06.01 c++)GCC or clang (0) 2022.04.27 makefile만들기 기초 (0) 2022.04.16