ld: canot find lalleg -ld:canot find lcgui
-
- Posts: 28
- Joined: Feb 11, 2018 19:54
- Location: portugal lisbon
- Contact:
ld: canot find lalleg -ld:canot find lcgui
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.
Re: ld: canot find lalleg -ld:canot find lcgui
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).
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).
-
- Posts: 28
- Joined: Feb 11, 2018 19:54
- Location: portugal lisbon
- Contact:
Re: ld: canot find lalleg -ld:canot find lcgui
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
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;
}