IonicWind Software

IWBasic => General Questions => Topic started by: TexasPete on May 12, 2008, 12:58:52 PM

Title: compiling include library
Post by: TexasPete on May 12, 2008, 12:58:52 PM
Do I need to compile include libraries separately and then link or will ebasic automatically compile and link all files at once.

Sincerely,
Texas pete
Title: Re: compiling include library
Post by: LarryMc on May 12, 2008, 01:10:22 PM
Assuming you downloaded the files and put the .lib files in the EBasic /lib directory and the .inc files in the /include directory.
The .dll files have to go in the directory your application is in.

Then at the beginning of your application add:
$include "il.inc"
$include "ilu.inc"
$include "ilut.inc"

That's it.
Just compile your source file and that's it.

Larry
Title: Re: compiling include library
Post by: ts-soft on May 12, 2008, 02:04:06 PM
Quote from: TexasPete on May 12, 2008, 12:58:52 PM
Do I need to compile include libraries separately and then link or will ebasic automatically compile and link all files at once.

Sincerely,
Texas pete
If you use a project, ebasic compile all files at once
Title: Re: compiling include library
Post by: LarryMc on May 12, 2008, 02:41:25 PM
Quote from: ts-soft on May 12, 2008, 02:04:06 PM
If you use a project, ebasic compile all files at once

That is also true TexasPete; but since you're new to EBasic I didn't mention that because I didn't think you were to that point yet. ;)

Larry
Title: Re: compiling include library
Post by: TexasPete on May 12, 2008, 07:58:45 PM
Thanks  a lot larry, with concise answers like that I can move along a lot faster.
I know people try to write good manuals. But they often write them unknowningly from the
perspective of understanding. A new person to a lanquage does not have that advantage.
Thanks again.

Texas Pete