LMS1xx Build failure

asked 2019-05-21 15:47:48 -0600

AM97 gravatar image

updated 2019-05-21 17:59:04 -0600

jayess gravatar image

Whenever I clone this repository in my Catkin workspace and try to build. I am getting this following error

Errors     << lms1xx:make /home/sai/arams_ws/logs/lms1xx/build.make.002.log    
In file included from /home/sai/arams_ws/src/LMS1xx/include/LMS1xx/LMS1xx.h:27:0,
                 from /home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:36:
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h: In member function ‘void LMSBuffer::readFrom(int)’:
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:49:7: error: ‘logDebug’ was not declared in this scope
       logDebug("Read %d bytes from fd, total length is %d.", ret, total_length_);
       ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:54:7: error: ‘logWarn’ was not declared in this scope
       logWarn("Buffer read() returned error.");
       ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h: In member function ‘char* LMSBuffer::getNextBuffer()’:
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:63:7: error: ‘logDebug’ was not declared in this scope
       logDebug("Empty buffer, nothing to return.");
       ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:74:7: error: ‘logWarn’ was not declared in this scope
       logWarn("No STX found, dropping %d bytes from buffer.", total_length_);
       ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:80:7: error: ‘logWarn’ was not declared in this scope
       logWarn("Shifting buffer, dropping %d bytes, %d bytes remain.",
       ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/include/LMS1xx/lms_buffer.h:90:7: error: ‘logDebug’ was not declared in this scope
       logDebug("No ETX found, nothing to return.");
       ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp: In member function ‘void LMS1xx::connect(std::__cxx11::string, int)’:
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:51:5: error: ‘logDebug’ was not declared in this scope
     logDebug("Creating non-blocking socket.");
     ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp: In member function ‘void LMS1xx::startMeas()’:
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:95:5: error: ‘logWarn’ was not declared in this scope
     logWarn("invalid packet recieved");
     ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:95:5: note: suggested alternative: ‘login’
     logWarn("invalid packet recieved");
     ^~~~~~~
     login
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:97:3: error: ‘logDebug’ was not declared in this scope
   logDebug("RX: %s", buf);
   ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp: In member function ‘void LMS1xx::stopMeas()’:
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:109:5: error: ‘logWarn’ was not declared in this scope
     logWarn("invalid packet recieved");
     ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:109:5: note: suggested alternative: ‘login’
     logWarn("invalid packet recieved");
     ^~~~~~~
     login
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:111:3: error: ‘logDebug’ was not declared in this scope
   logDebug("RX: %s", buf);
   ^~~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp: In member function ‘status_t LMS1xx::queryStatus()’:
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:123:5: error: ‘logWarn’ was not declared in this scope
     logWarn("invalid packet recieved");
     ^~~~~~~
/home/sai/arams_ws/src/LMS1xx/src/LMS1xx.cpp:123:5: note: suggested alternative: ‘login’
     logWarn("invalid packet recieved");
     ^~~~~~~
     login
/home ...
(more)
edit retag flag offensive close merge delete

Comments

1

What branch are you cloning and from what repository?

jayess gravatar imagejayess ( 2019-05-21 18:01:57 -0600 )edit