facebookincubator / katran

A high performance layer 4 load balancer
GNU General Public License v2.0
4.75k stars 504 forks source link

build example error #214

Closed swimlessbird closed 7 months ago

swimlessbird commented 10 months ago

Use cmake to build katran, the following error message is displayed:

[root@localhost build]# cmake ..
CMake Error at CMakeLists.txt:8 (include):
  include could not find requested file:

    /fbthrift/ThriftLibrary.cmake

CMake Error at CMakeLists.txt:15 (thrift_object):
  Unknown CMake command "thrift_object".

-- Configuring incomplete, errors occurred!
See also "/root/code/katran/example/build/CMakeFiles/CMakeOutput.log".
[root@localhost build]# pwd
/root/code/katran/example/build
swimlessbird commented 10 months ago

Installed fbthrift

Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/include/thrift/ThriftLibrary.cmake
-- Up-to-date: /usr/local/lib/cmake/fbthrift/FBThriftConfig.cmake
-- Up-to-date: /usr/local/lib/cmake/fbthrift/FBThriftTargets.cmake
-- Up-to-date: /usr/local/lib/cmake/fbthrift/FBThriftTargets-noconfig.cmake
github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. If you'd still having this issue please make a comment, make sure you've addressed any follow ups!

github-actions[bot] commented 7 months ago

This issue has been closed because it has not had recent activity. If you are still having this issue please feel free to create a new one.