pc-ble-driver-py : trying to build from sources and create v6 lib

after building the pc-ble-driver-py and creating v5 lib, we need to build v6. 

using WIN 7, python 3.8.

I changed file CMakeLists.txt row 40 to 'set(SD_API_VERS "2;6")' and got the following linkage errors(related to changing to v6):

  • LINK: command "C:\PROGRA~2\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\
    14.16.27023\bin\Hostx86\x64\link.exe /nologo CMakeFiles\nrf_ble_driver_sd_api_v6
    .dir\outdir\nrf_ble_driver_sd_api_v6PYTHON_wrap.c.obj /out:_nrf_ble_driver_sd_ap
    i_v6.pyd /implib:nrf_ble_driver_sd_api_v6.lib /pdb:_nrf_ble_driver_sd_api_v6.pdb
    /dll /version:0.0 /machine:x64 /INCREMENTAL:NO C:\Users\amAdmin\Desktop\Carmel\
    nrf-ble-driver-4.1.4-win_x86_64\lib\nrf-ble-driver-sd_api_v6-mt-4_1_4.lib c:\use
    rs\amadmin\appdata\local\programs\python\python38\libs\python38.lib kernel32.lib
    user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib c
    omdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:_nrf_ble_driver_sd_api_v6.pyd.m
    anifest" failed (exit code 1120) with the following output:
    Creating library nrf_ble_driver_sd_api_v6.lib and object nrf_ble_driver_sd_ap
    i_v6.exp
    nrf_ble_driver_sd_api_v6PYTHON_wrap.c.obj : error LNK2019: unresolved external s
    ymbol __imp_sd_ble_gap_adv_addr_get referenced in function _wrap_sd_ble_gap_adv_
    addr_get
    nrf_ble_driver_sd_api_v6PYTHON_wrap.c.obj : error LNK2019: unresolved external s
    ymbol __imp_sd_ble_gap_qos_channel_survey_start referenced in function _wrap_sd_
    ble_gap_qos_channel_survey_start
    nrf_ble_driver_sd_api_v6PYTHON_wrap.c.obj : error LNK2019: unresolved external s
    ymbol __imp_sd_ble_gap_qos_channel_survey_stop referenced in function _wrap_sd_b
    le_gap_qos_channel_survey_stop
    nrf_ble_driver_sd_api_v6PYTHON_wrap.c.obj : error LNK2019: unresolved external s
    ymbol __imp_sd_ble_uuid_vs_remove referenced in function _wrap_sd_ble_uuid_vs_re
    move
    _nrf_ble_driver_sd_api_v6.pyd : fatal error LNK1120: 4 unresolved externals

 what files methods shall be fixed to overcome these errors and produce v6 lib?

Parents Reply Children
No Data
Related