Problem with Zed SDK v. 3.2.0 for Zed 2 Camera

I try to compile Zed SDK v. 3.2.0 to use with Zed 2 Camera by use //third_party:zed as ref but I got this error.

How I can solve this problem?

zed_x86_64.BUILD

cc_import(
    name = "libsl_zed",
    shared_library = "x64/lib/libsl_zed.so",
)
cc_import(
    name = "libsl_ai",
    shared_library = "x64/lib/libsl_ai.so",
)
cc_library(
    name = "zed_x86_64",
    hdrs = glob(["include/**/*.hpp"]),
    includes = ["include"],
    visibility = ["//visibility:public"],
    deps = [
        ":libsl_zed",
        ":libsl_ai",
        "@com_nvidia_isaac//third_party:cuda",
        "@com_nvidia_isaac//third_party:npps",
        "@libjpeg//:jpeg",
        "@libusb",
        "@openmp//:openmp_dynamic",
    ],
)


**zed2.bzl** changing Zed SDK to 3.2.0

isaac_http_archive(
    name = "zed_x86_64",
    build_file = clean_dep("//third_party:zed_x86_64.BUILD"),
    sha256 = "fefeef8a00261a201a50a645a1dd4b5ac6ed3ef06c2ea09ff9e9278025e941d3",
    url = "https://www.dropbox.com/s/tiq8eu1k710mfrf/zed2-3-2-0-x86_64-cuda10-tar-xz.tar.xz?dl=1",
    # url = "https://developer.nvidia.com/isaac/download/third_party/zed-2-8-3-x86_64-cuda10-tar-xz",
    type = "tar.xz",
    licenses = ["@zed_x86_64//:LICENSE.txt"],
)

===================================================================

bazel run //apps/test_zed/project00001:test_app
INFO: Analyzed target //apps/test_zed/project00001:test_app (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
ERROR: /home/max/isaac-20.1/apps/test_zed/project00001/Zed2Camera/components/BUILD:13:1: Couldn't build file apps/test_zed/project00001/Zed2Camera/components/_objs/zed2_imu_reader/Zed2ImuReader.o: C++ compilation of rule '//apps/test_zed/project00001/Zed2Camera/components:zed2_imu_reader' failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF ... (remaining 286 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./engine/gems/serialization/json_formatter.hpp: In instantiation of 'static void isaac::serialization::json_formatter_details::JsonSerializer<T>::Set(isaac::Json&, T) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]':
./engine/gems/serialization/json_formatter.hpp:807:49:   required from 'void isaac::serialization::Set(isaac::Json&, T) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]'
./engine/alice/hooks/config_hook.hpp:150:23:   required from 'void isaac::alice::Parameter<T>::set(T&&, bool) [with T = sl::RESOLUTION]'
./apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:77:3:   required from here
./engine/gems/serialization/json_formatter.hpp:109:12: error: 'to_json' was not declared in this scope
     to_json(json, value);
     ~~~~~~~^~~~~~~~~~~~~
./engine/gems/serialization/json_formatter.hpp:109:12: note: suggested alternatives:
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./third_party/nlohmann/json.hpp:212:17: note:   'isaac::alice::to_json'
     inline void to_json(BasicJsonType& j, const ENUM_TYPE& e)                                  \
                 ^
./engine/alice/status.hpp:27:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(Status, {
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./third_party/nlohmann/json.hpp:2044:23: note:   'nlohmann::{anonymous}::to_json'
 constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;
                       ^~~~~~~
./third_party/nlohmann/json.hpp:2025:6: note:   'nlohmann::detail::to_json'
 void to_json(BasicJsonType& j, const std::tuple<Args...>& t)
      ^~~~~~~
./third_party/nlohmann/json.hpp:2044:23: note:   'nlohmann::{anonymous}::to_json'
 constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value;
                       ^~~~~~~
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./engine/gems/serialization/json_formatter.hpp:817:6: note:   'Eigen::to_json'
 void to_json(nlohmann::json& json, const T& value) {
      ^~~~~~~
./engine/gems/serialization/json_formatter.hpp: In instantiation of 'static std::experimental::fundamentals_v1::optional<_Tp> isaac::serialization::json_formatter_details::JsonSerializer<T>::TryGet(const Json&) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]':
./engine/gems/serialization/json_formatter.hpp:802:59:   required from 'std::experimental::fundamentals_v1::optional<_Tp> isaac::serialization::TryGet(const Json&) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]'
./engine/alice/hooks/config_hook.hpp:105:42:   required from 'bool isaac::alice::Parameter<T>::set(const json&) [with T = sl::RESOLUTION; nlohmann::json = nlohmann::basic_json<>]'
apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:139:1:   required from here
./engine/gems/serialization/json_formatter.hpp:102:16: error: 'from_json' was not declared in this scope
       from_json(json, x);
       ~~~~~~~~~^~~~~~~~~
./engine/gems/serialization/json_formatter.hpp:102:16: note: suggested alternatives:
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./third_party/nlohmann/json.hpp:224:17: note:   'isaac::alice::from_json'
     inline void from_json(const BasicJsonType& j, ENUM_TYPE& e)                                \
                 ^
./engine/alice/status.hpp:27:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(Status, {
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./third_party/nlohmann/json.hpp:1570:23: note:   'nlohmann::{anonymous}::from_json'
 constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::value;
                       ^~~~~~~~~
./third_party/nlohmann/json.hpp:1537:6: note:   'nlohmann::detail::from_json'
 void from_json(const BasicJsonType& j, std::unordered_map<Key, Value, Hash, KeyEqual, Allocator>& m)
      ^~~~~~~~~
./third_party/nlohmann/json.hpp:1570:23: note:   'nlohmann::{anonymous}::from_json'
 constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::value;
                       ^~~~~~~~~
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:14,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
./engine/gems/serialization/json_formatter.hpp:823:6: note:   'Eigen::from_json'
 void from_json(const nlohmann::json& json, T& value) {
      ^~~~~~~~~
In file included from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:16:0:
./apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp: In constructor 'isaac::Zed2Camera::Zed2Camera()':
./apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:36:7: error: 'sl::CameraInformation::calibration_parameters' is deprecated: Use camera_configuration.calibration_parameters instead [-Werror=deprecated-declarations]
 class Zed2Camera : public alice::Codelet {
       ^~~~~~~~~~
In file included from external/zed_x86_64/include/sl/Camera.hpp:1:0,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:17,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
external/zed_x86_64/include/sl_zed/Camera.hpp:3193:136: note: declared here
         /*@cond SHOWHIDDEN*/SL_DEPRECATED("Use camera_configuration.calibration_parameters instead")/*@endcond*/ CalibrationParameters calibration_parameters; /**< \deprecated see CameraConfiguration::calibration_parameters, Intrinsic and Extrinsic stereo parameters for rectified/undistorded images (default).*/
                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:16:0:
./apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:36:7: error: 'sl::CameraInformation::calibration_parameters_raw' is deprecated: Use camera_configuration.calibration_parameters_raw instead [-Werror=deprecated-declarations]
 class Zed2Camera : public alice::Codelet {
       ^~~~~~~~~~
In file included from external/zed_x86_64/include/sl/Camera.hpp:1:0,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.hpp:17,
                 from apps/test_zed/project00001/Zed2Camera/components/Zed2ImuReader.cpp:10:
external/zed_x86_64/include/sl_zed/Camera.hpp:3194:140: note: declared here
         /*@cond SHOWHIDDEN*/SL_DEPRECATED("Use camera_configuration.calibration_parameters_raw instead")/*@endcond*/ CalibrationParameters calibration_parameters_raw; /**< \deprecated see CameraConfiguration::calibration_parameters_raw, Intrinsic and Extrinsic stereo parameters for original images (unrectified/distorded).*/
                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
ERROR: /home/max/isaac-20.1/apps/test_zed/project00001/Zed2Camera/BUILD:16:1: Couldn't build file apps/test_zed/project00001/Zed2Camera/_objs/zed2_camera/Zed2Camera.o: C++ compilation of rule '//apps/test_zed/project00001/Zed2Camera:zed2_camera' failed (Exit 1) crosstool_wrapper_driver_is_not_gcc_host.py failed: error executing command external/toolchain/crosstool/scripts/crosstool_wrapper_driver_is_not_gcc_host.py -MD -MF bazel-out/k8-opt/bin/apps/test_zed/project00001/Zed2Camera/_objs/zed2_camera/Zed2Camera.d ... (remaining 285 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./engine/gems/serialization/json_formatter.hpp: In instantiation of 'static void isaac::serialization::json_formatter_details::JsonSerializer<T>::Set(isaac::Json&, T) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]':
./engine/gems/serialization/json_formatter.hpp:807:49:   required from 'void isaac::serialization::Set(isaac::Json&, T) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]'
./engine/alice/hooks/config_hook.hpp:150:23:   required from 'void isaac::alice::Parameter<T>::set(T&&, bool) [with T = sl::RESOLUTION]'
apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:77:3:   required from here
./engine/gems/serialization/json_formatter.hpp:109:12: error: 'to_json' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
     to_json(json, value);
     ~~~~~~~^~~~~~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./third_party/nlohmann/json.hpp:212:17: note: 'template<class BasicJsonType> void isaac::to_json(BasicJsonType&, const isaac::ImageToTensorNormalization&)' declared here, later in the translation unit
     inline void to_json(BasicJsonType& j, const ENUM_TYPE& e)                                  \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./engine/gems/serialization/json_formatter.hpp:109:12: error: no matching function for call to 'to_json(isaac::Json&, sl::RESOLUTION&)'
     to_json(json, value);
     ~~~~~~~^~~~~~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./third_party/nlohmann/json.hpp:212:17: note: candidate: template<class BasicJsonType> void isaac::to_json(BasicJsonType&, const isaac::ImageToTensorNormalization&)
     inline void to_json(BasicJsonType& j, const ENUM_TYPE& e)                                  \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
./third_party/nlohmann/json.hpp:212:17: note:   template argument deduction/substitution failed:
     inline void to_json(BasicJsonType& j, const ENUM_TYPE& e)                                  \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./engine/gems/serialization/json_formatter.hpp:109:12: note:   cannot convert 'value' (type 'sl::RESOLUTION') to type 'const isaac::ImageToTensorNormalization&'
     to_json(json, value);
     ~~~~~~~^~~~~~~~~~~~~
./engine/gems/serialization/json_formatter.hpp: In instantiation of 'static std::experimental::fundamentals_v1::optional<_Tp> isaac::serialization::json_formatter_details::JsonSerializer<T>::TryGet(const Json&) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]':
./engine/gems/serialization/json_formatter.hpp:802:59:   required from 'std::experimental::fundamentals_v1::optional<_Tp> isaac::serialization::TryGet(const Json&) [with T = sl::RESOLUTION; isaac::Json = nlohmann::basic_json<>]'
./engine/alice/hooks/config_hook.hpp:105:42:   required from 'bool isaac::alice::Parameter<T>::set(const json&) [with T = sl::RESOLUTION; nlohmann::json = nlohmann::basic_json<>]'
apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:344:1:   required from here
./engine/gems/serialization/json_formatter.hpp:102:16: error: 'from_json' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
       from_json(json, x);
       ~~~~~~~~~^~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./third_party/nlohmann/json.hpp:224:17: note: 'template<class BasicJsonType> void isaac::from_json(const BasicJsonType&, isaac::ImageToTensorNormalization&)' declared here, later in the translation unit
     inline void from_json(const BasicJsonType& j, ENUM_TYPE& e)                                \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./engine/gems/serialization/json_formatter.hpp:102:16: error: no matching function for call to 'from_json(const Json&, sl::RESOLUTION&)'
       from_json(json, x);
       ~~~~~~~~~^~~~~~~~~
In file included from ./engine/alice/status.hpp:12:0,
                 from ./engine/alice/component_impl.hpp:15,
                 from ./engine/alice/backend/component_query.hpp:16,
                 from ./engine/alice/node.hpp:19,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./third_party/nlohmann/json.hpp:224:17: note: candidate: template<class BasicJsonType> void isaac::from_json(const BasicJsonType&, isaac::ImageToTensorNormalization&)
     inline void from_json(const BasicJsonType& j, ENUM_TYPE& e)                                \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
./third_party/nlohmann/json.hpp:224:17: note:   template argument deduction/substitution failed:
     inline void from_json(const BasicJsonType& j, ENUM_TYPE& e)                                \
                 ^
./engine/gems/image/conversions.hpp:60:1: note: in expansion of macro 'NLOHMANN_JSON_SERIALIZE_ENUM'
 NLOHMANN_JSON_SERIALIZE_ENUM(ImageToTensorNormalization, {
 ^
In file included from ./engine/alice/hooks/config_hook.hpp:20:0,
                 from ./engine/alice/component.hpp:14,
                 from ./engine/alice/node.hpp:21,
                 from ./engine/alice/application.hpp:19,
                 from ./engine/alice/alice_codelet.hpp:12,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:15,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
./engine/gems/serialization/json_formatter.hpp:102:16: note:   cannot convert 'x' (type 'sl::RESOLUTION') to type 'isaac::ImageToTensorNormalization&'
       from_json(json, x);
       ~~~~~~~~~^~~~~~~~~
In file included from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:0:
apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp: In constructor 'isaac::Zed2Camera::Zed2Camera()':
apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:36:7: error: 'sl::CameraInformation::calibration_parameters' is deprecated: Use camera_configuration.calibration_parameters instead [-Werror=deprecated-declarations]
 class Zed2Camera : public alice::Codelet {
       ^~~~~~~~~~
In file included from external/zed_x86_64/include/sl/Camera.hpp:1:0,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:20,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
external/zed_x86_64/include/sl_zed/Camera.hpp:3193:136: note: declared here
         /*@cond SHOWHIDDEN*/SL_DEPRECATED("Use camera_configuration.calibration_parameters instead")/*@endcond*/ CalibrationParameters calibration_parameters; /**< \deprecated see CameraConfiguration::calibration_parameters, Intrinsic and Extrinsic stereo parameters for rectified/undistorded images (default).*/
                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:0:
apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:36:7: error: 'sl::CameraInformation::calibration_parameters_raw' is deprecated: Use camera_configuration.calibration_parameters_raw instead [-Werror=deprecated-declarations]
 class Zed2Camera : public alice::Codelet {
       ^~~~~~~~~~
In file included from external/zed_x86_64/include/sl/Camera.hpp:1:0,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.hpp:20,
                 from apps/test_zed/project00001/Zed2Camera/Zed2Camera.cpp:10:
external/zed_x86_64/include/sl_zed/Camera.hpp:3194:140: note: declared here
         /*@cond SHOWHIDDEN*/SL_DEPRECATED("Use camera_configuration.calibration_parameters_raw instead")/*@endcond*/ CalibrationParameters calibration_parameters_raw; /**< \deprecated see CameraConfiguration::calibration_parameters_raw, Intrinsic and Extrinsic stereo parameters for original images (unrectified/distorded).*/
                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Target //apps/test_zed/project00001:test_app failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 3.242s, Critical Path: 3.12s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

Now, the problem is solved.
step 2: try to implement the new function of Zed 2.

How did you solve the problem ? i am also trying to use ZED 2 but have not been successful till now.

I was able to get my zed 2 working with 2020.1NX, it seems like the Stereolabs 3.2 is included with that version now.

The only modification i had to make was removing the zed_imu_reader component and associated edges/configs from zed_camera.app.json because it kept crashing.

I’m guessing it has something to do with a race condition, but I haven’t tracked it down yet.

were you able to install ZED 2 on Isaac SDK 2020.1 ?

I haven’t used 2020.1 because I’m running an NX. I have confirmed the ZED 2 works on 2020.1NX with a few modifications.

It appears that 2020.1NX has ZED version 3.2 and 2020.1 is using version 2.8.3. Some of the zed related .bzl files are significantly different between the two versions of the SDK too. Wish Nvidia was a letter better about keeping them both in sync.

Your best bet may be trying to adapt the zed-related build files to 2020.1 or switch to 2020.1NX.

i will try to adapt the zed-related build files in Isaac 2020.1 for ZED 2 , will share , if any progress is made !

i have tried with Isaac 2020.NX as well , it is throwing GPU incompatible error , I am using Nvidia RTX 3080 GPU .

I am trying to dive deep into Zed.bzl files , any idea , how to get it working ?

" 2020-11-05 19:09:39.650 ERROR engine/alice/components/Codelet.cpp@229: Component ‘zed/zed_camera’ of type ‘isaac::ZedCamera’ reported FAILURE:

[ZedCamera] Error initializing Zed camera: NO GPU COMPATIBLE

2020-11-05 19:09:39.650 ERROR engine/alice/backend/event_manager.cpp@42: Stopping node ‘zed’ because it reached status ‘FAILURE’ "