Page 1 of 1

New build from source error with CMAKE

Posted: Monday 21 December 2020 10:33
by mcmikev
Hardware: RPI4B
Build: Trying to update to lateste version as on 21 dec 2020
Steps to reproduce: rm -Rf dev-domoticz and try new git pull and cmake and make


Hi,

I tried to update this morning and got all sort of errors about local modified files (did not do that , buut anyway) and decided to remove all dev-domoticz and start from scratch again. Had some error before a while back and this was my fix back then.

However, I get a new error now and I am not sure if I can just ignore this or must this be fixed.

Code: Select all

-- Found OpenSSL: /usr/lib/arm-linux-gnueabihf/libcrypto.so (found version "1.1.1d")
-- WITH_DLT = OFF
CMake Warning at extern/mosquitto/CMakeLists.txt:102 (FIND_PACKAGE):
  By not providing "FindcJSON.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "cJSON", but
  CMake did not find one.

  Could not find a package configuration file provided by "cJSON" with any of
  the following names:

    cJSONConfig.cmake
    cjson-config.cmake

  Add the installation prefix of "cJSON" to CMAKE_PREFIX_PATH or set
  "cJSON_DIR" to a directory containing one of the above files.  If "cJSON"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Optional dependency cJSON not found. Some features will be disabled.
I tried it a couple of times and check the wiki https://www.domoticz.com/wiki/Build_Dom ... rom_source for changes but that is exactly how I am trying to build again.

Is this error save to ignore or did something break because of a change?

Thanks for your response!!

Re: New build from source error with CMAKE

Posted: Monday 21 December 2020 10:37
by waaren
mcmikev wrote: Monday 21 December 2020 10:33 Is this error save to ignore or did something break because of a change?
Yes. It's save to ignore. It does not break the build or any of the functionality of domoticz.

Re: New build from source error with CMAKE

Posted: Monday 21 December 2020 10:40
by mcmikev
Okay, thanks for informing!

Re: New build from source error with CMAKE

Posted: Tuesday 15 June 2021 12:45
by meal
Hello,
I have the same issue when recompiling the latest Domoticz version 2021.1.
Did you manage to build successfully Domoticz and is it working properly ?
Best regards
Meal