IonicWind Software

IWBasic => General Questions => Topic started by: TexasPete on May 24, 2008, 06:05:07 AM

Title: Error Messages
Post by: TexasPete on May 24, 2008, 06:05:07 AM
I am trying to compile the sample menu example in the examples file. I have compiled it several time with no problem.  I am now getting a cryptic message saying the compiler linking error. I ran the same program with debug and the program came up with no errors.  What might be causing this and could a get a list of compiler error messages with discriptions, so that my debug time can be lessened.

Sincerely,
Texas Pete
Title: Re: Error Messages
Post by: GWS on May 24, 2008, 10:07:42 AM
There's nothing wrong with the code, so you should not get any error messages ..  :)

I've just tried it 4 times with no problem.  It may be your Windows process has got itself in a mess - best to close down and re-start.

If you navigate to wherever you saved the .exe file (I assume you specified Build - Single - Windows EXE) - possibly the example folder, you should find the .exe along with some other files.. .O .A .map  .obj.   Delete them all except the .eba file, and build it again.
That should sort Windows out ..  :)

The messages you get in the Output pane should be self explanatory ..

all the best, :)

Graham
Title: Re: Error Messages
Post by: Barney on May 24, 2008, 11:19:04 AM
I had that one popping up from time to time. If compile same .exe over and over again, it may happen that the generated .exe file is not released by EBasic thus creating a problem for the linker, which can't delete the old .exe in order to create a new one. The solution is simple, exit EBasic and restart it again. Everything should work properly.

Barney
Title: Re: Error Messages
Post by: LarryMc on May 24, 2008, 12:09:41 PM
You'll get an error if you leave the program running and try to recompile while it's still running. 

Happens to me on a regular basis when I'm debugging new code. ::)

Larry