File tree Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Expand file tree Collapse file tree 5 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 5656
5757 - name : Install dependencies
5858 run : |
59- brew install abseil cmake boost grpc protobuf xtensor
59+ brew install cmake boost grpc protobuf xtensor
6060 brew install pkg-config ninja buf
6161
6262 - name : Setup build directory
Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ guide, before continuing further.
2727The project depends on [ CMake] ( https://cmake.org/ ) >= 3.25,
2828[ Boost] ( https://www.boost.org/ ) >= 1.74, [ gRPC] ( https://grpc.io/ ) >=
29291.30.2, [ protobuf] ( https://protobuf.dev/overview/ ) >= 3.12.4,
30- [ xtensor] ( https://github.com/xtensor-stack/xtensor ) >= 0.24.3,
31- [ abseil ] ( https://abseil.io/ ) and on the transitive dependencies of
30+ [ xtensor] ( https://github.com/xtensor-stack/xtensor ) >= 0.24.3
31+ and on the transitive dependencies of
3232those projects.
3333
3434You will need to install these required dependencies before building
3535the Viam C++ SDK, preferably by way of your system package manager:
3636
37- - Debian: ` apt-get install cmake build-essential libabsl-dev libboost-all-dev libgrpc++-dev libprotobuf-dev libxtensor-dev `
38- - MacOS with Homebrew: ` brew install abseil cmake boost grpc protobuf xtensor `
37+ - Debian: ` apt-get install cmake build-essential libboost-all-dev libgrpc++-dev libprotobuf-dev libxtensor-dev `
38+ - MacOS with Homebrew: ` brew install cmake boost grpc protobuf xtensor `
3939
4040There are also several optional or conditionally required dependencies:
4141
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def configure(self):
3939 # From some experiments it seems that the shared-ness of these packages
4040 # should match that of the SDK recipe. Failure to do so can cause linker
4141 # errors while compiling, or static initialization errors at runtime for modules.
42- for lib in ["grpc" , "protobuf" , "abseil" ]:
42+ for lib in ["grpc" , "protobuf" ]:
4343 self .options [lib ].shared = True
4444
4545 def requirements (self ):
@@ -51,7 +51,6 @@ def requirements(self):
5151 self .requires ('protobuf/[>=3.17.1]' , transitive_libs = True )
5252
5353 self .requires ('xtensor/[>=0.24.3]' )
54- self .requires ('abseil/[>=20230125.3]' , transitive_libs = True )
5554
5655 def build_requirements (self ):
5756 if self .options .offline_proto_generation :
@@ -119,8 +118,7 @@ def package_info(self):
119118 "xtensor::xtensor" ,
120119
121120 "viamapi" ,
122- "viam_rust_utils" ,
123- "abseil::absl_strings" ,
121+ "viam_rust_utils"
124122 ])
125123
126124 self .cpp_info .components ["viamsdk" ].frameworks = ["Security" ]
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ target_link_libraries(viamsdk
243243 PRIVATE ${VIAMCPPSDK_GRPCXX_LIBRARIES}
244244 PRIVATE ${VIAMCPPSDK_GRPC_LIBRARIES}
245245 PRIVATE ${VIAMCPPSDK_PROTOBUF_LIBRARIES}
246- PRIVATE absl::strings
247246 PRIVATE viam_rust_utils
248247 PRIVATE Threads::Threads
249248)
Original file line number Diff line number Diff line change 2020#include < type_traits>
2121#include < utility>
2222
23- #include < absl/strings/escaping.h>
2423#include < boost/variant/get.hpp>
2524
2625#include < viam/sdk/common/exception.hpp>
You can’t perform that action at this time.
0 commit comments