Rohan Anil | 12 Feb 17:09 2010
Picon

Re: how to set CMAKE_RC_COMPILER & CMAKE_C_COMPILER

try doing

cmake -D CMAKE_RC_COMPILER=compilername same way with others

On Fri, Feb 12, 2010 at 9:34 PM, <weiyuchen.art <at> gmail.com> wrote:

>
>
> Hello all,
> when I want to build OpenCV 2.0 from source using CMake 2.9 on window XP, I
> got error messages as follows:
> ......................................................................
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_RC_COMPILER_ENV_VAR
> CMake Error: Could not find cmake module
> file:C:/OpenCV2.0/release/CMakeFiles/CMakeRCCompiler.cmake
> CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found.
> Please set CMAKE_RC_COMPILER to a valid compiler path or name.
> CMake Error: your C compiler: "cl" was not found. Please set
> CMAKE_C_COMPILER to a valid compiler path or name.
> CMake Error: your CXX compiler: "cl" was not found. Please set
> CMAKE_CXX_COMPILER to a valid compiler path or name.
> .......................................................................
> And I tried to set that environment variables under dos prompt but in vain
> XD, Could anyone else give some hints for me? thanks!
>
> Kay
>
>  
>

--

-- 
Rohan Anil
IVth Year Information Systems
BITS Pilani Goa Campus

[Non-text portions of this message have been removed]

------------------------------------

Change settings: http://www.yahoogroups.com/mygroups, select
   Get Emails (get all posts)
   Daily Digest (one summary email per day)
   Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe <at> yahoogroups.com

Gmane