visual studio 2008

Return to C++ coding using Panda3D

visual studio 2008

Postby livewires » Wed Oct 07, 2009 5:54 pm

Hello i am going to start using msvs for my IDE but was wondering how do you remove the NDEBUG macro definition sorry just cant find it and i would like to get my project all set up before i go throught the tuturials.

thanks
livewires
 
Posts: 8
Joined: Wed Oct 07, 2009 4:56 pm

Postby Gogg » Thu Oct 08, 2009 2:45 am

Right click in your project; properties; configuration properties; c/c++; preprocessor; preprocessor definitions and remove it from there.

EDIT: You could also use "#undef NDEBUG" right before your library includes.

I would add it to the manual but since it isn't gonna be an issue for 1.7 I guess I shouldn't.
User avatar
Gogg
 
Posts: 475
Joined: Thu Sep 24, 2009 1:06 pm

Postby livewires » Thu Oct 08, 2009 3:53 am

thanks
livewires
 
Posts: 8
Joined: Wed Oct 07, 2009 4:56 pm

Postby rdb » Thu Oct 08, 2009 10:17 am

Gogg wrote:I would add it to the manual but since it isn't gonna be an issue for 1.7 I guess I shouldn't.


Don't bother, David already added that a while ago.
http://www.panda3d.org/wiki/index.php?t ... oldid=6108
I rarely respond to PMs
rdb
 
Posts: 8637
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby Gogg » Thu Oct 08, 2009 10:43 am

Yeah, I knew that. This whole thread exists because OP read that, actually. I was talking about adding instructions for changing preprocessor definitions in c++, but it seemed a bit pointless.
User avatar
Gogg
 
Posts: 475
Joined: Thu Sep 24, 2009 1:06 pm


Return to C++ coding using Panda3D

Who is online

Users browsing this forum: No registered users and 0 guests