Comments (12)
Hi,
the error message is pretty clear:
Check for working C compiler using: Visual Studio 14 2015 Win64
Check for working C compiler using: Visual Studio 14 2015 Win64 -- broken
[...]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj]
so you probably made an error with:
"Set the right Visual Studio compiler"
You probably do not have VS 14.
From: Jae Lim [[email protected]]
Sent: Monday, April 04, 2016 6:09 PM
To: Shark-ML/Shark
Subject: [Shark-ML/Shark] Installation in Windows 10 (#67)
I followed the installation procedure from this:
http://image.diku.dk/shark/sphinx_pages/build/html/rest_sources/getting_started/installation.html
Did not complete at Configure step in CMake GUI. This is an error output:
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler using: Visual Studio 14 2015 Win64
Check for working C compiler using: Visual Studio 14 2015 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/mingw64/bin/gcc.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: C:/Shark/Build/CMakeFiles/CMakeTmp
Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe"
"cmTC_f7cd4.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.25123.0
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 4/4/2016 9:08:33 AM.
Project "C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj" on node 1
(default targets).
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5):
error MSB8036: The Windows SDK version 8.1 was not found. Install the
required version of Windows SDK or change the SDK version in the project
property pages or by right-clicking the solution and selecting "Retarget
solution". [C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj]
Done Building Project
"C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj" (default targets)
-- FAILED.
Build FAILED.
"C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj" (default target)
(1) ->
(Desktop_PlatformPrepareForBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.57
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:9 (project)
Configuring incomplete, errors occurred!
See also "C:/Shark/Build/CMakeFiles/CMakeOutput.log".
See also "C:/Shark/Build/CMakeFiles/CMakeError.log".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/67
from shark.
I think you're right. I installed the MSVC 2015 V.14.0.25123.00 Update 2, but not sure if it came along with SDK developer tools. I'm currently downloading SDK Windows 10 from https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
The error specified that SDK 8.1 is missing. But if v.10 does not work, I will try with v.8.1.
I'm totally new in developing application programs in Windows OS.
from shark.
@Ulfgard
Maybe SDK is already on my machine. How do you "Set the right Visual Studio compiler", i.e. what names do I look for? I checked in this folder but couldn't able to recognize right compiler names: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
from shark.
in the cmake gui that you are probably using you there must have been a popup like this:
http://www.sfml-dev.org/tutorials/2.0/images/cmake-choose-generator.png
choose a different one there :)
From: Jae Lim [[email protected]]
Sent: Monday, April 04, 2016 6:52 PM
To: Shark-ML/Shark
Cc: Oswin Krause
Subject: Re: [Shark-ML/Shark] Installation in Windows 10 (#67)
@Ulfgardhttps://github.com/Ulfgard
Maybe SDK is already on my machine. How do you "Set the right Visual Studio compiler", i.e. what names do I look for? I checked in this folder but couldn't able to recognize right compiler names: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com//issues/67#issuecomment-205389904
from shark.
The first time when I configure, here's an error output generated:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/CMakeMinGWFindMake.cmake:22 (message):
sh.exe was found in your PATH, here:
C:/minghc/git-2.4.5.1/usr/bin/sh.exe
For MinGW make to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.
If you want to use a UNIX shell, then use MSYS Makefiles.
Call Stack (most recent call first):
CMakeLists.txt:9 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
Configuring incomplete, errors occurred!
But after the second Configure attempt, this is what was generated:
The C compiler identification is GNU 5.3.0
The CXX compiler identification is GNU 5.3.0
Check for working C compiler: C:/mingw64/bin/gcc.exe
Check for working C compiler: C:/mingw64/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/mingw64/bin/g++.exe
Check for working CXX compiler: C:/mingw64/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Will build: Release
Looking for pthread.h
Looking for pthread.h - found
Looking for pthread_create
Looking for pthread_create - found
Found Threads: TRUE
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1657 (message):
Unable to find the requested Boost libraries.
Boost version: 1.60.0
Boost include path: C:/local/boost_1_60_0
Could not find the following Boost libraries:
boost_system
boost_date_time
boost_filesystem
boost_program_options
boost_serialization
boost_thread
boost_unit_test_framework
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:142 (find_package)
CMake Error at CMakeLists.txt:150 (message):
Please make sure Boost 1.48.0 is installed on your system
Configuring incomplete, errors occurred!
See also "C:/Shark/Build/CMakeFiles/CMakeOutput.log".
Why does it look for these names with this "boost_" prefix?
from shark.
In C:\local\boost_1_60_0\lib64-msvc-14.0, I found this for example: boost_filesystem-vc140-mt-1_60.lib & .dll
from shark.
I think the Mingw64 compilers are incompatible with MSVC lib files, so I believe I need to install the VC compilers. I suspect they are not automatically installed with MSVC 14 installation by default. Currently downloading the compilers...
from shark.
The problem solved for the moment..
See the following reference info:
http://stackoverflow.com/questions/31619296/cmake-does-not-find-visual-c-compiler
from shark.
Why does generate failed to install the shark folder? I tried both default installation path and my own by setting:
CMAKE_INSTALL_PREFIX="C:/Program Files (x86)/shark" (default)
or
="C:/Shark"
from shark.
Will build: Release
Boost version: 1.60.0
Found the following Boost libraries:
system
date_time
filesystem
program_options
serialization
thread
unit_test_framework
chrono
atomic
Using boost from
OpenMP found
Checking HDF5 installation:HDF5 package might be broken.
C Compiler Extension not found.
CXX Compiler Extension not found.
Disabling HDF5.
No usable CBLAS Library found. No fast linear Algebra used.
Configuring done
Generating done
from shark.
HDF5 shouldn't be matter, since it's disabled.
from shark.
What does this mean after attempting INSTALL BUILD in MSVC 2015?
Severity Code Description Project File Line Suppression State
Error MSB3073 The command "setlocal
"C:\Program Files (x86)\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
from shark.
Related Issues (20)
- Could I add other decision trees into Shark?
- can't install shark HOT 1
- Is Shark dead? HOT 5
- Covariance matrix in LDA
- Deprecation in Boost libraries since 1.71
- Cmake and make was successful but there is no -lshark for compilation HOT 4
- Linker error but only when using plain makefile instead of cmake HOT 1
- How to get mean value from 0/1 RFClassifier HOT 2
- problem with compiling shark with visual studio 2019
- precision and recall
- Segmentation Fault in shark::NormalizeComponentsUnitInterval.h
- 121 errors when trying to build Shark 4.0.0 with CMake & VS2019
- 121 errors when building Shark 4.0.0 with VS2019
- Problem with boost - tried a few things (Not solved yet) HOT 2
- Reaching dual variables in multiclass SVMs
- Error with shark exemple HOT 2
- Is this project abandoned? HOT 1
- Sharks
- How to include shark with vcpkg
- Website is down? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shark.