Mail Archives: djgpp/1997/03/24/02:37:05
From: | av568 AT rgfn DOT epcc DOT edu (Beautiful Savior Lutheran Church)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Problems using djgpp with matcom (make)
|
Date: | 24 Mar 1997 06:06:52 GMT
|
Organization: | The Rio Grande Free-Net, El Paso Community College, El Paso, TX
|
Lines: | 49
|
Message-ID: | <5h55ls$r9k@news.epcc.edu>
|
References: | <5h2b6c$fco$1 AT news DOT tudelft DOT nl>
|
NNTP-Posting-Host: | rgfn.epcc.edu
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
FIM (fsnijder AT elektron DOT et DOT tudelft DOT nl) wrote:
> I am not an experienced djgpp user, I recently wanted to compile some matlab
> files I made. So, I downloaded the appropiate zip -files and extracted them :
<snip>
> When done, nothing worked but I soon found out that I had to set some paths in
> the autoexec.bat :
> rem - By Windows 95 Network - C:\WINDOWS\net start
> mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
> mode con codepage select=850
> SET INCLUDE=e:\djgpp\INCLUDE;e:\djgpp\lang\cxx\
> SET LIB=e:\djggp\LIB;e:\MATCOM\
> path=e:\djgpp\bin;c:\windows\command;c:\windows
> But this was not enough because :
<snip>
> file_32.cxx:8: string.h: No such file or directory (ENOENT)
<snip>
> Note the errors.
> When I tried to compile a sample.m matlab file te result was :
<snip>
> E:\MATCOM\/matlib.h:15: stdio.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:16: stdlib.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:604: iostream.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:656: limits.h: No such file or directory (ENOENT)
> In file included from g_sample.cpp:5:
> E:\MATCOM\/matlib.h:15: stdio.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:16: stdlib.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:604: iostream.h: No such file or directory (ENOENT)
> E:\MATCOM\/matlib.h:656: limits.h: No such file or directory (ENOENT)
> gcc.exe: grad.o: No such file or directory (ENOENT)
> gcc.exe: g_sample.o: No such file or directory (ENOENT)
<snip>
> Can anybody tell me what I have to do?
> Thank you for your time,
<snip>
You haven't setup the DJGPP environment variable. Add this to your
autoexec.bat:
set DJGPP=e:/djgpp/djgpp.env
- Raw text -