Comments (3)
手动编译也报错
zyf@zyfdeiMac ~ % cd /Users/zyf/Desktop/Project/simple-master
zyf@zyfdeiMac simple-master % mkdir build
zyf@zyfdeiMac simple-master % cd build
zyf@zyfdeiMac build % cmake ..
-- The C compiler identification is AppleClang 12.0.0.12000032
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/zyf/Desktop/Project/simple-master/build/test/googletest-download
Scanning dependencies of target googletest
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (download, verify and extract) for 'googletest'
-- Downloading...
dst='/Users/zyf/Desktop/Project/simple-master/build/test/googletest-download/googletest-prefix/src/release-1.10.0.zip'
timeout='none'
-- Using src='https://github.com/google/googletest/archive/release-1.10.0.zip'
-- [download 100% complete]
-- Downloading... done
-- extracting...
src='/Users/zyf/Desktop/Project/simple-master/build/test/googletest-download/googletest-prefix/src/release-1.10.0.zip'
dst='/Users/zyf/Desktop/Project/simple-master/build/test/googletest-src'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No patch step for 'googletest'
[ 44%] No update step for 'googletest'
[ 55%] No configure step for 'googletest'
[ 66%] No build step for 'googletest'
[ 77%] No install step for 'googletest'
[ 88%] No test step for 'googletest'
[100%] Completed 'googletest'
[100%] Built target googletest
-- Found PythonInterp: /usr/bin/python (found version "2.7.16")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
CMake Warning (dev) at /Users/zyf/Library/Android/sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/GoogleTest.cmake:254 (if):
Policy CMP0057 is not set: Support new IN_LIST if() operator. Run "cmake
--help-policy CMP0057" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
IN_LIST will be interpreted as an operator 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):
test/CMakeLists.txt:44 (gtest_add_tests)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /Users/zyf/Library/Android/sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/GoogleTest.cmake:254 (if):
if given arguments:
"TARGET" "IN_LIST" "allKeywords"
Unknown arguments specified
Call Stack (most recent call first):
test/CMakeLists.txt:44 (gtest_add_tests)
-- Configuring incomplete, errors occurred!
See also "/Users/zyf/Desktop/Project/simple-master/build/CMakeFiles/CMakeOutput.log".
from simple.
第一个错是因为你的机器连不上 github: curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused。
这个脚本会去 github 下载一个 bash 的脚本,不过只是为了好看
from simple.
第二个错是因为你的 cmake 版本有点旧有个 bug,参考 maps-gpu/MAPS#7 (comment)
不过我已经按照它的建议做了一个 fix, 你可以再试试
from simple.
Related Issues (20)
- macos下无法加载插件 HOT 3
- 从后往前匹配失败 HOT 3
- macos 设置最小化版本无效问题 HOT 1
- windows下编译出来的解析中文时会崩溃 HOT 2
- 有可能不编译pinyin功能来避免引动端的包体增长过大么 HOT 7
- simple_highlight_pos 内容有空格时候返回值不对 HOT 1
- 插件加载的时机? HOT 3
- windows下go的example运行报错: error during initialization: HOT 3
- 如何通过 simple_highlight_pos 获取全部的高亮?
- java HOT 1
- “找不到指定模块 ”错误 HOT 6
- 虚拟表字段声明UNINDEXED,会增加存储空间吗? HOT 6
- 支持pip install HOT 1
- Go Example运行问题 HOT 4
- 在electron上引入的时候,在几个用户电脑上会报DevTools was disconnected from the page. HOT 5
- 使用工具加载dll时,提示错误 HOT 4
- 命令行进行加载dll 失败 HOT 1
- 怎么关闭拼音? HOT 2
- 搜索重复的内容问题 HOT 4
- 实现微信最新优化的几个功能
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simple.