Ok guys. I know its been a while since I did any serious programming in FB but I am stumped and I need your help. Below is a download link to a project I am doing. I am converting some C code into a static FB library. The first project (FSUIPC_FB) is the actual library. Then there is a sub-project called (FSUIPC_Test). My problem is I cannot get the test project to link with the library. The linker keeps saying it cannot find the library libFSUIPC_FB. I have either lost my mind or I have forgotten something fundamental that has just got me perplexed.
If anyone could see why the test project is not finding the library I would greatly appreciate it. I am using FreeBASIC 1.05 and FBEdit 1.0.6.8 on Windows 10-64 bit.
Thanks
-Vince
Download Link
Linking Problem
Re: Linking Problem
Try removing the "lib" prefix from the #inclib; it will be added automatically, like the .a file extension.
Code: Select all
#Inclib "FSUIPC_FB"
Re: Linking Problem
You see. I must have been brain-dead.
Thanks dkl
Thanks dkl
Re: Linking Problem
[a bit off-topic]
the version you're using now, still has some *instability* issues.
You'd better upgrade to version: 1.0.7.6c, the latest version from KetilO.
You can get it from: freebasic-portal.de (the german language FB community).
[/a bit off-topic]
About FBEdit:vdecampo wrote:I am using FreeBASIC 1.05 and FBEdit 1.0.6.8 on Windows 10-64 bit.
the version you're using now, still has some *instability* issues.
You'd better upgrade to version: 1.0.7.6c, the latest version from KetilO.
You can get it from: freebasic-portal.de (the german language FB community).
[/a bit off-topic]
Re: Linking Problem
Thanks!MrSwiss wrote:[a bit off-topic]About FBEdit:vdecampo wrote:I am using FreeBASIC 1.05 and FBEdit 1.0.6.8 on Windows 10-64 bit.
the version you're using now, still has some *instability* issues.
You'd better upgrade to version: 1.0.7.6c, the latest version from KetilO.
You can get it from: freebasic-portal.de (the german language FB community).
[/a bit off-topic]