Generally: It is recommended to execute the install_cvb.sh script.
The question, which package to install doesn’t relate to the programming language or whether gui applications are needed. It is related to the use case.
I guess my CPP-application will only need some of the so-lib:s from the debian(s) and will not need codemeter and dev etc…
I tried to install only the camerasuite (by force) but got problems with the cvmgtd?!
(In the end a small Docker-image with this would be nice…)
@IngFra
Among other things, this is why @s-woe recommended using the default setup.
If you really need a minimal setup, you could leave out the dev.deb files. These contain example applications and everything you need to compile a cvb application.
If you do not need foundation tools, you could leave out the cvb-foundation*.deb file. If you do not need other cvb tools, you could also leave out cvb-tools*.deb.
As the CVB Management Deamon (cvmgmtd) needs the codemeter setup, you need to install it.
The codemeter setup has some GUI related dependencies. Some people are looking for a setup without these dependencies, as they want to install it on an ubuntu server without a desktop environment. Then you need to have a version compatible “driver only” or “lite” deb package from the codemeter setup.
But I get this error when “forcing” the installation of cvb-camerasuite:
$ sudo dpkg -i --force-all cvb-camerasuite-14.00.010-ubu2004-x86_64.deb
...
Job for cvmgmtd.service failed because the control process exited with error code.
See "systemctl status cvmgmtd.service" and "journalctl -xe" for details.
dpkg: error processing package cvb-camerasuite (--install):
installed cvb-camerasuite package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (245.4-4ubuntu3.23) ...
Processing triggers for libc-bin (2.31-0ubuntu9.15) ...
Errors were encountered while processing:
cvb-camerasuite
$ systemctl status cvmgmtd.service
● cvmgmtd.service - Common Vision Blox Management Daemon.
Loaded: loaded (/lib/systemd/system/cvmgmtd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-05-29 08:54:39 CEST; 33s ago
maj 29 08:54:39 writemmstestrig systemd[1]: Starting Common Vision Blox Management Daemon....
maj 29 08:54:39 writemmstestrig cvmgmtd[1089177]: /opt/cvb-14.00.010/bin/cvmgmtd: error while loading shared libraries: libwibucm.so: cannot open shared object file: No such file or directory
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Control process exited, code=exited, status=127/n/a
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Failed with result 'exit-code'.
maj 29 08:54:39 writemmstestrig systemd[1]: Failed to start Common Vision Blox Management Daemon..
as you can see, our debians are not prepared for a customization. I - again - highly recommend to install the whole package with the delivered script. Especially the codemeter debian, we deliver.
Afterwards, we could think about slacking down the footprint of the installation by removing installed binaries and files you don’t need. But - of course - this is also not recommended and we can not guarantee a functional product any longer. Do this on your own risk.
what you try to do is technically possible but not with our standard installation package.
It will require a custom installation and potentially also an OEM license to get rid of CodeMeter altogether. We can offer assistance with that.