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
#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
NAMES usb_i2c_adapter
......
#include "usb_i2c.h"
#include "eventexceptions.h"
#include "string.h"
CUSBI2C::CUSBI2C(const std::string &adapter_id)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment