Hi, Maurice
You wrote
Toby Ewing wrote: ... But when I
compile (alt-c c) I get: Error: module/unit interface 'Grx20' could not be imported When I make (F9), I get: Error: module/unit interface 'Grx20' could not be compiled
Where have you put the file libgrx20.a ? There is a {$L grx20} instruction in grx.pas which loads it if it finds it in some standard place. It should be on the %DJDIR%\lib directory, or its location can be given in the djgpp.env file or explicitly by a -L option while compiling.
Interesting... a search on the hard disk reveals nothing named libgrx20.a. The closest I have is a libgrx.h, in /djgpp/contrib/grx243/src/include. I don't suppose that's the one I want? Where would I find libgrx20.a, if it's not included in the grx download?!
An other possibility is that you have used an old main program. At some point the unit import file has ben renamed from grx20.pas to grx.pas.
Thanks for pointing this out. I hadn't caught this. Yes, unit is just grx.pas, so I have renamed my import call. The message I get now is:
cannot find -lgrx20 {or cannot find -lgrx, if that's how I list the library} ld returned 1 exit status
Toby