[CMake] Problem when launching ccmake 2.6.4

Bill Hoffman bill.hoffman at kitware.com
Fri Jun 26 11:06:24 EDT 2009


Bill Hoffman wrote:
> Renato Elias wrote:
>>
>>
>> ---------- Forwarded message ----------
>> From: *Renato Elias* <rnelias at gmail.com <mailto:rnelias at gmail.com>>
>> Date: Fri, Jun 26, 2009 at 11:17 AM
>> Subject: Problem when launching ccmake 2.6.4
>> To: cmake at cmake.org <mailto:cmake at cmake.org>
>>
>>
>> Folks, I've just downloaded and compiled CMake 2.6.4 in a SGI 
>> Altix-ICE system. The compilation went fine but when I try to load 
>> ccmake I get the following error message:
>>
>> Error running cmake::LoadCache().  Aborting.
>>
>> Older CMake versions installed in the same system works fine.
>>
> 
> Can you run ccmake in a debugger and find out where it aborts?
> 
> -Bill
> 
Never mind, it must be here:

  if(myform->LoadCache(cacheDir.c_str()))
     {
     curses_clear();
     touchwin(stdscr);
     endwin();
     delete myform;
     std::cerr << "Error running cmake::LoadCache().  Aborting.\n";
     return 1;
     }

How are you running it?

What about a small test:

cd Tests/COnly
mkdir b
cd b
ccmake ..

Does that work?

-Bill


More information about the CMake mailing list