From: Endlisnis Newsgroups: comp.os.msdos.djgpp Subject: Re: _String, alloc and another problems Date: Sun, 05 Jul 1998 13:47:04 -0300 Organization: NBTel Internet Lines: 31 Message-ID: <359FAE07.FD2A92E1@unb.ca> References: <01bda4ac$4ab2bd80$LocalHost AT jimeza> NNTP-Posting-Host: fctnts09c29.nbnet.nb.ca Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Jorge Iván Meza Martínez wrote: > I have a program that uses , it says that cannot find alloc.h so I > added "d:/djgpp/lang/cxx" to the string path, when I compile I get many > errors from alloc -> stl_alloc -> iostream that says: > > in Streambuf line 35, parse error before constant, > in line 37, parse error before ( "}" ) > .. etc. > > I didn't touch it, Why it happens ? How can I solve it ? > PD: I read all the readme's before install, and I did it ( at least what I > understood ). Stuff like that happened when i tried to install it. I was because I forgot to set the environmental variable. Did you SET the environmental variable? Try typing "SET" at the dos prompt. If the EV is set, something like "DJGPP=C:/DJGPP/djgpp.env" will appear as one of the lines. If it doesn't appear, you need to add the line "Set DJGPP=[path]/djgpp.env" to your AUTOEXEC.BAT file. [path] is the location of your installation of DJGPP with FORWARD SLASHES! -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlis AT nbnet DOT nb DOT ca