[Solved] Under Linux what are the libraries to obtain graphics?

Linux specific questions.
Post Reply
ptitjoz
Posts: 32
Joined: Jun 24, 2017 8:10
Location: France, centre
Contact:

[Solved] Under Linux what are the libraries to obtain graphics?

Post by ptitjoz »

Hello
under dosbox with this program (see : https://www.freebasic.net/wiki/KeyPgCircle ) I get this graph:
Image
Under Linux what are the libraries to install to obtain graphics? because if I try to compile the program I have these returns:

Code: Select all

$ fbc  circle.bas 
ld : ne peut trouver -lX11
ld : ne peut trouver -lXext
ld : ne peut trouver -lXpm
ld : ne peut trouver -lXrandr
ld : ne peut trouver -lXrender
Thanks for your advice

Regards
Last edited by ptitjoz on Jun 18, 2023 20:11, edited 1 time in total.
fxm
Moderator
Posts: 12132
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: Under Linux what are the libraries to obtain graphics?

Post by fxm »

Is your FreeBASIC installation complete?

See Installing
ptitjoz
Posts: 32
Joined: Jun 24, 2017 8:10
Location: France, centre
Contact:

Re: Under Linux what are the libraries to obtain graphics?

Post by ptitjoz »

fxm wrote: Jun 18, 2023 19:45 Is your FreeBASIC installation complete?

See Installing
Hi
I followed this link viewtopic.php?t=32202
thanks for your advices. My installation was therefore not entirely complete.
I just installed these packages

Code: Select all

sudo apt install libx11-dev libxext-dev libxrender-dev libxrandr-dev libxpm-dev
and it works ! :D
Post Reply