shogun-toolbox / shogun

Shōgun
http://shogun-toolbox.org
BSD 3-Clause "New" or "Revised" License
3.03k stars 1.04k forks source link

INSTALL error! #3974

Closed ghost closed 6 years ago

ghost commented 7 years ago

7>CMake Error at examples/undocumented/libshogun/cmake_install.cmake:31 (file): 7> file INSTALL cannot find 7> "E:/software_manual/shogun/build/examples/undocumented/libshogun/balanced_conditional_probability_tree". 7>Call Stack (most recent call first): 7> examples/cmake_install.cmake:32 (include) 7> cmake_install.cmake:34 (include) 7> 7> 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: E:\software_manual\cmake\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd 7>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1. 7>Done building project "INSTALL.vcxproj" -- FAILED.

ghost commented 7 years ago

This error is occur when I startup my vs2017 and right click the INSTALL to build.

my environment is Windows7,vs2017,release x64.

MikeLing commented 7 years ago

Hi there, honestly I haven't build Shogun by Visual studio before. Could you check if all the submodules have been cloned by 'git submodule update --init'? Maybe they are unrelative, but missing submodule may cause 'not found' error like that :)

Best Regards

2017-08-31 15:40 GMT+08:00 Jiewen Wen notifications@github.com:

This error is occur when I startup my vs2017 and right click the INSTALL to build.

my environment is Windows7,vs2017,release x64.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shogun-toolbox/shogun/issues/3974#issuecomment-326216399, or mute the thread https://github.com/notifications/unsubscribe-auth/ACEN04e4VQBlxZrNzDjhOhuYIxIYRVEbks5sdmNygaJpZM4PIb0s .

ghost commented 7 years ago

https://ci.appveyor.com/project/vigsterkr/shogun

The link is my reference when i build. the command 'git submodule -q update --init' was ran. however, the error was occur.

vigsterkr commented 7 years ago

@Jiewen2017 i guess you are doing something similar or: http://shogun.ml/install#manual-windows ?

vigsterkr commented 6 years ago

closing this one; anybody attempts to use shogun on windows should try it with using conda package starting 6.1.3 there's a binary windows package available