FHBOL opened a new issue, #2880:
URL: https://github.com/apache/brpc/issues/2880

   分支:On branch 1.9.0
   通过cmake方式构建
   
   
![Image](https://github.com/user-attachments/assets/867af39e-25fb-4c07-8d19-254541e9737d)
   
   CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required):
     Compatibility with CMake < 2.8.12 will be removed from a future version of
     CMake.
   
     Update the VERSION argument <min> value or use a ...<max> suffix to tell
     CMake that the project does not need compatibility with older versions.
   
   
   -- The C compiler identification is Clang 14.0.0
   -- The CXX compiler identification is Clang 14.0.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: /usr/bin/clang - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- Detecting CXX compiler ABI info
   -- Detecting CXX compiler ABI info - done
   -- Check for working CXX compiler: /usr/bin/clang++ - skipped
   -- Detecting CXX compile features
   -- Detecting CXX compile features - done
   -- Looking for pthread.h
   -- Looking for pthread.h - found
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
   -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
   -- Found Threads: TRUE  
   -- Found Protobuf: /usr/local/lib/libprotobuf.so (found version "3.19.4") 
   CMake Error at CMakeLists.txt:50 (message):
     Fail to find brpc
   
   
   -- Configuring incomplete, errors occurred!
   See also 
"/home/fanghongbin/brpc/example/echo_c++/build/CMakeFiles/CMakeOutput.log".
   
   
   
   
   构建目录
   f@DESKTOP-UB1M0MH:~/brpc/build$ ls output/
   bin  include  lib
   f@DESKTOP-UB1M0MH:~/brpc/build$ ls output/lib/
   libbrpc.a
   只有静态库没有动态库


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to