mysmartgrid / hexabus

The HexaBus Project: An IPv6-based home automation bus. We develop both hard- and software for the future of home automation.
http://hexabus.net
49 stars 15 forks source link

Relative paths and missing files in debian packages #242

Closed paalsteek closed 10 years ago

paalsteek commented 10 years ago

Running cmake, make, make package, dpkg -i and then compiling some software using the libhexabus (in this case device.hpp) results in the following error:

/usr/include/libhexabus/endpoint_registry.hpp:11:43: fatal error: ../../../shared/hexabus_types.h: No such file or directory

This is caused by the relative path as well a by the fact, that hexabus_types.h is not included in the package.

ghost commented 10 years ago

Ideally, nothing in hostsoftware/ would use files from shared/ at all. Most definitions are duplicated in libhexabus already, those that aren't should be to not mess up the global namespace, and everything else is useful to only the assembler - which has it's own handling of binary stuff anyway, iirc.

paalsteek commented 10 years ago

fixed in 6e2c199910ef7d8f087f497aa2e3a329911c9619