New build from source error with CMAKE Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

New build from source error with CMAKE

Post 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!!
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: New build from source error with CMAKE

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
mcmikev
Posts: 146
Joined: Tuesday 26 May 2015 8:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: right here
Contact:

Re: New build from source error with CMAKE

Post by mcmikev »

Okay, thanks for informing!
meal
Posts: 108
Joined: Monday 04 March 2019 14:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: France
Contact:

Re: New build from source error with CMAKE

Post 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
meal
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest