From: j DOT aldrich6 AT genie DOT com Message-Id: <199607291541.AA202844899@relay1.geis.com> Date: Sun, 28 Jul 96 22:12:00 UTC 0000 To: dingfam AT express DOT ca Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Subject: Re: HELP! Can't compile Black3 Reply to message 7452290 from DINGFAM AT EXPRE on 07/27/96 9:34PM >I've just recently spent $72.00 Cdn. on Andre LaMothe's "The Black Arts >Of 3D Game Programming", and i cannot compile the source code that comes >with the book, under DJGPP2! ANY help would be appreciated. >Thanks in advance, First, as Eli said, you should give us a better idea of your problem than just "it doesn't work". If you want to get a definitive answer to your problem, please follow the procedure outlined in the FAQ (faq201b.zip), section 6.12. Please post the contents of your autoexec.bat and config.sys, the output of the dos 'set' command, the output of the djgpp 'go32-v2' command, the output of 'gcc' when you add the '-v' argument to the command line, and the complete set of error messages you get (which should be included with the latter). A copy of the source code you're trying to compile would also help. Also, consider the following possible reasons for code (particularly graphics code) not functioning under DJGPP: Your environment isn't set up properly for DJGPP (FAQ section 8.1). You are not including the proper libraries on your compile command line (FAQ sections 8.2, 8.7, 8.9, 8.10). You are using functions specific to Borland or other proprietary compilers (solution: RTFM, i.e., the online libc docs). You are using assembly language code in the wrong format for DJGPP. (FAQ section 17.1) DJGPP uses AT&T format, not Intel. You are using interrupt handling procedures which are not valid under protected-mode. (all of FAQ section 18) You are attempting to directly access a specific absolute memory address such as 0xA0000, which is not a legal procedure under protected mode (again, FAQ section 18). As you can see, 99% of problems that beginners have with DJGPP are answered in the FAQ. I'd recommend that you read it. John