one success and two failures to build

BlackBox for Windows / Linux / OpenBSD / FreeBSD
https://github.com/bbcb/bbcp https://blackbox.oberon.org/download
Post Reply
bernhard
Posts: 6
Joined: Tue Sep 17, 2013 6:56 am

one success and two failures to build

Post 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?
bernhard
Posts: 6
Joined: Tue Sep 17, 2013 6:56 am

Re: one success and two failures to build

Post 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.
Last edited by bernhard on Wed Aug 01, 2018 9:21 pm, edited 1 time in total.
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: one success and two failures to build

Post 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.
bernhard
Posts: 6
Joined: Tue Sep 17, 2013 6:56 am

Re: one success and two failures to build

Post 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?
bernhard
Posts: 6
Joined: Tue Sep 17, 2013 6:56 am

Re: one success and two failures to build

Post by bernhard »

After some googling: maybe the only way to switch to something like MDI is to use Xnest ...
User avatar
Ivan Denisov
Posts: 362
Joined: Tue Sep 17, 2013 12:21 am
Location: Krasnoyarsk, Russia

Re: one success and two failures to build

Post 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.
bernhard
Posts: 6
Joined: Tue Sep 17, 2013 6:56 am

Re: one success and two failures to build

Post by bernhard »

Thanks for the info.
Post Reply