-
Notifications
You must be signed in to change notification settings - Fork 26
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
SIGSEGV after swift build #54
Comments
Hi. There is a bug in the SPM that makes it crash when there are circular dependencies in the .pc files. The Arch has such circular dependency. The fix in the SPM is on the way in the Swift 5.5, so try using the development toolchain. The alternative solution is removing the circular dependency in the .pc files by hand. The issue was originally discussed in this issue: #43 . |
Okey, thanks for explanation, will wait 5.5 then |
hello again, maybe I waited too long, for now I can compile GTK3 Hello world example successfully, but with SwiftGtkListViewDemo-gtk4 I have fatalError on compiling Gtk-4 Calendar-Dialog. /home/gavr/Projects/Swift/SwiftGtkListViewDemo-gtk4/.build/checkouts/SwiftGtk/Sources/Gtk/Gtk-4.0-BookmarkList-CClosureExpression.swift:5061:28: warning: extraneous duplicate parameter name; 'iconName' already has an argument label
@inlinable public init(iconName iconName: UnsafePointer<CChar>? = nil) {
^~~~~~~~~
/home/gavr/Projects/Swift/SwiftGtkListViewDemo-gtk4/.build/checkouts/SwiftGtk/Sources/Gtk/Gtk-4.0-BookmarkList-CClosureExpression.swift:5091:43: warning: extraneous duplicate parameter name; 'iconName' already has an argument label
@inlinable public static func newFrom(iconName iconName: UnsafePointer<CChar>? = nil) -> Widget! {
^~~~~~~~~
[31/34] Compiling Gtk Gtk-4.0-Calendar-Dialog.swift
error: fatalError
this is error after swift run, the |
I was not able to look into it yet. Just letting you know I didn't forget about it. |
Can you try again and let me know? I fixed a gtk4 linker issue last week that caused problems on Linux. |
System: arch linux
Here full video from the start
Peek.2021-08-03.21-50.mp4
Here text error by language server if it helps:
The text was updated successfully, but these errors were encountered: