[CMake] Can't build cmake 2.8.1 out of source

Michael Jackson mike.jackson at bluequartz.net
Wed Jun 23 16:35:30 EDT 2010


Nuke everything and start again from a fresh source directory. I have seen
this with dirty build folders that were some how messed up from in source
bootstraping then running cmake to configure cmake. Hope that helps.

-----
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jackson at bluequartz.net
BlueQuartz Software               Dayton, Ohio


On Jun 23, 2010, at 16:27, j s <j.s4403 at gmail.com> wrote:

> Juan
> Works fine here (x86_64, Mac OS X 10.6.4, CMake 2.8.1 installed via
homebrew).
> Michael

Again, it doesn't work for me.  Using bootstrap does, but I am trying to
build cmake using cmake.  It looks like the issue is that FundamentalTypes.h
is not being generated correctly.

10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:57:13 PST 2010;
root:xnu-1504.3.12~1/RELEASE_X86_64 x86_64

Snow Leopard 10.6.3 running 64 bit kernel with the system compiler and cmake
2.8.1 for mac port.

Errors are below.

Juan


On Wed, Jun 23, 2010 at 2:59 PM, Michael Wild <themiwi at gmail.com> wrote:

>
> On 23. Jun, 2010, at 20:51 , j s wrote:
>
> > I am on a macbook, and when I try to compile cmake 2.8.1 using cmake, I
> get
> > the following errors:
> > In file included from
> >
> /Users/jsanchez/tclmake/cmake/cmake-2.8.1/Source/kwsys/SystemInformation.cxx:29:
> > /cmake_debug/Source/cmsys/FundamentalType.h:75:3: error: #error "No
> native
> > data type can represent a 16-bit integer."
> > /cmake/cmake_debug/Source/cmsys/FundamentalType.h:86:3: error: #error "No
> > native data type can represent a 32-bit integer."
> > /cmake/cmake_debug/Source/cmsys/FundamentalType.h:106:3: error: #error
> "No
> > native data type can represent a 64-bit integer."
> >
> > How can I fix this?  The Readme.txt  says this should be possible, and
> that
> > bootstrap is if you don't have it already installed.
> >
> > Thanks,
> >
> > Juan
>
> Works fine here (x86_64, Mac OS X 10.6.4, CMake 2.8.1 installed via
> homebrew).
>
> Michael
>
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100623/1352dfb2/attachment.htm>


More information about the CMake mailing list