Message-ID: <368D40F5.37A1B2BB@earthlink.net> Date: Fri, 01 Jan 1999 13:41:09 -0800 From: Christopher Newcomer X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: DJGPP COMPILER PROBLEMS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com I recently downloaded DJGPP. I recievd the following files. djdev202 (DJGPP basic developement kit) bnu281b (Basic assembler, linker) gcc281b (Basic GCC compiler) lgp2811b (C++ libraries) gpp281b (c++ compiler) I am having trouble compiling programs that include classes included in a college text book on programming in c++ the following simple program won't compile: #include "ccc_win.cpp" int main() { Point p(1, 3); cwin << p << Circle(p, 2.5); return 0; } Tried to compile with following command: gxx -w -IC:\programming\cs201\horstman\cccfiles\ -o c.exe c.cpp recieved following compiler error: In file included from c.cpp:2: C:/programming/cs201/horstman/cccfiles/ccc_win.cpp:28: windows.h: No such file or directory. I have no windows.h file in any of my directories. Do I need to download a library that contains this header file? Any help with this problem will be greatly appreciated. Thanks. ------------------------------------------ go32/v2 version 2.0 built Nov 15 1998 14:36:43 Usage: go32 coff-image [args] Rename this to go32.exe only if you need a go32 that can run v2 binaries as well as v1 binaries (old makefiles). Put ahead of the old go32 in your PATH but do not delete your old go32 - leave it in the PATH after this one. Set GO32_V2_DEBUG=y in the environment to get verbose output. DPMI memory available: 24072 Kb DPMI swap space available: 38224 Kb ___________________________________ TMP=C:\WINDOWS\TEMP TEMP=C:\WINDOWS\TEMP PROMPT=$p$g winbootdir=C:\WINDOWS COMSPEC=C:\WINDOWS\COMMAND.COM MSINPUT=C:\MSINPUT DJGPP=C:\DJGPP\DJGPP.ENV PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;;C:\PROGRA~1\BORLAND\CBUILD~1\BIN windir=C:\WINDOWS SNDSCAPE=C:\WINDOWS BLASTER=A220 I5 D1 T2 CMDLINE=doskey e=c:\windows\explorer.exe _______________________________________ @ECHO OFF C:\MCAFEE\SCAN.EXE C:\ /NOEXPIRE @IF ERRORLEVEL 1 PAUSE SET MSINPUT=C:\MSINPUT PATH=C:\WINDOWS;C:\WINDOWS\COMMAND; SET DJGPP=C:\DJGPP\DJGPP.ENV SET PATH=C:\DJGPP\BIN;%PATH%;C:\PROGRA~1\BORLAND\CBUILD~1\BIN REM [CD-ROM Drive] REM [Display] REM [Sound, MIDI, or Video Capture Card] REM [Mouse] REM [Miscellaneous] -------------------- FILES=60