ld: canot find lalleg -ld:canot find lcgui

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

ld: canot find lalleg -ld:canot find lcgui

Post by honey data »

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: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

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

Post by MrSwiss »

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

Post by honey data »

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;
}


Post Reply