ld: canot find lalleg -ld:canot find lcgui

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

ld: canot find lalleg -ld:canot find lcgui

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 25, 2018 14:54, edited 2 times in total.
MrSwiss
Posts: 2679
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: 28
Joined: Feb 11, 2018 19:54
Location: portugal lisbon
Contact:

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

Postby honey data » Feb 14, 2018 0:02

thanksthanks


thanks

afther searching over the internet im finding nothing,
im want to build a dll or a dylib in dos mode on gcc to use in freebasic


Code: Select all

int adds(int x, int y)
{
   return x+y;
}



Return to “Beginners”

Who is online

Users browsing this forum: No registered users and 1 guest