Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Re: Manta for Windows question


Chronological Thread 
  • From: Thiago Ize < >
  • To:
  • Cc:
  • Subject: [Manta] Re: Re: Manta for Windows question
  • Date: Tue, 19 Aug 2008 13:47:30 -0600

"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:
" type="cite">

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