IonicWind Software

IWBasic => General Questions => Topic started by: REDEBOLT on January 30, 2008, 09:41:43 PM

Title: $MAIN
Post by: REDEBOLT on January 30, 2008, 09:41:43 PM
When I compile this program as a project,

$MAIN
OPENCONSOLE
DO:UNTIL INKEY$<>""
CLOSECONSOLE
END


I get this error:
Compiling...
HIME.INC2

Linking...
Emergence Linker v1.11 Copyright ÂÃ,© 2006 Ionic Wind Software
Unresolved external _ib_main
Error: Unresolved extern _ib_main
Error(s) in linking HIME.exe


What did I do wrong?

Note:  If I compile as a non-project single file, it compiles ok.
Title: Re: $MAIN
Post by: LarryMc on January 30, 2008, 09:59:41 PM
I set up a project , added your source file, and it compiled just fine.

Larry
Title: Re: $MAIN
Post by: LarryMc on January 30, 2008, 10:07:31 PM
See:
http://www.ionicwind.com/forums/index.php/topic,2194.0.html

and

http://www.ionicwind.com/forums/index.php/topic,1180.0.html


Larry
Title: Re: $MAIN
Post by: REDEBOLT on January 30, 2008, 10:26:05 PM
Larry, thanks for the prompt reply.

I forgot to include the source into the project.

:-[ :'( Rookie error! :'(:-[