Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

Error output with Cmake (4.1.0.31398)

Answered

Comments

7 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Takeshi,

    How do you build your plugin? Are  you using SDK supplied build_samples.bat? Are you using your own build script? Could you share it with us?

    This seems to be a good advice "or choose a different binary directory".
    Likely, you are using existing binary directory of the previous build (4.0.0.29987) with new metada sdk version.
    Try to remove previous build (4.0.0.29987) directory.

    0
  • Permanently deleted user

    I haven't used the plug-in I created.
    I ran the build with "nxwitness-metadata_sdk-4.1.0.31398-universal.zip" unzipped.
    When I run build_samples.bat, I get an error.
    I have attached the text for the details of the error log.

    Since I was creating a 4.0 directory in parallel with 4.1, I deleted it, but the content of the error did not change.

    --error log-----------------------------------------------------------------------------------------

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk>build_samples.bat

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk>rmdir /S /Q "C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build" 2>NUL

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk>mkdir "C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin" ||

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk>cd "C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin" ||

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin>cmake "C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\samples\sample_analytics_plugin" -Ax64 ||
    -- Building for: Visual Studio 16 2019
    -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363.
    -- The C compiler identification is MSVC 19.27.29111.0
    -- The CXX compiler identification is MSVC 19.27.29111.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - 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: C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/11.local/work/映像システム関連/SDK/nxwitness/4.1.0/metadata_sdk-build/sample_analytics_plugin

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin>cmake --build . ||
    .NET Framework 向け Microsoft (R) Build Engine バージョン 16.7.0+b89cb5fde
    Copyright (C) Microsoft Corporation.All rights reserved.

    Checking Build System
    Building Custom Rule C:/11.local/work/?f???V?X?e????A/SDK/nxwitness/4.1.0/metadata_sdk/nx_kit/CMakeLists.txt
    utils.cpp
    debug.cpp
    ini_config.cpp
    output_redirector.cpp
    test.cpp
    json.cpp
    コードを生成中...
    nx_kit.vcxproj -> C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_kit\Deb
    ug\nx_kit.lib
    Building Custom Rule C:/11.local/work/?f???V?X?e????A/SDK/nxwitness/4.1.0/metadata_sdk/samples/sample_analytics_plugi
    n/CMakeLists.txt
    consuming_device_agent.cpp
    engine.cpp
    engine_info.cpp
    event_metadata.cpp
    event_metadata_packet.cpp
    metadata_types.cpp
    object_metadata.cpp
    object_metadata_packet.cpp
    object_track_best_shot_packet.cpp
    object_track_info.cpp
    pixel_format.cpp
    plugin.cpp
    timestamped_object_metadata.cpp
    attribute.cpp
    device_info.cpp
    error.cpp
    lib_context.cpp
    log_utils.cpp
    media_stream_statistics.cpp
    plugin_diagnostic_event.cpp
    コードを生成中...
    コンパイル中...
    settings_response.cpp
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(11,29): error C2065: 'uint8_t': 定 義されていない識別
    子です。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(11,23): error C2923: 'std::array': 'uint8_
    t' は、有効な テンプレート 型引数 (パラメーター '_Ty') ではありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_an
    alytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(22,1): error C2955: 'std::array': クラス テンプレ
    ート を使用するには テンプレート 引数リストが必要です [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\
    nx_sdk.vcxproj]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\array(418): message
    : 'std::array' の宣言を確認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\n
    x_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24,56): error C3203: 'array': 非特 殊 クラス テンプレ
    ート は、テンプレート 引数として テンプレート パラメーター '_Tuple' に使用できません。実際の型を指定してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata
    _sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24,65): error C2027: 認識できない型 'std::tuple_s
    ize<int>' が使われています。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vc
    xproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24): message : 'std::tuple_size<int>' の宣言を
    確認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(27,19): error C2061: 構文エラー: 識別子 'uint8_t'
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C4430: 型指定子がありません - int と仮定し
    ました。メモ: C++ は int を既定値としてサポートしていません [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_
    plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C2059: 構文エラー: '&' [C:\11.loc
    al\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C2090: 関数は配列を返せません。 [C:\11.l
    ocal\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(42,19): error C2535: 'nx::sdk::Uuid::Uuid(
    void)': メンバー関数は、既に定義または宣言されています。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plu
    gin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(27): message : 'nx::sdk::Uuid::Uuid' の宣言を確
    認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,19): error C2065: 'b0': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,23): error C2065: 'b1': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,27): error C2065: 'b2': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,31): error C2065: 'b3': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,35): error C2065: 'b4': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,39): error C2065: 'b5': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,43): error C2065: 'b6': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,47): error C2065: 'b7': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,51): error C2065: 'b8': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,55): error C2065: 'b9': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,59): error C2065: 'bA': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,63): error C2065: 'bB': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,67): error C2065: 'bC': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,71): error C2065: 'bD': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,75): error C2065: 'bE': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,79): error C2065: 'bF': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,9): error C2614: 'nx::sdk::Uuid': イニシャラ
    イズ リスト内のクラス 'UuidBase' が基底クラスでもメンバーでもありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_an
    alytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(39,16): error C3861: 'data': 識別子が見つかりませんでし
    た [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(39,24): error C2065: 'byteArray': 定義されていない
    識別子です。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(42,23): error C2614: 'nx::sdk::Uuid': イニシャ
    ライズ リスト内のクラス 'UuidBase' が基底クラスでもメンバーでもありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_a
    nalytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(44,40): error C2676: 二項演算子 '==': 'const nx
    ::sdk::Uuid' は、この演算子または定義済の演算子に適切な型への変換の定義を行いません。(新しい動作; ヘルプを参照) [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadat
    a_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    string.cpp
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(11,29): error C2065: 'uint8_t': 定 義されていない識別
    子です。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(11,23): error C2923: 'std::array': 'uint8_
    t' は、有効な テンプレート 型引数 (パラメーター '_Ty') ではありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_an
    alytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(22,1): error C2955: 'std::array': クラス テンプレ
    ート を使用するには テンプレート 引数リストが必要です [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\
    nx_sdk.vcxproj]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\array(418): message
    : 'std::array' の宣言を確認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\n
    x_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24,56): error C3203: 'array': 非特 殊 クラス テンプレ
    ート は、テンプレート 引数として テンプレート パラメーター '_Tuple' に使用できません。実際の型を指定してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata
    _sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24,65): error C2027: 認識できない型 'std::tuple_s
    ize<int>' が使われています。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vc
    xproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(24): message : 'std::tuple_size<int>' の宣言を
    確認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(27,19): error C2061: 構文エラー: 識別子 'uint8_t'
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C4430: 型指定子がありません - int と仮定し
    ました。メモ: C++ は int を既定値としてサポートしていません [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_
    plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C2059: 構文エラー: '&' [C:\11.loc
    al\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(37,18): error C2090: 関数は配列を返せません。 [C:\11.l
    ocal\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(42,19): error C2535: 'nx::sdk::Uuid::Uuid(
    void)': メンバー関数は、既に定義または宣言されています。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plu
    gin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(27): message : 'nx::sdk::Uuid::Uuid' の宣言を確
    認してください [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,19): error C2065: 'b0': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,23): error C2065: 'b1': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,27): error C2065: 'b2': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,31): error C2065: 'b3': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,35): error C2065: 'b4': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,39): error C2065: 'b5': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,43): error C2065: 'b6': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,47): error C2065: 'b7': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,51): error C2065: 'b8': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,55): error C2065: 'b9': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,59): error C2065: 'bA': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,63): error C2065: 'bB': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,67): error C2065: 'bC': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,71): error C2065: 'bD': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,75): error C2065: 'bE': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,79): error C2065: 'bF': 定義されていない識別子です。
    [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(33,9): error C2614: 'nx::sdk::Uuid': イニシャラ
    イズ リスト内のクラス 'UuidBase' が基底クラスでもメンバーでもありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_an
    alytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(39,16): error C3861: 'data': 識別子が見つかりませんでし
    た [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(39,24): error C2065: 'byteArray': 定義されていない
    識別子です。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(42,23): error C2614: 'nx::sdk::Uuid': イニシャ
    ライズ リスト内のクラス 'UuidBase' が基底クラスでもメンバーでもありません。 [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_a
    nalytics_plugin\nx_sdk.vcxproj]
    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(44,40): error C2676: 二項演算子 '==': 'const nx
    ::sdk::Uuid' は、この演算子または定義済の演算子に適切な型への変換の定義を行いません。(新しい動作; ヘルプを参照) [C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadat
    a_sdk-build\sample_analytics_plugin\nx_sdk.vcxproj]
    string_list.cpp
    string_map.cpp
    to_string.cpp
    uuid_helper.cpp
    コードを生成中...

    C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk-build\sample_analytics_plugin>

    ---------------------------------------------------------------------------------------------------

    0
  • Andrey Terentyev
    • Network Optix team

    Hi Takeshi,

    I don't know Japanese, but this one
    > C:\11.local\work\映像システム関連\SDK\nxwitness\4.1.0\metadata_sdk\src\nx/sdk/uuid.h(11,29): error C2065: 'uint8_t': 定 義されていない識別

    seems to me quite different from the original error message you've posted here.
    Here is the explanation.
    https://docs.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/compiler-error-c2065?view=vs-2019

    Please, send you materials: messages, log files, error etc in English.

    Could you share the archive with whole your source code, please?

    0
  • Andrey Terentyev
    • Network Optix team

    Missing of "uint8_t" has no relation to Metadata SDK. There is something with your environment.
    Could you build such code, please? Is it compiled successfully?

    #include <cstdint>
    #include <iostream>

    int main()
    {
    uint8_t b = 42;
    std::cout << b << "\n";
    return 0;
    }
    0
  • Permanently deleted user

    Thank you for your reply.

    The build was successful.
    It was solved by including either <stdint.h> or <cstdint> in "4.1.0 \ metadata_sdk \ src \ nx \ sdk \ uuid.h".

    The only thing I'm interested in is
    uuid.h has no code content difference from v4.0, but v4.0 build succeeded without including <cstdint>. (Plugins are stub_analytics_plugin only)

    Sample_analytics_plugin has been added since 4.1. Is the build successful without including <cstdint> in uuid.h?

    0
  • Nx Support

    Hi Takeshi,

    ```

    uuid.h has no code content difference from v4.0, but v4.0 build succeeded without including <cstdint>. (Plugins are stub_analytics_plugin only)

    ```

    The reason for such behavior might be following: it is possible that the necessary header was already included somewhere else. Basically, encountering this issue depends on the order of includes.

     

    0
  • Andrey Terentyev
    • Network Optix team

    Hello Tackeshi,

    Please include <stdint.h> in the metadata_sdk\src\nx\sdk\uuid.h. Like

    #include <stdint.h>

    This should solve the problem.

    0

Please sign in to leave a comment.