Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Re: Manta for Windows question


Chronological Thread 
  • From: "J. Davison de St. Germain" < >
  • To:
  • Subject: [Manta] Re: Re: Re: Manta for Windows question
  • Date: Wed, 20 Aug 2008 00:15:01 -0600


While 'and' may be totally legit (though I'm not convinced), on the page you quote, right after 'and', I see:

Note that your particular compiler may not be completely up-to-date, which means that some (and possibly many) of the reserved words in the preceding two groups may not yet be implemented.

I would suggest going with the well know and standard &&.

    - Dav

Thiago Ize wrote:
"and" is totally legit c++! see http://cs.stmarys.ca/~porter/csc/ref/cpp_keywords.html. The problem is that MSVC++ is garbage. Don't even get me started on how min/max won't work by default. These reported problems are all in Model/Groups/BSP.

Thiago

Abe Stephens wrote:

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


--
-----------------------------------------------------------------------
- J. Davison de St. Germain         

    (801) 581-4078 -
- Chief Software Engineer           http://www.cs.utah.edu/~dav       -
- SCI Institute, SE C-SAFE          University of Utah                -
-----------------------------------------------------------------------




Archive powered by MHonArc 2.6.16.

Top of page