Mail Archives: djgpp/1998/01/10/09:16:40
Hi,
i've downloaded SciTech MGL 4.0 for DJGPP 2.00 (md40dj20.exe, mglb404.exe, mglf40.exe and mgls404.exe) but i'm unable to compile whatever.
First of all i was unable to link the libraries so i prefixed their name with Lib and move them to the LIB directory but then something as simple as
+ACM-include +ADw-stdio.h+AD4-
+ACM-include +ADw-mgraph.h+AD4-
+ACM-include +ADw-mgldos.h+AD4-
int main ()
+AHs-
int driver+ADs-
int mode+ADs-
driver +AD0- grDETECT+ADs-
mode +AD0- grDETECT+ADs-
MGL+AF8-init (+ACY-driver,+ACY-mode,+ACI-D:+AFwAXA-LING+AFwAXA-SCITECH+ACI-)+ADs-
return (0)+ADs-
+AH0-
will end uncompiled with the following error:
brute.c(12) Error: undefined reference to +AGA-MGL+AF8-init'
I'm using Rhide and i did define the new include and lib directories. My OS is Win95 OSR2. I'm unable to solve this problem by my self so i'm asking everybody in this group for help.
Thanks in Advance.
Any Reply to mad+AEA-mail.telepac.pt
If i don't reply in 8 days please re-send your eMail.
PS: I so a post somewhere here that said that some libs weren't included to reduce the size of the files for download so i tried do +ACI-dmake install+ACI- at scitech/src/mgl but it gives me an (i think) error:
(This is a cut+ACY-past from the DOS box).
gcc -c drivers+AFw-accel+AFw-accel16.c
gcc -c drivers+AFw-accel+AFw-accel24.c
gcc -c drivers+AFw-accel+AFw-accel32.c
DMAKE.EXE: Error -- GROUPSHELL macro not defined
Help me please.
- Raw text -