You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Mark Schaefer (JIRA)" <ji...@apache.org> on 2016/08/16 16:27:22 UTC

[jira] [Created] (PARQUET-679) Could Windows be added for Parquet-CPP CMake?

Mark Schaefer created PARQUET-679:
-------------------------------------

             Summary: Could Windows be added for Parquet-CPP CMake?
                 Key: PARQUET-679
                 URL: https://issues.apache.org/jira/browse/PARQUET-679
             Project: Parquet
          Issue Type: Improvement
          Components: parquet-cpp
         Environment: Visual Studio 2015
            Reporter: Mark Schaefer


Hi, I installed all of the prerequisites for parquet-cpp under Windows and started working though the cmake process. For the most part, I added some search names to the FindXXX scripts, and that worked okay, but now it appears that I'm stuck. The CompilerInfo.cmake script is trying to differentiate between clang and gcc, but has no options for Windows. I know other Apache projects are cross platform, including Thrift, which I was able to build.

I'm wondering if Windows support is on the short-term roadmap, whether I would be able to potentially contribute some patches, although I'm a  CMake newbie, or whether I should just try to create a solution in VS to build it manually.

Here is the error:

C:\HDFS\parquet-cpp-master>cmake .
clang-tidy not found
clang-format not found
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:946 ] _boost
_TEST_VERSIONS = 1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:948 ] Boost_USE_MULTITHREADED = ON
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:950 ] Boost_USE_STATIC_LIBS =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:952 ] Boost_USE_STATIC_RUNTIME =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:954 ] Boost_ADDITIONAL_VERSIONS =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:956 ] Boost_NO_SYSTEM_PATHS =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1024 ] Declared as CMake or Environmental Variables:
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1026 ]   BOOST_ROOT =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1028 ]   BOOST_INCLUDEDIR =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1030 ]   BOOST_LIBRARYDIR =
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1032 ] _boost_TEST_VERSIONS = 1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33

-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1125 ] location of version.hpp: C:/HDFS/boost_1_61_0/boost/version.hpp
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1149 ] version.hpp reveals boost 1.61.0
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1235 ] guessed _boost_COMPILER = -vc140
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1245 ] _boost_MULTITHREADED = -mt
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1288 ] _boost_RELEASE_ABI_TAG = -
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1290 ] _boost_DEBUG_ABI_TAG = -gd
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1344 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = C:/HDFS/boost_1_61_0/lib;C:/HDFS/boost_1_61_0/../lib;C:/HDFS/boost_1_61_0/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib_boost_LIBRARY_SEARCH_DIRS_DEBUG   = C:/HDFS/boost_1_61_0/lib;C:/HDFS/boost_1_61_0/../lib;C:/HDFS/boost_1_61_0/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib
-- [ C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1595 ] Boost_FOUND = 1
-- Boost version: 1.61.0
-- Boost include dir: C:/HDFS/boost_1_61_0
-- Boost libraries:
-- THRIFT_HOME: C:/HDFS/ApacheThrift
-- Thrift version: Thrift version 0.9.3
-- Thrift include dir: C:/HDFS/ApacheThrift/include
-- Thrift contrib dir: THRIFT_CONTRIB_DIR-NOTFOUND
-- Thrift library path: C:/HDFS/ApacheThrift/lib/thriftmdd.lib
-- Thrift static library: THRIFT_STATIC_LIB_PATH-NOTFOUND/libthrift.a
-- Thrift compiler: C:/HDFS/ApacheThrift/bin/thrift.exe
-- Found the Snappy library: C:/HDFS/Snappy/native/snappy64.lib
-- Found the ZLIB library: C:/HDFS/zlib/lib/zlibstaticd.lib
-- Found the GTest library: C:/HDFS/gtest/lib/gtest.lib
-- Build Type: DEBUG
INFO Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cl : Command line warning D9002 : ignoring unknown option '-v'
cl : Command line error D8003 : missing source filename

CMake Error at cmake_modules/CompilerInfo.cmake:46 (message):
  Unknown compiler.  Version info:

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl : Command line warning D9002 : ignoring unknown option '-v'
  cl : Command line error D8003 : missing source filename

Call Stack (most recent call first):
  CMakeLists.txt:370 (include)

-- Configuring incomplete, errors occurred!
See also "C:/HDFS/parquet-cpp-master/CMakeFiles/CMakeOutput.log".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)