Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] Re: Visual Studio configuration problem


Chronological Thread 
  • From: "James Bigler" < >
  • To:
  • Subject: [Manta] Re: Visual Studio configuration problem
  • Date: Wed, 24 Sep 2008 15:30:30 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=o/JF0UPkl0bqhQYBwW9JRcIZ5imft6T8iRNPgo62feDlaP55XbDB9mwmCyxGq14GKD UJ287X6xT6jzei26nd+0E2VpvAauVsU0iG5YWvCh8brRYIwBjsv9rFKwwv9cmnBex8EB ZH4nPefErTYNpAEqU90wWLFGPnUnNDha5tmCo=

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