how to install C library in cxxdroid or in termux ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

how to install C library in cxxdroid or in termux ?

I am trying to install <graphics.h> file in my cxxdroid compiler but I donno how to do that. I tried this with termux :https://www.geeksforgeeks.org/add-graphics-h-c-library-gcc-compiler-linux/ but saying permission denied! I think it's need root to install dependencies.. please guide me how can I use <graphics.h> file in my android (arch64).

22nd Jan 2021, 4:50 PM
Ratnapal Shende
Ratnapal Shende - avatar
1 Answer
+ 3
lol... I just drew a circle by <graphics.h> in Termux ... how ? simple ... i native compiled it ... here .. run the following script ... it should work .. if it doesn't contact me ... ``` pkg i curl -y; curl -LO https://raw.githubusercontent.com/AbdullahBinJahed/Termux-Faint-Hope/main/myScripts/build-libgraph.sh; bash build-libgraph.sh ```
4th Oct 2021, 7:55 PM
Sakura Adachi
Sakura Adachi - avatar