Created
May 7, 2017 05:07
-
-
Save tckb/9ba9bfdebeba069571297652d908757b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:28:58] | |
> cmake ../wdt -DBUILD_TESTING=1 | |
-- The C compiler identification is AppleClang 8.0.0.8000042 | |
-- The CXX compiler identification is AppleClang 8.0.0.8000042 | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc | |
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ | |
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
CMake Error at CMakeLists.txt:60 (MESSAGE): | |
/Users/tckb/Documents/Work/wdt/../folly/folly/Conv.h not found | |
Fix using: | |
(in a sister directory of the wdt source tree - same level:) | |
git clone https://github.com/facebook/folly.git | |
or change FOLLY_SOURCE_DIR (use ccmake or -DFOLLY_SOURCE_DIR=...) | |
-- Configuring incomplete, errors occurred! | |
See also "/Users/tckb/Documents/Work/wdt_build/CMakeFiles/CMakeOutput.log". | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:29:05] | |
1 > cmake ../wdt -DBUILD_TESTING=1 -DFOLLY_SOURCE_DIR=../wdt/folly/ | |
.git/ .gitignore CMake/ CMakeLists.txt LICENSE README.md folly/ folly-config.h | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:29:05] | |
1 > cmake ../wdt -DBUILD_TESTING=1 -DFOLLY_SOURCE_DIR=../wdt/folly/ | |
CMake Warning at cmake-3.6.1-Darwin-x86_64/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:743 (message): | |
Imported targets not available for Boost version 106400 | |
Call Stack (most recent call first): | |
cmake-3.6.1-Darwin-x86_64/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES) | |
cmake-3.6.1-Darwin-x86_64/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES) | |
CMakeLists.txt:119 (find_package) | |
-- Boost version: 1.64.0 | |
-- Found the following Boost libraries: | |
-- system | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Looking for pthread_create | |
-- Looking for pthread_create - found | |
-- Found Threads: TRUE | |
-- Found OpenSSL: /usr/local/opt/openssl/lib/libssl.dylib;/usr/local/opt/openssl/lib/libcrypto.dylib (found version "1.0.2k") | |
-- Looking for posix_fallocate | |
-- Looking for posix_fallocate - not found | |
-- Looking for sync_file_range | |
-- Looking for sync_file_range - not found | |
-- Looking for posix_memalign | |
-- Looking for posix_memalign - found | |
-- Looking for posix_fadvise | |
-- Looking for posix_fadvise - not found | |
-- Looking for clock_gettime | |
-- Looking for clock_gettime - found | |
-- Looking for memrchr | |
-- Looking for memrchr - not found | |
-- Looking for pthread_atfork | |
-- Looking for pthread_atfork - found | |
-- Looking for C++ include malloc.h | |
-- Looking for C++ include malloc.h - not found | |
-- Looking for C++ include features.h | |
-- Looking for C++ include features.h - not found | |
-- Looking for C++ include bits/c++config.h | |
-- Looking for C++ include bits/c++config.h - not found | |
-- Looking for C++ include bits/functexcept.h | |
-- Looking for C++ include bits/functexcept.h - not found | |
-- Looking for C++ include linux/sockios.h | |
-- Looking for C++ include linux/sockios.h - not found | |
-- Performing Test FOLLY_USE_LIBCPP | |
-- Performing Test FOLLY_USE_LIBCPP - Success | |
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS | |
-- Performing Test FOLLY_HAVE_WEAK_SYMBOLS - Failed | |
-- no weak symbols, adding MallocImpl to folly src | |
-- no bits/functexcept.h, adding FunctionalExcept to folly src | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/tckb/Documents/Work/wdt_build | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:29:42] | |
> ls | |
total 200 | |
7911718 drwxr-xr-x 3 tckb staff 102B May 7 10:29 wdt/ | |
7911721 drwxr-xr-x 4 tckb staff 136B May 7 10:29 gtest/ | |
7911715 drwxr-xr-x 3 tckb staff 102B May 7 10:29 folly/ | |
7911919 -rw-r--r-- 1 tckb staff 10K May 7 10:29 cmake_install.cmake | |
7911750 drwxr-xr-x 3 tckb staff 102B May 7 10:29 _bin/ | |
7911917 -rw-r--r-- 1 tckb staff 62K May 7 10:29 Makefile | |
7911920 -rw-r--r-- 1 tckb staff 2.3K May 7 10:29 CTestTestfile.cmake | |
7911026 drwxr-xr-x 38 tckb staff 1.3K May 7 10:29 CMakeFiles/ | |
7911733 -rw-r--r-- 1 tckb staff 20K May 7 10:29 CMakeCache.txt | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:00] | |
> ls wdt/ | |
total 8 | |
7911720 -rwxr-xr-x 1 tckb staff 896B May 7 10:29 WdtConfig.h | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:03] | |
> ls folly/ | |
total 8 | |
7911717 -rwxr-xr-x 1 tckb staff 698B May 7 10:29 folly-config.h | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:10] | |
> ls _bin/ | |
total 0 | |
7911751 drwxr-xr-x 4 tckb staff 136B May 7 10:29 wdt/ | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:17] | |
> ls _bin/wdt/ | |
total 0 | |
7911905 drwxr-xr-x 2 tckb staff 68B May 7 10:29 short_flags/ | |
7911752 drwxr-xr-x 2 tckb staff 68B May 7 10:29 bench/ | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:20] | |
> clear | |
tckb@tckb-jvx [~/Documents/Work/wdt_build] ○ [10:30:26] | |
> make -j 4 | |
Scanning dependencies of target gtest | |
Scanning dependencies of target folly4wdt | |
Scanning dependencies of target wdtbenchlib | |
[ 1%] Creating directories for 'gtest' | |
[ 2%] Building CXX object CMakeFiles/wdtbenchlib.dir/bench/Bigram.cpp.o | |
[ 3%] Performing download step (git clone) for 'gtest' | |
[ 4%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Conv.cpp.o | |
[ 5%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Demangle.cpp.o | |
[ 6%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/Checksum.cpp.o | |
[ 8%] Linking CXX shared library libwdtbenchlib.dylib | |
[ 8%] Built target wdtbenchlib | |
[ 9%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/ScopeGuard.cpp.o | |
[ 10%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/detail/MallocImpl.cpp.o | |
Scanning dependencies of target wdt_gen_files | |
[ 11%] Building CXX object CMakeFiles/wdt_gen_files.dir/bench/wdtGenFiles.cpp.o | |
Scanning dependencies of target wdt_gen_stats | |
[ 12%] Building CXX object CMakeFiles/wdt_gen_stats.dir/bench/wdtStats.cpp.o | |
[ 13%] Building CXX object CMakeFiles/folly4wdt.dir/folly/folly/portability/BitsFunctexcept.cpp.o | |
[ 15%] Linking CXX shared library libfolly4wdt.dylib | |
[ 15%] Built target folly4wdt | |
Scanning dependencies of target wdt_min | |
[ 16%] Building CXX object CMakeFiles/wdt_min.dir/util/WdtSocket.cpp.o | |
[ 17%] Linking CXX executable _bin/wdt/wdt_gen_stats | |
[ 17%] Built target wdt_gen_stats | |
[ 18%] Building CXX object CMakeFiles/wdt_min.dir/util/ClientSocket.cpp.o | |
[ 19%] Linking CXX executable _bin/wdt/bench/wdt_gen_files | |
[ 19%] Built target wdt_gen_files | |
[ 20%] Building CXX object CMakeFiles/wdt_min.dir/util/EncryptionUtils.cpp.o | |
[ 22%] Building CXX object CMakeFiles/wdt_min.dir/util/DirectorySourceQueue.cpp.o | |
[ 23%] Building CXX object CMakeFiles/wdt_min.dir/ErrorCodes.cpp.o | |
[ 24%] Building CXX object CMakeFiles/wdt_min.dir/util/FileByteSource.cpp.o | |
[ 25%] Building CXX object CMakeFiles/wdt_min.dir/util/FileCreator.cpp.o | |
[ 26%] Building CXX object CMakeFiles/wdt_min.dir/Protocol.cpp.o | |
[ 27%] Building CXX object CMakeFiles/wdt_min.dir/WdtThread.cpp.o | |
[ 29%] Building CXX object CMakeFiles/wdt_min.dir/util/ThreadsController.cpp.o | |
-- gtest download command succeeded. See also /Users/tckb/Documents/Work/wdt_build/gtest/src/gtest-stamp/gtest-download-*.log | |
[ 30%] No patch step for 'gtest' | |
[ 31%] No update step for 'gtest' | |
[ 32%] Performing configure step for 'gtest' | |
[ 33%] Building CXX object CMakeFiles/wdt_min.dir/ReceiverThread.cpp.o | |
[ 34%] Building CXX object CMakeFiles/wdt_min.dir/Receiver.cpp.o | |
[ 36%] Building CXX object CMakeFiles/wdt_min.dir/WdtTransferRequest.cpp.o | |
-- gtest configure command succeeded. See also /Users/tckb/Documents/Work/wdt_build/gtest/src/gtest-stamp/gtest-configure-*.log | |
[ 37%] Performing build step for 'gtest' | |
[ 38%] Building CXX object CMakeFiles/wdt_min.dir/Reporting.cpp.o | |
[ 39%] Building CXX object CMakeFiles/wdt_min.dir/util/ThreadTransferHistory.cpp.o | |
[ 40%] Building CXX object CMakeFiles/wdt_min.dir/SenderThread.cpp.o | |
[ 41%] Building CXX object CMakeFiles/wdt_min.dir/Sender.cpp.o | |
In file included from /Users/tckb/Documents/Work/wdt/SenderThread.cpp:9: | |
/Users/tckb/Documents/Work/wdt/../wdt/SenderThread.h:86:31: error: no member named 'to' in namespace 'folly' | |
threadStats_.setId(folly::to<std::string>(threadIndex_)); | |
~~~~~~~^ | |
/Users/tckb/Documents/Work/wdt/../wdt/SenderThread.h:86:45: error: expected '(' for function-style cast or type construction | |
threadStats_.setId(folly::to<std::string>(threadIndex_)); | |
~~~~~~~~~~~^ | |
[ 43%] Building CXX object CMakeFiles/wdt_min.dir/util/ServerSocket.cpp.o | |
2 errors generated. | |
make[2]: *** [CMakeFiles/wdt_min.dir/SenderThread.cpp.o] Error 1 | |
make[2]: *** Waiting for unfinished jobs.... | |
-- gtest build command succeeded. See also /Users/tckb/Documents/Work/wdt_build/gtest/src/gtest-stamp/gtest-build-*.log | |
[ 44%] No install step for 'gtest' | |
[ 45%] Completed 'gtest' | |
[ 45%] Built target gtest | |
Scanning dependencies of target wdtbenchtestslib | |
[ 46%] Building CXX object CMakeFiles/wdtbenchtestslib.dir/bench/WdtGenTestUtils.cpp.o | |
In file included from /Users/tckb/Documents/Work/wdt/Sender.cpp:11: | |
/Users/tckb/Documents/Work/wdt/../wdt/SenderThread.h:86:31: error: no member named 'to' in namespace 'folly' | |
threadStats_.setId(folly::to<std::string>(threadIndex_)); | |
~~~~~~~^ | |
/Users/tckb/Documents/Work/wdt/../wdt/SenderThread.h:86:45: error: expected '(' for function-style cast or type construction | |
threadStats_.setId(folly::to<std::string>(threadIndex_)); | |
~~~~~~~~~~~^ | |
[ 47%] Linking CXX shared library libwdtbenchtestslib.dylib | |
[ 47%] Built target wdtbenchtestslib | |
Scanning dependencies of target wdt_gen_test | |
[ 48%] Building CXX object CMakeFiles/wdt_gen_test.dir/bench/wdtGenTest.cpp.o | |
2 errors generated. | |
make[2]: *** [CMakeFiles/wdt_min.dir/Sender.cpp.o] Error 1 | |
make[1]: *** [CMakeFiles/wdt_min.dir/all] Error 2 | |
make[1]: *** Waiting for unfinished jobs.... | |
[ 50%] Linking CXX executable _bin/wdt/wdt_gen_test | |
[ 50%] Built target wdt_gen_test | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment