gch1p / inverter-tools

advanced tools for voltronic inverters
BSD 3-Clause "New" or "Revised" License
18 stars 6 forks source link

compile error #7

Closed sante85 closed 10 months ago

sante85 commented 11 months ago

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: /home/smart-battery-edge/inverter-tools-master/inverter-tools-master/HIDAPI_INCLUDE_DIR used as include directory in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master used as include directory in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master /home/smart-battery-edge/inverter-tools-master/inverter-tools-master/LIBSERIALPORT_INCLUDE_DIR used as include directory in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master used as include directory in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master used as include directory in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master HIDAPI_LIBRARY linked by target "inverterd" in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master linked by target "inverterctl" in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master LIBSERIALPORT_LIBRARY linked by target "inverterd" in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master linked by target "testserial" in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master linked by target "inverterctl" in directory /home/smart-battery-edge/inverter-tools-master/inverter-tools-master

gch1p commented 11 months ago

You need to install hidapi and libserialport.

sante85 commented 11 months ago

how is command to build all?

this is another error #include <nlohmann/json.hpp>

sante85 commented 11 months ago

with nlohmann-json-dev i have other errors. error: ‘ordered_json’ was not declared in this scope

gch1p commented 11 months ago

did you resolve compilation issues?