Hi,

 

It's my turn to have problems with the cmake build. Hopefully someone has
seen this before and has an answer. Scons works in similar situation.

 

Here is the error from inside the MSVC2005 Command prompt:

 

D:\Voip\workspace\wengophone_base2\build>build_nmake.bat

D:\Voip\workspace\wengophone_base2\build>cmake .. -DCMAKE_VERBOSE_MAKEFILE=1
-G

"NMake Makefiles"   && nmake

CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found.
Ple

ase set CMAKE_RC_COMPILER to a valid compiler path or name.

-- Using FREE VC TOOLS, NO DEBUG available

-- Check for working C compiler: cl

CMake Error: your RC compiler: "CMAKE_RC_COMPILER-NOTFOUND" was not found.
Ple

ase set CMAKE_RC_COMPILER to a valid compiler path or name.

CMake Error: Internal CMake error, TryCompile configure of cmake failed

-- Check for working C compiler: cl -- broken

CMake Error: The C compiler "cl" is not able to compile a simple test
program.

It fails with the following output:

 

 

CMake will not be able to correctly generate this project.

-- Configuring done

 

Then I tried:

D:\Voip\workspace\wengophone_base2\build>cl

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86

Copyright (C) Microsoft Corporation.  All rights reserved.

 

usage: cl [ option... ] filename... [ /link linkoption... ]

 

So the compiler is clearly there. Also, this is not the free version of MSVC
and even the free version allows debugging so not clear on the message
above.

 

My environment:

 

D:\Voip\workspace\wengophone_base2\build>set

APR_ICONV_PATH=C:\Program Files\Subversion\iconv

CLASSPATH=.;C:\Program Files\Java\jre1.5.0_05\lib\ext\QTJava.zip;C:\Program
File

s\Common Files\Compuware

CommonProgramFiles=C:\Program Files\Common Files

ComSpec=C:\WINDOWS\system32\cmd.exe

DevEnvDir=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

DXSDK_DIR=C:\Program Files\Microsoft DirectX SDK\

FP_NO_HOST_CHECK=NO

FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework

FrameworkSDKDir=C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0

FrameworkVersion=v2.0.50727

HOMEDRIVE=C:

HOMEPATH=\Documents and Settings\Lukas

INCLUDE=C:\Program Files\Microsoft Visual Studio
8\VC\ATLMFC\INCLUDE;C:\Program

Files\Microsoft Visual Studio 8\VC\INCLUDE;C:\Program Files\Microsoft Visual
Stu

dio 8\VC\PlatformSDK\include;C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0

\include;

LIB=C:\Program Files\Microsoft Visual Studio 8\VC\ATLMFC\LIB;C:\Program
Files\Mi

crosoft Visual Studio 8\VC\LIB;C:\Program Files\Microsoft Visual Studio
8\VC\Pla

tformSDK\lib;C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\lib;

LIBPATH=C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files\Microsoft

 Visual Studio 8\VC\ATLMFC\LIB

NUMBER_OF_PROCESSORS=2

OS=Windows_NT

Path=C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program
Files\Mic

rosoft Visual Studio 8\VC\BIN;C:\Program Files\Microsoft Visual Studio
8\Common7

\Tools;C:\Program Files\Microsoft Visual Studio
8\Common7\Tools\bin;C:\Program F

iles\Microsoft Visual Studio 8\VC\PlatformSDK\bin;C:\Program Files\Microsoft
Vis

ual Studio
8\SDK\v2.0\bin;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727;C:\Progr

am Files\Microsoft Visual Studio 8\VC\VCPackages;D:\Qt\4.1.2\bin;C:\Program
File

s\Common Files\Compuware\;C:\Program Files\CMake 2.4\bin;"C:\Program
Files\Micro

soft DirectX
SDK\Utilities\Bin\x86";C:\Perl\bin\;C:\WINDOWS\system32;C:\WINDOWS;

C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\Wireless\Bin\;C:\Program
Files\C

ommon Files\Adobe\AGL;C:\Program Files\Intel\Wireless\Bin\;C:\Program
Files\Quic

kTime\QTSystem\;C:\Program Files\Support
Tools\;C:\Python25;c:\mingw\bin;bin;c:\

unixtools;C:\Program Files\Subversion\bin;C:\Program Files\Common
Files\Compuwar

e;C:\Program Files\svk\bin;C:\Program Files\Nmap;C:\Program
Files\OpenVPN\bin

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 6 Model 14 Stepping 8, GenuineIntel

PROCESSOR_LEVEL=6

PROCESSOR_REVISION=0e08

ProgramFiles=C:\Program Files

PROMPT=$P$G

QTDIR=D:\Qt\4.1.2

QTJAVA=C:\Program Files\Java\jre1.5.0_05\lib\ext\QTJava.zip

SESSIONNAME=Console

SonicCentral=C:\Program Files\Common Files\Sonic Shared\Sonic Central\

SystemDrive=C:

SystemRoot=C:\WINDOWS

TEMP=C:\DOCUME~1\Lukas\LOCALS~1\Temp

TMP=C:\DOCUME~1\Lukas\LOCALS~1\Temp

VCINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8\VC

VS80COMNTOOLS=C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\

VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8

WecVersionForRosebud.2ADC=2

windir=C:\WINDOWS

 

 

-Lukas

 

 

_______________________________________________
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to