I'm trying to Build and run the MMWavelink code, for which I compiled the code as described in the README. My cmake version is 3.10.2.
Once I run make -j4, it prompts
[ 9%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/crc_compute.c.o [ 18%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/mmw_config.c.o [ 27%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c.o [ 45%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_controller.c.o [ 45%] Building CXX object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/rl_nonos.cpp.o [ 54%] Building CXX object CMakeFiles/setup_radar.dir/FTDILib/SourceCode/mmwl_port_ftdi.cpp.o [ 63%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_device.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_config.c: In function ‘MMWL_trim’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_config.c:83:13: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] while ((isspace(*s2)) && (s2 >= s1)) ^~~~~~~ [ 72%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_driver.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c: In function ‘rlDriverCmdSendRetry’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c:2582:20: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((rlDrvData == RL_NULL)) ^~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c:2582:10: note: did you mean to dereference the pointer? if ((rlDrvData == RL_NULL)) ^ [ 81%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_monitoring.c.o make[2]: *** No rule to make target '/usr/local/lib/libftd2xx.so', needed by 'setup_radar'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 90%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_sensor.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c: In function ‘MMWL_profileConfig’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c:1543:124: warning: format ‘%f’ expects a matching ‘double’ argument [-Wformat=] printf("Calling rlSetProfileConfig with \nProfileId[%d]\nStart Frequency[%f] GHz\nRamp Slope[%f] MHz/uS \nPulseLength: [%f] \n\n", ~^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitBoardControlPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:435:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:447:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitGenericGPIOPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:482:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Generic GPIO USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:494:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Generic GPIO Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitIrqI2CPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:536:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:545:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:584:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Can't receive echo command , fail to synchronize MPSSE interface\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:647:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ and I2C MSPEE Config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:666:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Clear IRQ and I2C Queue Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitSpiPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:696:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:705:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MPSSE Init Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:730:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MSPEE Config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:749:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Clear SPI Queue Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsFindAndOpenDevice(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:794:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:802:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:810:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:816:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:827:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] pInfoList[loopCounter].SerialNumber ); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:890:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] irqI2CDevNumber, boardControlDevNumber, genericGPIODevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:902:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:906:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI port opened (DeviceNum=%d)\n", spiDevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:915:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:920:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] irqI2CDevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsCheckForIrq(rlsDevCtx_t*, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1086:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] pDevCtx->deviceIndex); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘DWORD rlsPollingThreadEntrySpi(LPVOID)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1154:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsStopIrqPollingThread(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1228:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Stopping RL IRQ polling thread \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1230:41: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsDisableDevice(unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1556:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Disable Device\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1564:49: warning: NULL used in arithmetic [-Wpointer-arith] if(pDevCtx->hostIntrThread.threadHdl != NULL) ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1567:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsEnableDevice(unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1593:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Enable Device\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsRegisterInterruptHandler(unsigned char, RLS_P_EVENT_HANDLER, void*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1645:49: warning: NULL used in arithmetic [-Wpointer-arith] if(pDevCtx->hostIntrThread.threadHdl != NULL) ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1648:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsDeviceWaitIrqStatus(rlsDevHandle_t, unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1750:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] Host IRQ Low\r\n", pDevCtx->deviceIndex); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘void* rlsSpiOpen(unsigned char, unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1784:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("[VER] mmWaveLink Studio Version: %s\r\n", RL_STUDIO_VER); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1790:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open device\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1797:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open spi port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1804:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open irq port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1811:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open Board Control port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1818:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open GPIO port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1829:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("FTDI Open Successful\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSpiRead(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1917:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Read error, couldn't send command to MSPEE \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1932:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Wait Data Available Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1964:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [RD]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1968:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Read transfer error \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSpiWrite(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2060:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [WR]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2064:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MSPEE Write Command Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2cRead(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2157:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [RD]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2cWrite(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2231:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error in I2C Write"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2252:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [WR]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsGetNumofDevices(int*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2295:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2303:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2311:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsWarmReset(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2373:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port C cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2401:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Warm Reset- C7 pin cannot be written\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSOPControl(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2453:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port D cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2508:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Wrong SOP state is given"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2515:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port D cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsFullReset(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2562:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port C cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2587:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Warm Reset- C6 pin cannot be written\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenBoardControlIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2637:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2645:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2653:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2659:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2687:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error while opening the board control\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2694:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenGenericGpioIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2770:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2778:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2786:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2792:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2824:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("GPIO Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenI2cIrqIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2902:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2910:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2918:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2924:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2956:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("GPIO Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2CWrite(rlsDevHandle_t, unsigned char, unsigned char, unsigned char, unsigned char, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:3077:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error in I2C Write\n"); ^ CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/setup_radar.dir/all' failed make[1]: *** [CMakeFiles/setup_radar.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
I'm trying to Build and run the MMWavelink code, for which I compiled the code as described in the README. My cmake version is 3.10.2.
Once I run
make -j4
, it prompts[ 9%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/crc_compute.c.o [ 18%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/mmw_config.c.o [ 27%] Building C object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c.o [ 45%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_controller.c.o [ 45%] Building CXX object CMakeFiles/setup_radar.dir/ti/example/mmwavelink_example_nonos/rl_nonos.cpp.o [ 54%] Building CXX object CMakeFiles/setup_radar.dir/FTDILib/SourceCode/mmwl_port_ftdi.cpp.o [ 63%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_device.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_config.c: In function ‘MMWL_trim’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_config.c:83:13: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration] while ((isspace(*s2)) && (s2 >= s1)) ^~~~~~~ [ 72%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_driver.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c: In function ‘rlDriverCmdSendRetry’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c:2582:20: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((rlDrvData == RL_NULL)) ^~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/control/mmwavelink/src/rl_driver.c:2582:10: note: did you mean to dereference the pointer? if ((rlDrvData == RL_NULL)) ^ [ 81%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_monitoring.c.o make[2]: *** No rule to make target '/usr/local/lib/libftd2xx.so', needed by 'setup_radar'. Stop. make[2]: *** Waiting for unfinished jobs.... [ 90%] Building C object CMakeFiles/setup_radar.dir/ti/control/mmwavelink/src/rl_sensor.c.o /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c: In function ‘MMWL_profileConfig’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/ti/example/mmwavelink_example_nonos/mmw_example_nonos.c:1543:124: warning: format ‘%f’ expects a matching ‘double’ argument [-Wformat=] printf("Calling rlSetProfileConfig with \nProfileId[%d]\nStart Frequency[%f] GHz\nRamp Slope[%f] MHz/uS \nPulseLength: [%f] \n\n", ~^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitBoardControlPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:435:70: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:447:62: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitGenericGPIOPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:482:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Generic GPIO USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:494:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Generic GPIO Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitIrqI2CPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:536:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:545:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ Set bit modes Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:584:101: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Can't receive echo command , fail to synchronize MPSSE interface\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:647:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ and I2C MSPEE Config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:666:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Clear IRQ and I2C Queue Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsInitSpiPort(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:696:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI USB parameters config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:705:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MPSSE Init Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:730:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MSPEE Config Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:749:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Clear SPI Queue Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsFindAndOpenDevice(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:794:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:802:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:810:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:816:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:827:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] pInfoList[loopCounter].SerialNumber ); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:890:81: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] irqI2CDevNumber, boardControlDevNumber, genericGPIODevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:902:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:906:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("SPI port opened (DeviceNum=%d)\n", spiDevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:915:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("IRQ port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:920:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] irqI2CDevNumber); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsCheckForIrq(rlsDevCtx_t*, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1086:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] pDevCtx->deviceIndex); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘DWORD rlsPollingThreadEntrySpi(LPVOID)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1154:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsStopIrqPollingThread(rlsDevCtx_t*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1228:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Stopping RL IRQ polling thread \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1230:41: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsDisableDevice(unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1556:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Disable Device\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1564:49: warning: NULL used in arithmetic [-Wpointer-arith] if(pDevCtx->hostIntrThread.threadHdl != NULL) ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1567:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsEnableDevice(unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1593:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Enable Device\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsRegisterInterruptHandler(unsigned char, RLS_P_EVENT_HANDLER, void*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1645:49: warning: NULL used in arithmetic [-Wpointer-arith] if(pDevCtx->hostIntrThread.threadHdl != NULL) ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1648:49: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] pDevCtx->hostIntrThread.threadHdl = NULL; ^~~~ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsDeviceWaitIrqStatus(rlsDevHandle_t, unsigned char)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1750:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] Host IRQ Low\r\n", pDevCtx->deviceIndex); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘void* rlsSpiOpen(unsigned char, unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1784:77: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("[VER] mmWaveLink Studio Version: %s\r\n", RL_STUDIO_VER); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1790:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open device\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1797:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open spi port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1804:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open irq port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1811:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open Board Control port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1818:55: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("could not open GPIO port\r\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1829:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("FTDI Open Successful\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSpiRead(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1917:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Read error, couldn't send command to MSPEE \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1932:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Wait Data Available Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1964:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [RD]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:1968:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Read transfer error \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSpiWrite(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2060:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [WR]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2064:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("MSPEE Write Command Error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2cRead(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2157:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [RD]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2cWrite(rlsDevHandle_t, unsigned char*, short unsigned int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2231:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error in I2C Write"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2252:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Device [%d] [WR]%s", pDevCtx->deviceIndex, tempBuff); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsGetNumofDevices(int*)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2295:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2303:61: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2311:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsWarmReset(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2373:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port C cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2401:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Warm Reset- C7 pin cannot be written\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsSOPControl(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2453:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port D cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2508:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Wrong SOP state is given"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2515:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port D cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsFullReset(rlsDevHandle_t, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2562:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Port C cannot be read\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2587:73: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error - Warm Reset- C6 pin cannot be written\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenBoardControlIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2637:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2645:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2653:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2659:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2687:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error while opening the board control\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2694:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Board Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenGenericGpioIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2770:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2778:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2786:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2792:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2824:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("GPIO Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsOpenI2cIrqIf(rlsDevHandle_t)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2902:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2910:65: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("malloc error during read device list\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2918:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error requesting dev list from D2XX driver \n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2924:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] numOfDevices); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:2956:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("GPIO Control port open error\n"); ^ /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp: In function ‘int rlsI2CWrite(rlsDevHandle_t, unsigned char, unsigned char, unsigned char, unsigned char, int)’: /media/sathya/New Volume/radar/radar/openradar_mmwave_utils-master/setup_radar/FTDILib/SourceCode/mmwl_port_ftdi.cpp:3077:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] DEBUG_PRINT("Error in I2C Write\n"); ^ CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/setup_radar.dir/all' failed make[1]: *** [CMakeFiles/setup_radar.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2