[CMake] cmake vista tutorial?
Bill Hoffman
bill.hoffman at kitware.com
Wed Sep 3 13:24:16 EDT 2008
Craig Miller wrote:
> Yeah, I made a few posts last week with the details of the specific problem
> I'm having. A couple of folks tried to help, but in the end they were
> stumped too.
>
> Here's an excerpt with the meat of the problem from one of those posts:
>
>> On Aug 28, 2008, at 5:04 PM, Craig Miller wrote:
>>
>>> Mike,
>>>
>>> Thank you for the reply. Filling in the missing blanks in the
>>> tutorial, ultimately, the steps I attempted were exactly as you
>>> describe.
>>>
>>> As there doesn't seem to be a tutorial that addresses the Vista
>>> specific issues, I'll just follow the tutorial directions (same as
>>> yours) and post when I get to each specific error. I'll document
>>> what I'm doing with screenshots and when it is all working I'll
>>> provide the document to the maintainers of the website to use as they
>>> see fit.
>>>
>>> Here is where I'm at.
>>>
>>> 1. Installed cmake 2.6.1 via the Windows Installer
>>> 2. Created a CMakeLists.txt file in my src directory
>>>
>>> # Start CMakeLists.txt
>>> project(Union)
>>> add_executable(Union union.cpp)
>>> #End CMakeLists.txt
>>> 3. Fired up CMakeSetup and set the src and build directories.
>>> 4. Set the build type (nmake)
>>> 5. Received an error (picture attached).
>>>
>>> CMake Error: your RC compiler : "CMAKE_RC_COMPILER-NOTFOUND" was not
>>> found. Please set CMAKE_RC_COMPILER to a valid compiler path or
>>> name. (Press Cancel to suppress any further messages.)
>>>
>>> Note: Pressing cancel causes CMakeSetup to hang until Vista
>>> eventually prompts to shut it down.
>>>
OK, what version of Visual Studio are you using? If it is the express
version, you need to install the windows SDK.
This might help:
http://www.cmake.org/Wiki/CMake_Generator_Specific_Information#How_to_generate_NMake_Makefiles_using_Visual_C.2B.2B_Express_Edition_.28free_Visual_Studio_8.29
-Bill
More information about the CMake
mailing list