-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Fails with Newest libgtkdatabox-dev #384
Comments
Hi, |
Is there any way to run osc on Ubuntu 22.04LTS while migration lasts? It has libgtkdatabox 1.0. |
You can get the source code and try to compile it yourself (you need to also make sure you don't have any other package relying libgtkdatabox 1.0. so you can uninstall it). But do you have any hard requirement to run iut un 22.04LTS? I would just recommend to use docker and create an image based on ubuntu 20.04 already with osc built and run it from the container... It is possible to run GUI apps inside a docker container |
Just a note. We are close to finishing the transition to GTK3. It should be completed by the middle of this month. |
@dNechita I'm new to the world of Linux apps and just spent 2.5 days trying to install the IIO osc application. I was having the same issue with the gtkdatabox that the OP of this issue reported. All my issues were resolved by downgrading my Ubuntu install from 22.04 to 20.04. I was hoping could you explain to a noob why I was able to build on the older Ubuntu, but not the newer one? |
On Ubuntu 20.04, when you install gtkdatabox via apt, you will receive a package with version 0.9.whatever. This package is based on GTK2. Since gtkdatabox is a widget used within iio-osc, osc also needs to be based on GTK2, and it is. So build succeeds. |
Thank you @dNechita ! |
Hello, I encounter a similar issue.I have follow https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope to install ,but when "sudo make install", the error occurs.Here's the log In file included from /usr/include/gtkdatabox.h:24, Could someone tell me how to deal with it?Much appreciation. |
On Debian bookworm amd64, with Testing PPA's enabled, the iio-oscilloscope does not compile correctly with the newest version of software. The error is due to the gtkdatabox versioning, despite passing the checks in the adi_update_tools.sh.
Expected Behavior:
Running CMake:
Make:
Observed Behavior:
Running CMake:
Make:
The resolution was found by installing the stable versions of the package, namely libgtkdatabox0_0.9.3.1-2 and libgtkdatabox-dev_0.9.3.1-2
The text was updated successfully, but these errors were encountered: