-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation on MacOS #150
Comments
Hi. 建议维护一个conan repo |
按照以上步骤执行,还是报错
[ 98%] Linking CXX shared library ../../_lib/libworkflow.dylib
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../_lib/libworkflow.dylib] Error 1
make[2]: *** [src/CMakeFiles/workflow-shared.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2 |
你好,我们昨天对cmake有一些改动,为了兼容更多系统,所以改动略大,今天在持续修复中。 |
更新了master,可以再试一下。 |
mac编译通过,谢谢! |
使用master碰到一样的问题
|
目前最新master或0.9.10的release有这个问题?你可以改一下cmake,先把动态库的编译先去了。在src/CMakeLists.txt里。 |
你好: CMake Error at CMakeLists.txt:13 (find_package):
Add the installation prefix of "workflow" to CMAKE_PREFIX_PATH or set -- Configuring incomplete, errors occurred! |
@aquilius2022 git clone https://github.com/sogou/workflow
cd workflow
make
cd tutorial
make |
@Barenboim, |
Workflow需要依赖OpenSSL(推荐1.1及以上版本)和Cmake(要求3.6以上版本),以下为安装步骤:
安装
OpenSSL
安装
CMake
指定
OpenSSL
环境变量由于MacOS下默认有LibreSSL,因此在brew安装后,并不会自动建软链,我们需要手动把执行路径、编译路径、cmake时的find_package路径都配置到bash的环境变量中。用户可以执行
brew info openssl
查看相关信息,也可以如下配置:如果使用zsh,则还需要以下一步,把bash的配置加载一下:
The text was updated successfully, but these errors were encountered: