Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] RE: Re: Visual Studio configuration problem


Chronological Thread 
  • From: "Bo Huang" < >
  • To: < >
  • Subject: [Manta] RE: Re: Visual Studio configuration problem
  • Date: Thu, 25 Sep 2008 08:52:21 -0400

Thanks. My only SSE options were

MANTA_SSE, MANTA_SSE_CAST (casting intrinsics? Under what conditions is
this not supported?).

I turned them off and the release version does run, though slower.

Why would this address the problem? With those previously turned on, the
MinSizeRel config, which I assume is 'minimum size release' compiled and
ran fine and speedily. Same with the 'Debug' config, though sluggish.

With SSE turned on, what makes 'MinSizeRel' special where 'Release'
behaved wacked?

None of the sub-projects have been converted to .icproj either.

-----Original Message-----
From: James Bigler 
[mailto:
 
Sent: Wednesday, September 24, 2008 5:31 PM
To: 

Subject: [Manta] Re: Visual Studio configuration problem

First off VS is horrible at debugging release code.  Don't trust it
(in release mode).  If you suspect a spurious value or the code isn't
getting somewhere, use printf to make sure that it is bad.

Also, please verify (via CMake) that SSE is turned off.  VS can't
compile the SSE code properly unless the Intel compiler is used.

James

On Wed, Sep 24, 2008 at 3:07 PM, Bo Huang 
< >
 wrote:
>
>
> For Visual Studio, the 'Debug' and 'MinSizeRel' configuration work
> perfectly. However, the 'Release' configuration and 'RelWithDebInfo'
> configuration do not work for me.
>
>
>
> Running to debug 'RelWithDebInfo', it seems the program does not exit
> TiledImageTraverser::renderImage(), perhaps going into an infinite
loop, as
> a break point after that function isn't hit.
>
>
>
> Moreover, local variables, such as
>
>
>
> int numEyes = stereo?2:1;
>
>
>
> are larger numbers as if either it hasn't been initialized, or
corrupted due
> to stack corruption.
>
>
>
> Could any one confirm if this is only my problem?
>
>
>
> Thanks



Archive powered by MHonArc 2.6.16.

Top of page