![]() ![]() Building CXX object CMakeFiles/hw_grpc_proto.dir/hw_grpc_proto_autogen/mocs_ Scanning dependencies of target hw_grpc_proto Automatic MOC and UIC for target hw_grpc_proto Scanning dependencies of target hello_autogen Scanning dependencies of target hw_grpc_proto_autogen Build files have been written to: make -j4 Set_property(SOURCE file.h PROPERTY SKIP_AUTOGEN ON) Processed, explicitly exclude them by setting the source file property "/home/jj/Desktop/qt/hello/helloworld.pb.h"įrom processing by AUTOMOC and AUTOUIC. "/home/jj/Desktop/qt/hello/helloworld.pb.cc" Use the cmake_policyĬommand to set the policy and suppress this warning.įor compatibility, CMake is excluding the GENERATED source file(s): Run "cmake -help-policy CMP0071" for policy details. Policy CMP0071 is not set: Let AUTOMOC and AUTOUIC process GENERATED files. usr/lib/cmake/protobuf/protobuf-config.cmake:2 (include) Normal variable 'protobuf_MODULE_COMPATIBLE'. Set the policy and suppress this warning.įor compatibility with older versions of CMake, option is clearing the help-policy CMP0077" for policy details. Policy CMP0077 is not set: option() honors normal variables. Looking for pthread_create in pthread - foundĬMake Warning (dev) at /usr/lib/cmake/protobuf/protobuf-options.cmake:6 (option): Looking for pthread_create in pthreads - not found Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed Performing Test CMAKE_HAVE_LIBC_PTHREAD Check for working CXX compiler: /usr/bin/c++ - works Check for working CXX compiler: /usr/bin/c++ Check for working C compiler: /usr/bin/cc - works Check for working C compiler: /usr/bin/cc The CXX compiler identification is GNU 9.3.0 The C compiler identification is GNU 9.3.0 I not sure how to "bind" gRPC into qt, even though I manually copy the required folder into the same level dir, it can detect the gRPC folder, but the result is undefined error as shown below. However, I cannot import gRPC library in main.cpp Get_filename_component(hw_proto "./helloworld.proto" ABSOLUTE) Then, I combine the cmakelist of grpc in helloworld example with qt. FYI, I hope that I can build a Qt app itself without using the SDK in qt but seems like the progress is not so good. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |