alibaba / alibaba/euler

Mac上编译源代码遇到的问题

Open
#68 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
2.9k
Forks
553
PR merge metrics
No merged PRs in 30d

Description

在mac上编译时遇到图中所报的错误,求解。

> -- tensorflow_framework library found: in TF_FRAMEWORK-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
TF_FRAMEWORK
linked by target "tf_euler" in directory /Users/dysaccount/Desktop/code/library/euler/tf_euler

> --Configuring incomplete, errors occurred!
See also "/Users/dysaccount/Desktop/code/library/euler/build/CMakeFiles/CMakeOutput.log".
See also "/Users/dysaccount/Desktop/code/library/euler/build/CMakeFiles/CMakeError.log".

我的clang版本信息如下:

> Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

cmake版本信息如下:

> cmake version 3.12.4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the repository's CMake configuration for the tf_euler target and inspect the referenced build/CMakeOutput.log and build/CMakeError.log files. Trace how TF_FRAMEWORK is located on macOS with the reported CMake and Clang versions; done means configuration completes without TF_FRAMEWORK-NOTFOUND and the tf_euler target can be generated.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, macos
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.