Page 1 of 1

one success and two failures to build

Posted: Thu Jul 26, 2018 9:57 pm
by bernhard
success: the build process worked flawlessly on q4os, which is a Debian 9.5 with Trinity Desktop and the XP look and feel from XPQ4 installed.
a curious question: Is there a easy/quick way to switch from the default multiple windows (single document interface) to a multiple document interface? (see also: http://qt-doc.ru/sdi-i-mdi-prilozhenia.html).

failure1: on endless os (vagely based on Debian stable, see https://en.wikipedia.org/wiki/Endless_Computer#Software) the ./build fails with:

env: ‘/sysroot/home/bernhard/bbcp/BlackBox/dev0’: No such file or directory.

failure2: on siduction (rolling distribution based on Debian buster/sid see https://siduction.org/), the build process succeeds, but ./run-BlackBox failes with:

****
* BlackBox
* HostGnome: can not load libgtk-x11-2.0.so.0
****

****
* Error 01
* libgdk-x11-2.0.so.0: code file not found
****

any suggestions how to cure these errors?

Re: one success and two failures to build

Posted: Wed Aug 01, 2018 2:03 pm
by bernhard
in the meantime I think that both errors are due to the same cause: both, siduction and endless miss the support for 32 bit applications.

Sorrily I don't have any idea what I should install. For endless, I guess I should install org.freedesktop.Platform.Compat32, but I don't know (yet) how and from which source. For siduction, I guess I have to install gdk/gtk libraries for 32 bit, but I also do not (yet) know how.

Update: after installing the required packages (see Readme, requirements for Ubuntu 64bit) BlackBox starts nicely also under Siduction.

Re: one success and two failures to build

Posted: Wed Aug 01, 2018 4:37 pm
by Ivan Denisov
If there is no way to install lib32 you can copy this folder from the "sister" OS like the Debian and try to run directly

Code: Select all

/home/denisov/lib32/ld-linux.so.2 --library-path /home/denisov/lib32:$LD_LIBRARY_PATH ./blackbox
That is the way how I run BlackBox on the RedHat cluster without root access.

Re: one success and two failures to build

Posted: Wed Aug 01, 2018 9:27 pm
by bernhard
thanks, Ivan.

I just succeeded under Siduction (see my update edit).

Just curious: do you have some suggestion how to switch to MDI?

Re: one success and two failures to build

Posted: Sat Aug 04, 2018 9:40 am
by bernhard
After some googling: maybe the only way to switch to something like MDI is to use Xnest ...

Re: one success and two failures to build

Posted: Sat Aug 04, 2018 3:52 pm
by Ivan Denisov
At the current state of development the MDI is not supported for non-Windows applications. There is some prototype from Igor Dehtyarenko, however he did not share them yet. Also the MDI prototype had been made by Ivan Kuzmitsky with OpenGL and SDL2 http://redmine.molpit.org/projects/blackbox-sdl . unfortunately it is hard to build it and it is very draft now.

Re: one success and two failures to build

Posted: Sun Aug 05, 2018 8:33 am
by bernhard
Thanks for the info.