1 Reply Latest reply on Jun 13, 2019 10:22 PM by DheerajP_41

    Issue with MeshClient app source code - Missing Library Files

    paog_4272626

      Hello Team,

       

      Good Morning/Evening

       

      I was trying to customize the MeshClient windows app. I grabbed the source code from the link below and tried to build it though Visual Studio

       

      \ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\MeshClient

       

      I found that the example code is not fully intact and there are missing library files as reported by visual studio compiler.

       

      This issue is easily replicatable and I am sure many have already reported.

       

      I have also attached screen shots as report by visual studio along with this issue. Can some one help me with work around for this.

       

      Regards,

      Pavan

       

       

      Severity Code Description Project File Line Suppression State

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\access_layer.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\core_aes_ccm.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\directed_forwarding.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\directed_forwarding_ctrl_msg.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\directed_forwarding_msg.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\directed_forwarding_timer.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\ecdh.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation_cfg_model.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation_crt_msg.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation_heartbeat.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation_identity.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\foundation_msg_handler.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\friend.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\friendship.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\health.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\iv_updt.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\key_refresh.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\lower_transport_layer.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\low_power.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\mesh_core.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\mesh_event.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\mesh_util.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\network_layer.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\pb_transport.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\provisioning.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_core_lib\upper_transport_layer.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\generic_power_onoff_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\remote_provision_server.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\mesh_gatt_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\fw_distributor.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\generic_default_transition_time_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\generic_level_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\generic_onoff_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\generic_property_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\light_ctl_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\light_hsl_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\light_lightness_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\mesh_model_utils.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\object_transfer_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_models_lib\sensor_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_provisioner_lib\mesh_config_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_provisioner_lib\mesh_fw_provider.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_provisioner_lib\mesh_health_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_provisioner_lib\mesh_provisioner.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open source file: '..\..\..\..\..\..\libraries\mesh_provisioner_lib\mesh_proxy_client.c': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\c1 1

      Error C1083 Cannot open include file: 'platform.h': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\mesh_main.c 47

      Error C1083 Cannot open include file: 'platform.h': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\bt_target.h 5

      Error C1083 Cannot open include file: 'platform.h': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\bt_target.h 5

      Error C1083 Cannot open include file: 'platform.h': No such file or directory mesh_libs C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\mesh_libs\bt_target.h 5

      Warning C4996 'GetVersion': was declared deprecated MeshClient C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\MeshClient\MeshClient.cpp 87

      Warning C4996 'ABI::Windows::Devices::Bluetooth::IBluetoothLEDevice::GetGattService': Use GetGattServicesForUuidAsync instead of GetGattService.  For more information, see MSDN. MeshClient C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\MeshClient\Win10Interface.cpp 152

      Error LNK1104 cannot open file 'mesh_libs.lib' MeshClient C:\Users\dummy_user\ModusToolbox_1.1\libraries\bt_20819A1-1.0\components\BT-SDK\common\apps\snip\mesh\peerapps\Windows\MeshClient\LINK 1