Page 1 of 1

Error building on VS2010

Posted: Fri Jan 29, 2016 11:18 am
by frox
Hello,

I new to Open Vibe and I'm trying to build the source code con win 7 (32bit) machine because a have to develop a new driver.
I followed the build guideline on the website. Everything was fine until starting the build process.
I build the INSTALL project and at the end I will get the following error:

Code: Select all

56>  CMake Error at applications/examples/external-stimulation-connection/cmake_install.cmake:40 (FILE):
56>    file INSTALL cannot find
56>    "C:/Users/riente/Documents/openvibe-1.1.0-src/openvibe-1.1.0-src/local-tmp/visual/applications/examples/external-stimulation-connection/Debug/openvibe-external-stimulation-connection-example.exe".
56>  Call Stack (most recent call first):
56>    applications/examples/cmake_install.cmake:33 (INCLUDE)
56>    applications/cmake_install.cmake:34 (INCLUDE)
56>    cmake_install.cmake:50 (INCLUDE)
56>  
56>  
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: ..\..\dependencies\cmake\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
56>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Rebuild All: 53 succeeded, 3 failed, 0 skipped ==========
Thanks in advance.

Re: Error building on VS2010

Posted: Tue Feb 02, 2016 9:06 am
by jtlindgren
Hello,

is the file there that its trying to find? The only thing I can think of is that your path is very long, and gives Windows some trouble. Try to put the source code closer to the C:\ root.


Cheers,
Jussi

Re: Error building on VS2010

Posted: Fri Feb 05, 2016 1:57 pm
by frox
It works! I put the source code in C:/

thanks a lot for the suggestion! :D