코딩Coding/make★gcc★&g++★clang★compiler

g++ -o YourProgName YourSource.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17

내인생PLUS 2022. 6. 11. 22:00
728x90
	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

 

GitHub - OneLoneCoder/olcPixelGameEngine: The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube vide

The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects - GitHub - OneLoneCoder/olcPixelGameEngine: The official distribution of olcPixelGameEngine...

github.com

 

 

 

 

 

https://github.com/OneLoneCoder/olcPixelGameEngine

 

GitHub - OneLoneCoder/olcPixelGameEngine: The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube vide

The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects - GitHub - OneLoneCoder/olcPixelGameEngine: The official distribution of olcPixelGameEngine...

github.com

 

 

 

 

 

 

 

 

 

 


 

반응형