« Setting up VisualStudio 2008 as a MATLAB MEX compiler | Main | Trivial Destructors Grief »

CMake problems on Vista

So, I was trying to build vxl 1.10 and kept running into problems with CMake 2.6.

I thought it was related to their VS 2008 build generator, but it ended up being something stupid - CMake uses its Program Files\Cmake directory as temporary space to build small test programs and test the selected build option.

On Vista, programs don't have write access to the Program Files\ subtree, unless run as administrator. So, check the "run as Adiministrator" option and CMake should run; The problem has nothing to do with VS 2008 and everything to do with the fact that nobody really uses Vista that much, so a lot of Windows software does not run quite right for it.