errors while compiling source code

Post Reply
mantana
Posts: 1
Joined: Sat Apr 05, 2014 11:31 am

errors while compiling source code

Post by mantana »

hello all,
i'm using windows 7, 64 bit. my compiler is visual studio 2012 (version 11). i want to use vrpn inorder to vuild new module in c and use it with openvibe. I installed the depenecies and run the comiplation of the source code of openvibe. i get this kind of error :
"
Generating makefiles for using Release config.
Building to "C:\Program Files (x86)\openvibe-0.17.1-src\openvibe-0.17.1-src"\..\
local-tmp\nmake-Release ...
CMake Warning at CMakeLists.txt:3 (PROJECT):
To use the NMake generator, cmake must be run from a shell that can use the
compiler cl from the command line. This environment does not contain
INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
work.


-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: cl
CMake Warning at CMakeLists.txt:2 (PROJECT):
To use the NMake generator, cmake must be run from a shell that can use the
compiler cl from the command line. This environment does not contain
INCLUDE, LIB, or LIBPATH, and these must be set for the cl compiler to
work.


CMake Error: your C compiler: "cl" was not found. Please set CMAKE_C_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 at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTes
tCCompiler.cmake:61 (message):
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.
Call Stack (most recent call first):
CMakeLists.txt:3 (PROJECT)


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_COMPI
LER to a valid compiler path or name.
-- Configuring incomplete, errors occurred!
See also "C:/Program Files (x86)/openvibe-0.17.1-src/local-tmp/nmake-Release/CMa
keFiles/CMakeOutput.log".
See also "C:/Program Files (x86)/openvibe-0.17.1-src/local-tmp/nmake-Release/CMa
keFiles/CMakeError.log".

An error occured during building process
"


i have no idea what should i do to resolve it.
thnak in advance for your help.

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: errors while compiling source code

Post by jtlindgren »

Dear Mantana, Visual Studio 2012 is not currently supported. Please use 2008 or 2010 as described in the build instructions. You can get express version for free. I don't recommend trying to make it work with 2012 unless you are familiar with porting software packages from compiler to another and willing to spend time on it.

http://openvibe.inria.fr/build-instructions/

Best,
Jussi

Post Reply