Closed Ein04 closed 9 months ago
Reference to "agent_state_proto_lib" in the target link libraries was not removed in grpc/CMaketLists.txt in the previous commit #223, which causes linking failure when installing the python module.
grpc/CMaketLists.txt
See error below.
... [1503/1504] Linking CXX executable bin/ui_agent_server FAILED: bin/ui_agent_server : && /usr/bin/clang++ -g _deps/mujoco-build/simulate/CMakeFiles/platform_ui_adapter.dir/glfw_adapter.cc.o _deps/mujoco-build/simulate/CMakeFiles/platform_ui_adapter.dir/glfw_dispatch.cc.o _deps/mujoco-build/simulate/CMakeFiles/platform_ui_adapter.dir/platform_ui_adapter.cc.o mjpc/grpc/CMakeFiles/ui_agent_server.dir/ui_agent_server.cc.o -o bin/ui_agent_server -Wl,-rpath,/home/ruiyu/Projects/playground/mujoco_mpc/build/lib lib/libmjpc_ui_agent_service.a lib/libgrpc++.a lib/libprotobufd.a lib/libgrpc++_reflection.a lib/libabsl_flags.a lib/libabsl_flags_parse.a lib/libabsl_status.a lib/libabsl_strings.a -lagent_state_proto_lib lib/libglfw3.a lib/libmjpc.a lib/libglfw3.a /usr/lib/x86_64-linux-gnu/librt.a -lm /usr/lib/x86_64-linux-gnu/libX11.so lib/liblodepng.a lib/libmujoco.so.3.0.1 lib/libagent_service_proto_lib.a lib/libgrpc++_reflection.a lib/libgrpc++.a lib/libgrpc.a _deps/grpc-build/third_party/cares/cares/lib/libcares.a lib/libaddress_sorting.a lib/libre2.a lib/libupb.a lib/libabsl_statusor.a lib/libgpr.a lib/libabsl_status.a lib/libabsl_random_distributions.a lib/libabsl_random_seed_sequences.a lib/libabsl_random_internal_pool_urbg.a lib/libabsl_random_internal_randen.a lib/libabsl_random_internal_randen_hwaes.a lib/libabsl_random_internal_randen_hwaes_impl.a lib/libabsl_random_internal_randen_slow.a lib/libabsl_random_internal_platform.a lib/libabsl_random_internal_seed_material.a lib/libabsl_random_seed_gen_exception.a lib/libssl.a lib/libcrypto.a -lpthread lib/libprotobufd.a lib/libz.a -ldl -lm -lrt lib/libabsl_log_internal_check_op.a lib/libabsl_log_internal_conditions.a lib/libabsl_log_internal_message.a lib/libabsl_strerror.a lib/libabsl_log_internal_nullguard.a lib/libabsl_examine_stack.a lib/libabsl_log_internal_format.a lib/libabsl_log_internal_proto.a lib/libabsl_log_internal_log_sink_set.a lib/libabsl_log_internal_globals.a lib/libabsl_log_globals.a lib/libabsl_log_sink.a lib/libabsl_log_entry.a lib/libthreadpool.a lib/libabsl_flags_usage.a lib/libabsl_flags_usage_internal.a lib/libabsl_flags.a lib/libabsl_flags_internal.a lib/libabsl_flags_marshalling.a lib/libabsl_flags_reflection.a lib/libabsl_flags_config.a lib/libabsl_flags_private_handle_accessor.a lib/libabsl_flags_commandlineflag.a lib/libabsl_flags_commandlineflag_internal.a lib/libabsl_flags_program_name.a lib/libabsl_cord.a lib/libabsl_cordz_info.a lib/libabsl_cord_internal.a lib/libabsl_cordz_functions.a lib/libabsl_cordz_handle.a lib/libabsl_crc_cord_state.a lib/libabsl_crc32c.a lib/libabsl_str_format_internal.a lib/libabsl_crc_internal.a lib/libabsl_crc_cpu_detect.a lib/libabsl_raw_hash_set.a lib/libabsl_hash.a lib/libabsl_bad_optional_access.a lib/libabsl_city.a lib/libabsl_bad_variant_access.a lib/libabsl_low_level_hash.a lib/libabsl_hashtablez_sampler.a lib/libabsl_exponential_biased.a lib/libabsl_synchronization.a lib/libabsl_stacktrace.a lib/libabsl_symbolize.a lib/libabsl_debugging_internal.a lib/libabsl_demangle_internal.a lib/libabsl_graphcycles_internal.a lib/libabsl_kernel_timeout_internal.a lib/libabsl_malloc_internal.a lib/libabsl_time.a lib/libabsl_strings.a lib/libabsl_string_view.a lib/libabsl_strings_internal.a lib/libabsl_throw_delegate.a lib/libabsl_base.a lib/libabsl_spinlock_wait.a -lrt lib/libabsl_raw_logging_internal.a lib/libabsl_log_severity.a lib/libabsl_int128.a lib/libabsl_civil_time.a lib/libabsl_time_zone.a && : /usr/bin/ld: cannot find -lagent_state_proto_lib: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) [1504/1504] Linking CXX executable bin/agent_server ninja: build stopped: subcommand failed.
Reference to "agent_state_proto_lib" in the target link libraries was not removed in
grpc/CMaketLists.txt
in the previous commit #223, which causes linking failure when installing the python module.See error below.