-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation in Windows 10 #67
Comments
Hi, the error message is pretty clear: Check for working C compiler using: Visual Studio 14 2015 Win64 [...] 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 [notifications@github.com] 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: 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" 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 C:\Program Files Done Building Project Build FAILED. "C:\Shark\Build\CMakeFiles\CMakeTmp\cmTC_f7cd4.vcxproj" (default target) (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. Configuring incomplete, errors occurred! — |
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. |
@Ulfgard |
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 [notifications@github.com] @Ulfgardhttps://github.com/Ulfgard — |
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): 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): CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage But after the second Configure attempt, this is what was generated: The C compiler identification is GNU 5.3.0 Boost version: 1.60.0 Boost include path: C:/local/boost_1_60_0 Could not find the following Boost libraries:
Some (but not all) of the required Boost libraries were found. You may CMake Error at CMakeLists.txt:150 (message): Configuring incomplete, errors occurred! Why does it look for these names with this "boost_" prefix? |
In C:\local\boost_1_60_0\lib64-msvc-14.0, I found this for example: boost_filesystem-vc140-mt-1_60.lib & .dll |
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... |
The problem solved for the moment.. See the following reference info: |
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) |
Will build: Release |
HDF5 shouldn't be matter, since it's disabled. |
What does this mean after attempting INSTALL BUILD in MSVC 2015?
|
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) ->
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".
The text was updated successfully, but these errors were encountered: