Robotics StackExchange | Archived questions

widows 7 32 installation problem

im asked in the tutorial to input this:

cd ign-math
mkdir build
cd build
..\configure nmake
nmake install

and this spews out :

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\home>cd ign-math

C:\Users\home\ign-math>mkdir build A subdirectory or file build already exists.

C:\Users\home\ign-math>cd build

C:\Users\home\ign-math\build>..\configure Configuring for build type Debug

C:\Users\home\ign-math\build>cmake -G "NMake Makefiles" -DCMAKEINSTALLPREFIX=" install\Debug" -DCMAKEBUILDTYPE="Debug" -DENABLETESTSCOMPILATION:BOOL=False .. -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:9 (project): The CMAKECCOMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKECCOMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

CMake Error at CMakeLists.txt:9 (project): The CMAKECXXCOMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. This environment is unable to invoke the cl compiler. To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKECXXCOMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred! See also "C:/Users/home/ign-math/build/CMakeFiles/CMakeOutput.log". See also "C:/Users/home/ign-math/build/CMakeFiles/CMakeError.log".

C:\Users\home\ign-math\build>nmake 'nmake' is not recognized as an internal or external command, operable program or batch file.

C:\Users\home\ign-math\build>nmake install 'nmake' is not recognized as an internal or external command, operable program or batch file.

C:\Users\home\ign-math\build>

Asked by van4lyf on 2016-02-01 00:19:08 UTC

Comments

Answers

You need to use windows command line and type this first "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64

Asked by snakeplisk on 2016-02-17 07:47:50 UTC

Comments