Skip to content
Snippets Groups Projects
Commit 7ae909df authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Added an include for the memcpy function (string.h)

Fixed cmake find script.
parent 3ab6b557
No related branches found
No related tags found
No related merge requests found
#edit the following line to add the librarie's header files #edit the following line to add the librarie's header files
FIND_PATH(usb_i2c_adapter_INCLUDE_DIR <your own header files> /usr/include/iridrivers /usr/local/include/iridrivers) FIND_PATH(usb_i2c_adapter_INCLUDE_DIR usb_i2c.h /usr/include/iridrivers /usr/local/include/iridrivers)
FIND_LIBRARY(usb_i2c_adapter_LIBRARY FIND_LIBRARY(usb_i2c_adapter_LIBRARY
NAMES usb_i2c_adapter NAMES usb_i2c_adapter
......
#include "usb_i2c.h" #include "usb_i2c.h"
#include "eventexceptions.h" #include "eventexceptions.h"
#include "string.h"
CUSBI2C::CUSBI2C(const std::string &adapter_id) CUSBI2C::CUSBI2C(const std::string &adapter_id)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment