[Cmake] Errors compiling CMake

Brad King brad.king at kitware.com
Mon Sep 20 14:05:55 EDT 2004


Dekeyser, Kris wrote:
> I tried to compile the latest CMake sources from CVS. I ran my installed
> CMAke 2.0.3 against the CMakeLists.txt, which worked fine.
> 
> But I trie to compile in MsDev 6 and got several errors:
> 
> --------------------Configuration: CMakeSetup - Win32
> Debug--------------------
> Compiling...
> MakeHelp.cpp
> D:\CVSHome\CMake\CMake\Source\MFCDialog\MakeHelp.cpp(22) : error C2026:
> string too big, trailing characters truncated
> [...]
> CMakeSetupDialog.cpp
> D:\CVSHome\CMake\CMake\Source\MFCDialog\CMakeSetupDialog.cpp(76) : error
> C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char *' to
> 'const unsigned short *'

I just built CVS CMake using an installed 2.0.3 with MSVC 6 and it works 
fine.  It looks like your build is trying to use UNICODE support.  Did 
you enable some kind of global visual studio option or environment 
variable for unicode?

-Brad


More information about the Cmake mailing list