[CMake] Debugging CMAKE_SIZEOF_VOID_P

John Drescher drescherjm at gmail.com
Tue Aug 31 12:17:41 EDT 2010


On Tue, Aug 31, 2010 at 12:01 PM, U.W. Mechatronics Lab
<mechlab at engr.wisc.edu> wrote:
> I am having trouble getting any return value from CMAKE_SIZEOF_VOID_P on one
> particular Win7x64  machine.  If I check out my tree on a different Win7x64
> machine it seems to properly return a value of 8.  I’m looking for a way of
> debugging why it doesn’t seem to be returning a value.  I’m currently using
> cmake-2.8.0-win32-x86 as that is checked into our build tree and being
> executed out of that tree.
>
>

Are you launching cmake from a 64 bit visual studio (2005, 2008, 2010)
 command prompt?

If not try that.

John


More information about the CMake mailing list