[CMake] cmake compile on 64-bit SUSE
George McConnell
gmcconnell at gmail.com
Wed Feb 21 12:53:21 EST 2007
I was able to get this to compile successfully after pointing to the 32-bit
ncurses-devel kit.
node:/tmp/cmake-2.4.6 # rpm -qa | grep ncurses.*.32*
ncurses-32bit-9-200407011229
ncurses-devel-32bit-9-200407011229
Specifically, after bootstrapping I changed the following line in
CMakeCache.txt:
CURSES_LIBRARY:FILEPATH=/usr/lib64/libncurses.so
to
CURSES_LIBRARY:FILEPATH=/usr/lib/libncurses.so
On 2/20/07, Bill Hoffman <bill.hoffman at kitware.com> wrote:
>
> George McConnell wrote:
> > I need cmake to compile a 64-bit application. Can the 32-bit version
> > do that?
> It should be able to. You just have to set CXXFLAGS and CFLAGS with 64
> bit options or CC and CXX with 64 bit compilers before you run cmake or
> ccmake, and it should be fine. You should not need a 64 bit cmake to
> build a 64 bit app.
>
> -Bill
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070221/b11edc13/attachment.htm
More information about the CMake
mailing list