Hi,
I was hoping someone could give me a definitive answer to why this example program included in the SDK which opens a simple window with a button in it won't compile in Codebench?
Yes I installed the SDK before installing Codebench.
And do I really need to include the headers in the interface?
Off-topic: Also the Create Dictionary feature doesn't work it stops at 10%.
And for kicks if I uncomment the gcc run code in main.c I get a whole mess of new errors:
Click here for image
AmigaOS.net - Discover Amiga, Discover AmigaOS.net
Jack for AmigaOS
Samba Idiot's Guide
As i see in your output log (build window), your compilation string not have -lauto (which you need to add all the time). -lauto mean including of stab library caleld libauto.a, to make all that IIxxxxxx and other references works.
In other words you can just go to shell and type "gcc window.c -o window -lauto", or just add in codebench to build string -lauto.
ps. What you mean by "gcc run code in main.c" ? Imho in your case main.c file just a source file, without any specific reles to compilator. Its you later choice by which compiler compile a objects/binary (by gcc, or by vbcc, or any other).
Strange I tried that earlier after reading the SDK header notes.
I think I screwed up the build script.
All working now, your a star, cheers chief.
Ps. I fixed KingCon btw.
AmigaOS.net - Discover Amiga, Discover AmigaOS.net
Jack for AmigaOS
Samba Idiot's Guide