Have been working with some example programs found on this forum and, when compiling/linking keep getting the following error:
Error: unresolved extern _ib_main
These are (mostly) simple console programs and appear syntactically correct so I'm not sure even how to proceed.
Thoughts?
Tnx.
UPDATE: This is now happening with all of my CB and EB programs ... ???!!!???!!!???
_ib_main is an entry-point symbol, automatically added at the beginning of your source code when there is no project opened.
If you have opened a project, you need to put $main at the top of your main souce module:
main.eba:
$include "..."
$main /* this will generate _ib_main symbol, and here your program starts*/
...
openwindow ...
Any code before $main will be not executed, unless it is a subroutine called from code after $main.
perhaps you accidently opened a new project withuot knowing... Ive done that a few times before I realized I had to close the current project before compiling a single file project.
<sigh>
Can I just plead AARP short term memory issues and let it go? ;D
I can be such a maroon ...
Thanks guys - I'll go take my Geritol and dust off the rocking chair, that's obviously the limit of my 'high tech' capabilities today.
I wonder how many EB users have NEVER done this? Where do you get Geritol?
:D