opencog / TinyCog

Small Robot, Toy Robot platform
33 stars 28 forks source link

Modify the install file directory and resolve building errors. #16

Closed Kidist-Abraham closed 6 years ago

Kidist-Abraham commented 6 years ago

-Change the install file directories in the 'CMakeLists.txt' Because the .hpp files were not located in the mentioned directory.

-Change the way char is appended to a string in 'SPIComm.cpp' Because while building, an error occured about that specific syntax.

-Add the libraries stdint.h and cmath to 'util.hpp' an error like "pow is not member of std" came up and including those resolved it.

tesYolan commented 6 years ago

Nice! Could you elaborate why you have changed ${dlib_LIBRARIES}, with dlib::dlib? I think it gets it linked appropriately with that command.

smigad commented 6 years ago

The dlib_LIBRARIES variable is going to be depreciated in recent versions of dlib. Another thing, new versions of dlib only build a static lib and one needs to compile it specifically as shared. That also needs to be added to the read me. I'm merging this.

Kidist-Abraham commented 6 years ago

@tesYolan oh ya I forgot to put a commit message on that as I didn't make the change. @Dagiopia are there any other libraries who need that kind of change?