home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!willw
- From: willw@extro.ucc.su.OZ.AU (William Waring)
- Subject: Re: GadToolsBox Compiling Questions.
- Message-ID: <1992Nov13.063031.21798@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: /etc/organization
- References: <1dqgtqINNa54@usenet.INS.CWRU.Edu>
- Date: Fri, 13 Nov 1992 06:30:31 GMT
- Lines: 53
-
- In article <1dqgtqINNa54@usenet.INS.CWRU.Edu> as170@cleveland.Freenet.Edu (Ronn F. Black) writes:
- >
- >I realize that this may seem to be a rather stupid question but I need a
- >little clarification.
- >
- >I have tried a couple of times to use GadToolsBox 37.111 (18.4.92)
- >from Jaba Development and I am a little bit confused with getting the stuff
- >to compile.
- >
- >The documentation doesn't directly state this but, since there is no main()
- >in the sources generated I assume you must create a main() in another
- >module or by adding to the sources generated.
- >
- >Is this the case, and is there a recommended way of doing this? I think my
- >preference is a seperate file so that If I redesign the interface I can
- >regenerate from GadToolsbox without touching any of my other code.
-
- Well yes, but you are using the wrong version. Get GadToolsBox V1.4
- (amiga.physik.unzch.ch), which creates code that is much easier to
- re-generate and modify without going through hassles. It has it's
- disadvantages though. I advise you check it out.
-
- >Based on the above statement, I attempted to generate a simple test program
- >with the following main() added to the generated source.
- >
- >
- >main(){
- >
- > SetupScreen();
- >
- > OpenTestPgmWindow();
- >
- > TestPgmRender();
- >
- > delay(); /* Delay to see results */
- >
- > CloseTestPgmWindow();
- >
- > CloseDownScreen();
- >
- >}
- >
- >is the above even close to what I need to do or am I barking up the wrong
- >tree.
-
- Yes very close, but how about a gadtools.library and maybe an
- intuition.library! I bet it crashes. I must say that Jan Van den Baard
- (Sorry if I spelt it wrong) should be shot for not mentioning the fact
- that you need to open libraries in the code. If that doesn't fix it, then
- please let me know.
-
-
-
-