Skip to content
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

How to build with GTK on macOS in a way the app actually works? #512

Open
barracuda156 opened this issue Apr 3, 2024 · 0 comments
Open

Comments

@barracuda156
Copy link
Contributor

Could you say how to build with GTK GUI? I can build the app with minimal tweaks, but it does not work, crashing on launch.

% /Applications/MacPorts/eiskaltdcpp/eiskaltdcpp.app/Contents/MacOS/eiskaltdcpp
Loading: Hash database
Loading: Shared Files
Loading: Download Queue
Loading: Users
Installing handler for: Segmentation fault
Installing handler for: Abort trap
Installing handler for: Bus error
Installing handler for: Terminated
Signal handlers installed.
eiskaltdcpp.app/Contents/Resources/gtk is inaccessible, falling back to current directory instead.
GTKBUILDER ERROR file => ./ui/mainwindow.ui ,
 => Failed to open file “./ui/mainwindow.ui”: No such file or directory
(eiskaltdcpp:32261): Gtk-CRITICAL **: 08:53:41.502: gtk_main_quit: assertion 'main_loops != NULL' failed

(eiskaltdcpp:32261): Gtk-CRITICAL **: 08:53:41.502: gtk_window_set_role: assertion 'GTK_IS_WINDOW (window)' failed
Catching signal : Segmentation fault

Linking to libraries looks fine, bundle structure looks sane too, but the thing is still broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant