ld: canot find lalleg -ld:canot find lcgui [solved]

New to FreeBASIC? Post your questions here.
honey data
Posts: 11
Joined: Feb 11, 2018 19:54

ld: canot find lalleg -ld:canot find lcgui [solved]

Postby honey data » Feb 13, 2018 21:57

thanks, do im need to compile allegro using gcc , of the installation of freebasic freedos, there is a file \ examples \ gui \ cgui \ hello.bas, but I can not compile it, gives an error ld: - laleg and the error ld: -lcgui, but these Alegro libraries are in the directory inc, what is missing so you can compile the file, hello.bas thank, im using freedos
Last edited by honey data on Feb 17, 2018 10:14, edited 1 time in total.
MrSwiss
Posts: 2234
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: ld: canot find lalleg -ld:canot find lcgui

Postby MrSwiss » Feb 13, 2018 22:20

See FB-Documentation: Library Allegro
There is a link to the libraries homepage (to obtain the shared and/or static lib.).

They always need to be downloaded separately (only the headers, are part of FB).
honey data
Posts: 11
Joined: Feb 11, 2018 19:54

Re: ld: canot find lalleg -ld:canot find lcgui

Postby honey data » Feb 14, 2018 0:02

thanks

Return to “Beginners”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests