Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Radar sensor Forum Discussions

ElephantZ
Level 1
Level 1
5 sign-ins First reply posted First question asked

Hi, I'm trying to compile CommunicationLibraryC.zip from BGT60ATR24C_ES_Advance. Basically, compiling the python_wrapper doc inside. I received errors, see below, mostly related to unresolved external symbols. I've no idea what they were and how to solve them. Would anyone help me please? Appreciate in advance.

My settings are VS2017, cmake(3.25.1-windows-x86_64), and GCC 12.2.0+LLVM/Clang/LLD/LLDB 14.0.6+MinGW-w64 10.0.0 (MSVCRT) - release 2 from WinLibs. Python is anaconda python3.7.9, pip 19.1.1, build 0.9.0, cffi 1.12.3, setuptools 41.0.1, wheel 0.33.4.

(base) E:\Infineon\communication\python_wrapper>python build_tools/main.py
-- Building for: Visual Studio 15 2017
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.16.27034.0
-- The CXX compiler identification is MSVC 19.16.27034.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/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/2017/Enterprise/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CMAKE_BUILD_TYPE


-- Build files have been written to: E:/Infineon/communication/python_wrapper/build
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Checking Build System
Building Custom Rule E:/Infineon/communication/host_c/CMakeLists.txt
COMPort_Unix.c
COMPort_Windows.c
ClientSocket.c
EndpointBoardSupplementalFunctions.c
EndpointHALBGT60TRxx.c
EndpointRadarBGT60LTR11.c
EndpointRadarBGT60TR11D.c
EndpointRadarBGT60TRxx.c
EndpointRadarBGT60TRxxD.c
EndpointRadarBGT60TRxxE.c
EndpointRadarBGT6x.c
EndpointRadarBase.c
EndpointRadarErrorCodes.c
EndpointRadarFMCW.c
Protocol.c
Generating Code...
lib_communication_static.vcxproj -> E:\Infineon\communication\python_wrapper\build\Release\communication.lib
generating E:\Infineon\communication\python_wrapper\build\_cffi_library_wrapper.c
setting the current directory to 'E:\\Infineon\\communication\\python_wrapper\\build'
running build_ext
building '_cffi_library_wrapper' extension
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:\Infineon\communication\host_c\include -ID:\Anaconda3\include -ID:\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /Tc_cffi_library_wrapper.c /Fo.\Release\_cffi_library_wrapper.obj
_cffi_library_wrapper.c
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:D:\Anaconda3\libs /LIBPATH:D:\Anaconda3\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64" ws2_32.lib setupAPI.lib Advapi32.lib /EXPORT:PyInit__cffi_library_wrapper .\Release\_cffi_library_wrapper.obj Release\communication.lib /OUT:.\_cffi_library_wrapper.cp37-win_amd64.pyd /IMPLIB:.\Release\_cffi_library_wrapper.cp37-win_amd64.lib
Creating library .\Release\_cffi_library_wrapper.cp37-win_amd64.lib and object .\Release\_cffi_library_wrapper.cp37-win_amd64.exp
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_duty_cycle_correction
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_startup_delays
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_tx_power
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_get_data
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_get_bandwidth_per_second
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_next_data_slice
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_reference_clock_frequency
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_startup_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxe_set_callback_pullup_resistor_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_use_quad_spi
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_repeat_chip_setup
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_set_callback_bandwidth_per_second
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_get_num_endpoints
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_adc_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_startup_delays
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxe_get_pullup_resistor_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_slice_data
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_startup_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_idle_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_idle_mode_config
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_close
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_temperature
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_read_irq_level
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_driver_version
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_dumped_registers
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_selected_shape
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_idle_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_get_status_code_description
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_fifo_power_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_trigger_sequence
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_baseband_test_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_generate_reset_condition
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_enable_test_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_is_high_speed_compensation_needed
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_select_shape_to_configure
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_spi_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_baseband_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_chirp_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_send_data
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_phase_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_power_sens_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_chirp_end_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_adc_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_device_id
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_reference_clock_frequency
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_tx_toggle_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_do_firmware_reset
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_duty_cycle_correction
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_phase_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_min_frame_interval
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_device_id
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_get_firmware_information
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_write_spi_words
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_get_temperature_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_is_using_quad_spi
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_automatic_frame_trigger
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_test_spi_connection
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_chirp_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_callback_temperature_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_register_readback
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_temperature
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_poll_receive_once
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_min_frame_interval
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_pad_driver_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_set_callback_fmcw_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_tx_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_set_timeout
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_phase_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_enable_easy_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_startup_delays
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_test_fifo_memory
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_callback_power_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_quad_spi_wait_cycles
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_chirp_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_frame_format
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_stop_and_reset_sequence
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_frame_format
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_set_fmcw_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_irq_level
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_anti_alias_filter_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxe_set_pullup_resistor_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_selected_shape
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_startup_timing
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_callback_power_sens_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_driver_version
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_deep_sleep_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_baseband_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_high_speed_compensation
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_baseband_test_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_data_frame
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_fifo_power_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_duty_cycle_correction
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_temperature_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_dumped_registers
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_data_slice_size
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_supply_status
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_data_slice_size
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_get_power_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_do_spi_burst_read
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_adc_samplerate
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_connect
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_fifo_power_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_enable_irq
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_adc_samplerate
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_pad_driver_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_get_port_list
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_get_endpoint_info
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_frame_definiton
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_pad_driver_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_device_info
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_tx_mode
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol protocol_disconnect
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_frame_definition
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_frame_data
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol com_open
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxe_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_deep_sleep_mode_config
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_chirp_end_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_set_power_sens_enabled
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_tx_power
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_tx_toggle_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_deep_sleep_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_adc_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_do_calibration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_chirp_end_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_frame_format
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60tr11d_get_power_sens_delay
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_get_tx_toggle_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_baseband_test_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_get_chirp_duration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_get_frame_definition
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_reference_clock_frequency
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_set_callback_data_slice_size
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_callback_anti_alias_filter_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_baseband_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_get_adc_samplerate
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxxd_set_anti_alias_filter_settings
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_chirp_duration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_set_callback_device_info
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_get_quad_spi_wait_cycles
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_set_callback_burst_read
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_get_supply_status
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_fmcw_get_fmcw_configuration
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_base_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt60trxx_is_compatible_endpoint
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_hal_bgt60trxx_enable_power_supply
_cffi_library_wrapper.obj : error LNK2001: unresolved external symbol ep_radar_bgt6x_set_callback_tx_mode
.\_cffi_library_wrapper.cp37-win_amd64.pyd : fatal error LNK1120: 152 unresolved externals

0 Likes
1 Solution
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

Can you please try using the command prompt as shown below ?

Deepa_V_0-1671611552290.png

Please note that -3.7 indicates the version of python that you have installed in your system.  Also, please ensure you are copying the complete 'communication' folder and not just the 'python wrapper'.

Best regards,

Deepa

View solution in original post

0 Likes
9 Replies
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

We're looking into the issue that you are facing. Will soon get back to you on the same ! 

Best Regards,

Deepa

0 Likes
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

Can you please try moving the 'communication' folder in IFX_Radar_BGT60ATR24C_ES_Advance_V2.0.1\Communication_Libraries\[2022_04_12]CommunicationLibraryC to E:/  (since you have the complete folder in this drive) and then try building it? 

Do let us know if you still face the issue !

Best regards,

Deepa

0 Likes
ElephantZ
Level 1
Level 1
5 sign-ins First reply posted First question asked

Thanks. I tried but the issue is still the same. I still have many unresolved external symbols.

0 Likes
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

Can you please try using the command prompt as shown below ?

Deepa_V_0-1671611552290.png

Please note that -3.7 indicates the version of python that you have installed in your system.  Also, please ensure you are copying the complete 'communication' folder and not just the 'python wrapper'.

Best regards,

Deepa

0 Likes
ElephantZ
Level 1
Level 1
5 sign-ins First reply posted First question asked

yes. the communication folder has included host_c and python_wrapper directories. I didn't modify anything inside.

0 Likes
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

Can you please confirm if using the command prompt is giving you the same errors? Can you please share the errors that you get while doing the same? 

Best Regards,

Deepa

0 Likes
ElephantZ
Level 1
Level 1
5 sign-ins First reply posted First question asked

Yes. The same errors. See captures below. err01.JPGerr02.JPGerr03.JPGerr04.JPG

0 Likes
ElephantZ
Level 1
Level 1
5 sign-ins First reply posted First question asked

I tried on another machine having python3.8. The issue still persists. I mean the same error unresolved external symbols

0 Likes
Deepa_V
Moderator
Moderator
Moderator
First like given 25 likes received 50 solutions authored

Hi @ElephantZ ,

Could you please try without using your Visual Studio and instead with the command specified above for command prompt which will use the python that's installed in your system instead? 

Also, Which version of  BGT60ATR24C_ES_Advance are you using? Additionally, Can you also try uninstalling and deleting the currently used package and try installing again? 

Since it's compiling well on our side and your issue seems to be system dependent, kindly work through the process so that we're able to understand your issue better.

Thank you for your patience !

Best Regards,

Deepa

0 Likes