Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Manta for Windows question


Chronological Thread 
  • From: Abe Stephens < >
  • To:
  • Cc:
  • Subject: [Manta] Re: Manta for Windows question
  • Date: Tue, 19 Aug 2008 13:25:00 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; b=iTKRHtmS3QFc2yADuSzwRswjK6H4K/QRlK9zJNJz3nCgQwVIqkKHwQDXvppQpUYypu qFtTCsSR6IchxgrhRF7DPhyHgROSopIEvJtulL/yxH80RmQVKmD/wd/7KcUVjBcLvkcP Vfqn2bhWG14GUXk74lEAl761jLQVjkQAtvLuI=


In which files did you find drand48 and the "and" operator? There should be #ifdef logic to avoid the drand48 on windows. There really shouldn't be an "and" operator anywhere in the code....

Abe

On Aug 19, 2008, at 9:23 AM, Bo Huang wrote:

Hello
 
I downloaded Manta and after setting up Cmake, I try to build via Visual Studio.
 
After running into the problems below, I come to realize perhaps there are too many fundamental differences between Visual Studio compiler and the ones on UNIX.
 
Do you know if there is a tailored Windows version? Or if not, the scale of effort in order to realize it?
 
Thanks
 
Bo Huang
 
 
// Two ‘v’s
  void getOrthonormalBasis(const Point &v, Point &u, Point &v);
 
// Non-constant sized array on the stack
double inter(const vector<Point2D> &a, const vector<Point2D> &b)
  {
    int na = a.size();
    int nb = b.size();
    Vertex ipa[na + 1];
Vertex ipb[nb + 1];
 
 
// This function seems to be UNIX only
drand48()
 
// ‘and’ is not defined
if (false and !(pass == 0 && iter.get().fixedPlane) )
 
//etc. Many identifiers/functions not found issues




Archive powered by MHonArc 2.6.16.

Top of page