kosenko / ui

Boost.UI library
266 stars 18 forks source link

Linux package #20

Open UltraBlackLinux opened 1 year ago

UltraBlackLinux commented 1 year ago

Hey there, I just stumbled about this and it might be the first actually not bloated (QMap, QWidget, all that annoying stuff) and most usable gui library that I have ever found, but I'm facing a problem: Building just fails since gcc fails to find the required wxwidgets libraries even though I followed all the building steps. Please create a Linux package using e.g. actions to allow easier installation and assist with compilation issues. The process is quite involved and doesn't seem easy to fix in case it fails. I would really welcome this. Thanks!

kosenko commented 1 year ago

minimal and webview wxWidgets sample applications run without errors? It would be nice to have Linux packages, but there are too many Linux distributions, Linux package managers, various wxWidgets and boost versions. Try to install libwxgtk-webview3.0-dev package as described in https://github.com/kosenko/ui/blob/master/build/README.md

UltraBlackLinux commented 1 year ago

minimal and webview wxWidgets sample applications run without errors? It would be nice to have Linux packages, but there are too many Linux distributions, Linux package managers, various wxWidgets and boost versions. Try to install libwxgtk-webview3.0-dev package as described in https://github.com/kosenko/ui/blob/master/build/README.md

The minimal program works flawlessly, but there is no webview build process configured. The samples/webview folder does not exist.

Regarding the package: Some pre-built actions package would probably suffice. Creating an arch-package is pretty easy so someone else can do that provided the build process works, which it doesn't for me at the moment.

kosenko commented 1 year ago

It is because wxWidgets was built without wxWebView support. You should either enable wxWebView (--enable-webview) or disable boost::ui::web_widget as described in https://github.com/kosenko/ui/issues/21#issuecomment-1193011446