[comp.lang.c++] Rayshade port to MS-DOS

cbwood@churchy.gnu.ai.mit.edu (Clifton B. Wood) (04/30/91)

The following is an article I sent to comp.graphics describing my problems
with getting Rayshade 4.0 beta ported to the MS-DOS platform. I am reposting
it here due to the fact that there might be more people who can help me here
since this *is* a programming problem (languages: Turbo C++ and GCC which are
both C++ compilers, obviously ;)  ). At any rate, the problem is as follows:

-----------------[ Quoted from comp.graphics ]-----------------
Hello,

	I am currently working on trying to port Rayshade 4.0 Beta over to
an MS-DOS 386/387 using DJ Delorie's GCC compiler. I have successfully gotten
the code to compile, yet I am running into an error that confuses me:

"Segmentation Violation referencing address 0x40e2f4.
 Exception 14 at eip 0x180f0"

I would appreciate any help in debugging this program as I have a serious 
interest in Raytracing and also, if anyone can tell me where I can find some
documentation for DJGCC in general (including in the least, command line 
options, which were curiously missing in the GNUish-DOS release) then I 
would be greatly appreciative.

Raytracer 4.0 Beta port history:

Turbo C++ v1.01 - Compiled successfully sometime in mid May. Program repeatedly
		  crapped out with many "Floating point error: Domain" messages
		  which I finally attributed to the actual antialiasing 
		  routines (the thing was comming up with values of -NAN !)

GCC 		- Compiled successfully 4/28/91. Program problems as stated
		  above.

Whoops! For Turbo C++ that sould me mid-March, not mid-May. We haven't even
HAD may yet.

Thanks!
 
[.sig deleted]

--------------[ End of Quoted Article]------------

If anyone has any information that could be of assistance, please leave me 
either mail at the adresses below or send a response to this article in 
either this newsgroup or comp.graphics.

Thanks.

----------------------------------------------------------------------------
The opinions in this article are my humble own. Critiques and comments welcome.
Flames can be forwarded to Mrnobody@c.pointer.NULL because I don't particularly
care for them!   ;)

				Cliff
				cbwood@gnu.ai.mit.edu
				aralyn@eddie.ee.vt.edu

"And remember, my son: Nothing is ever absolute..."
said the teacher before he dissappeared from this plain like a passing tought
through an open mind.

"Purple Rain! Purple Rain!" -- Prince, probably one of the best musical talents
who has ever lived.