10-19-2015, 09:12 PM
I'll do that, but perhaps you can upload the file?
|
Random Chitchat 2012-2016
|
|
10-19-2015, 09:12 PM
I'll do that, but perhaps you can upload the file?
10-19-2015, 09:16 PM
(This post was last modified: 10-19-2015, 09:16 PM by Seadragon91.)
The batch wants to execute a file in the "C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin" directory and therefore it makes no sense to upload it
.Or something did go wrong during the installation.
10-19-2015, 09:18 PM
I do have the bin folder, but I don't have that "cl.exe" executable. Visual Studio by itself works perfectly fine, so I doubt something went wrong during the installation.
10-19-2015, 09:22 PM
Okay, lets try it. Here is the batch file. Copy it into the directory
Code: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VCThanks given by: NiLSPACE
10-19-2015, 09:31 PM
Nope, didn't work. It says I might be missing the tools for the configuration. Oh, well.. it was worth a shot.
10-19-2015, 09:35 PM
(This post was last modified: 10-19-2015, 09:39 PM by Seadragon91.)
Okay another try. Please post the folder names in the bin directory
![]() Edit: Could you try the answer in this question? http://stackoverflow.com/questions/31619...tudio-2015
I think you've found the problem. I'm installing the C++ tools now
Thanks allot ;DArch, okay, cmake now finds the compiler, but when it comes to JsonCpp it just crashes.. Code: D:\Projects\cuberite 2015-10-19>cmake -G "Visual Studio 14 2015 Win64" .
-- The CXX compiler identification is MSVC 19.0.23026.0
-- The C compiler identification is MSVC 19.0.23026.0
-- Check for working CXX compiler using: Visual Studio 14 2015 Win64
-- Check for working CXX compiler using: Visual Studio 14 2015 Win64 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler using: Visual Studio 14 2015 Win64
-- Check for working C compiler using: Visual Studio 14 2015 Win64 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Warning (dev) at SetFlags.cmake:131 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "MSVC" will no longer be dereferenced when the policy
is set to NEW. Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
CMakeLists.txt:110 (set_flags)
This warning is for project developers. Use -Wno-dev to suppress it.
-- JsonCpp Version: 1.6.4
10-19-2015, 10:57 PM
(This post was last modified: 10-19-2015, 10:58 PM by Seadragon91.)
The current version of JsonCpp we are using in cuberite has a bug, that causes cmake 3.4 to crash. I had downgraded cmake to 3.2 to fix that, but this can also be fixed by upgrading Jsoncpp to latest git commit.
Do that by running this command inside of lib/jsoncpp. Code: git pull origin masterThanks given by: NiLSPACE
10-19-2015, 11:06 PM
Thanks, that worked. I think we should update jsoncpp then, because new people who have the newest cmake could bail out when the manual suddenly doesn't work.
10-19-2015, 11:59 PM
I've slightly modified the forum's style. It set the minimum width to 1000px, which means we no longer have weird bars when you scroll right on small screens.
Thanks given by: Seadragon91 , tonibm19 , Mathias
|
|
« Next Oldest | Next Newest »
|