POV-Ray : Newsgroups : povray.programming : povray crashes : Re: PovRay and GUI shell (was: povray crashes) Server Time
29 Jul 2024 14:23:01 EDT (-0400)
  Re: PovRay and GUI shell (was: povray crashes)  
From: Mathias Broxvall
Date: 8 May 1998 15:41:28
Message: <1d8qb5r.t2kxx01sl2d4wN@dialup150-2-39.swipnet.se>
Philippe Houdoin <phi### [at] ouest-francefr> wrote:

> Perhaps a welcomed next major version (4.0?) rewritten code will help this
> particular point.

Another small problem is that (I read somewhere) povray version 4.0 will
be written in C++ which makes it a little bit more difficult to make
sharedlibraries of it on some plattforms. The reason for this is that
there is no widely addopted standard for how the name mangling should
be performed. Ie my MrC compiler and my Codewarrior compiler creates
different symbols (for the linker) for the same function. I would expect
this to be a problem also on other plattforms. Am I right?
I know that this is easy to overcome (Mix C and C++), but in a portable
way?

> An obvious and portable one (except for MacOS!?) is a little command line
> shell. 

You can make shell tools for the Mac too. Either for a real shell like
MPW (which many Mac developers use) or use a simple library
to simulate a shell in your program. (Ie creates a simple window and 
routes stdio,stdout and stderr to it without a single line of program
code).

/ Mathias Broxvall


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.