www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/18/00:03:22

Message-ID: <38338019.985CD51E@global2000.net>
From: Andrea Ryan <aryan AT global2000 DOT net>
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help with include path
References: <3831CB51 DOT 9D5ACC10 AT global2000 DOT net> <3831dc9c AT news DOT cadvision DOT com> <3831F0F7 DOT C99F4D07 AT global2000 DOT net> <38332f53_3 AT news DOT cadvision DOT com>
Lines: 58
NNTP-Posting-Host: 209.203.145.163
X-Trace: typ11.nn.bcandid.com 942899645 209.203.145.163 (Wed, 17 Nov 1999 23:34:05 EST)
NNTP-Posting-Date: Wed, 17 Nov 1999 23:34:05 EST
Organization: bCandid - Powering the world's discussions - http://bCandid.com
Date: Wed, 17 Nov 1999 23:27:06 -0500
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I am looking at sample files to see how MGL is used. They all include the files
they need.
Brendan Ryan

P.S. The help file that came with MGL tells me to put the path into Djgpp.env
but it might be better to put them into the environment. Do I put it into the
autoexec.bat file and what do I type besides the name of the directory
(C:\Scitech\Include)?

The Advisor wrote:

> Are you including the proper header files in your source? Just putting the
> location in your DJGPP path will not work.
>
> The Advisor ( TheAdvisor AT cadvision DOT com )
>
> Andrea Ryan <aryan AT global2000 DOT net> wrote in message
> news:3831F0F7 DOT C99F4D07 AT global2000 DOT net...
> > I got undefined reference to 'MGL_function_name. (like setColor and
> lineCoord)
> > Brendan Ryan
> >
> > The Advisor wrote:
> >
> > > Add
> > > ;c:/scitech/include   to the end of the C_INCLUDE_PATH line and
> > > ;c:/scitech/lib          to the end of the LIBRARY_PATH
> > >
> > > That should work... also make sure that your autoexec.bat file includes
> the
> > > line:
> > > set DJGPP=c:\djgpp\djgpp.env <- or whatever the path to djgpp.env is
> > >
> > > The Advisor ( TheAdvisor AT cadvision DOT com )
> > >
> > > Andrea Ryan <aryan AT global2000 DOT net> wrote in message
> > > news:3831CB51 DOT 9D5ACC10 AT global2000 DOT net...
> > > > Hello,
> > > > I got MGL and the Djgpp.env file needs a path to the *.h files in
> > > > C:\Scitech\Include. I tried
> > > >
> > >
> C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%include;%Scitech%/Include;%PRIVATE%/includ
> > > e
> > > >
> > > > and
> > > >
> LIBRARY_PATH=%/>;LIBRARY_PATH%%include;%Scitech%/Include;%PRIVATE%/include
> > > >
> > > > under [gcc].
> > > > It didn't work. I tried to make sure that the case of the letters
> > > > matched that of the directories. I also tried to get rid of whitespace
> > > > and tried the .env file that came with MGL
> > > >
> > > > Brendan Ryan.
> > > >
> >

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019