Random Chitchat 2012-2016
I'll do that, but perhaps you can upload the file? Wink
Thanks given by:
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 itConfused.

Or something did go wrong during the installation.
Thanks given by:
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.
Thanks given by:
Okay, lets try it. Here is the batch file. Copy it into the directory
Code:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
Rename the file extension to .bat, had to change it to allow upload.


Attached Files
.txt   vcvarsall.txt (Size: 2.03 KB / Downloads: 314)
Thanks given by: NiLSPACE
Nope, didn't work. It says I might be missing the tools for the configuration. Oh, well.. it was worth a shot.
Thanks given by:
Okay another try. Please post the folder names in the bin directoryTongue

Edit: Could you try the answer in this question?
http://stackoverflow.com/questions/31619...tudio-2015
Thanks given by:
I think you've found the problem. I'm installing the C++ tools now Smile Thanks allot ;D

Arch, 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
Thanks given by:
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 master
Thanks given by: NiLSPACE
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.
Thanks given by:
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




Users browsing this thread: 58 Guest(s)