From: "The Advisor" Newsgroups: comp.os.msdos.djgpp References: <3831CB51 DOT 9D5ACC10 AT global2000 DOT net> <3831dc9c AT news DOT cadvision DOT com> <3831F0F7 DOT C99F4D07 AT global2000 DOT net> Subject: Re: Help with include path Date: Wed, 17 Nov 1999 15:40:13 -0700 Lines: 49 Organization: Anarchy Incorporated X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 NNTP-Posting-Host: 207.148.130.12 X-Original-NNTP-Posting-Host: 207.148.130.12 Message-ID: <38332f53_3@news.cadvision.com> X-Trace: 17 Nov 1999 15:42:27 -0700, 207.148.130.12 X-Original-NNTP-Posting-Host: 204.50.1.43 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com 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 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 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. > > > >