List of compilation dependencies

I’m in the process of trying to compile deconz based on deconz/BUILDING.md at main · dresden-elektronik/deconz · GitHub and I keep getting errors about missing packages.

Is there a list available of what I need to apt install in order to meet the compilation dependencies?

IDK, wich one are missing ?
Have you tried with the same dependencies than for the plugin ?
From here deconz-rest-plugin/BUILDING.md at master · dresden-elektronik/deconz-rest-plugin · GitHub

so far apt install qtbase5-dev libqt5serialport5-dev libqt5websockets5-dev is missing from the instructions

now I’m getting some sort of openssl related error

Can you share the error message ?

After adding apt libssl-dev the ssl related error is gone; and it would appear that I have installed all of the necessary dependencies. That being said, I am still getting an error when compiling.

deconz/src/zm_attribute_info.cpp:177:25: error: ‘class deCONZ::ZclAttribute’ has no member named ‘isWriteonly’

Ha yes it seem the deconz lib is not the good version.
I think you have this version deconz-lib/deconz/zcl.h at 3ef5f1a200cbf8790166afc61f65cf978826129a · dresden-elektronik/deconz-lib · GitHub
(There is a “dynamic github link” and this link is not toward the last version)

And on the more recent one, the fonction is present

I have the version that is pulled when running git submodule update --init --recursive while following the BUILDING.md instructions.

From within the local src/lib dir, if I run git branch the output clearly shows that I am on a detached commit of the main branch of the deconz-lib.
Do you know how I can use git to properly checkout the main branch of the submodule?

I think there is a problem on the official GIT, it use the bad lib branch for me.

On my side I would have used “brute method” and install myself the last branch of the “deconz lib” on “deconz” folder.
Perhaps @manup have a more pacific method ? ^^

here is what I did to solve the problem
in the root deconz dir: git submodule update --remote --merge
in the deconz/src/lib/deconz dir: git checkout main

after than I was able to compile successfully :slight_smile:

1 Like