You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ jpm test
running test/test.janet ...
error: could not load native build/webview.so: build/webview.so: undefined symbol: gtk_window_get_type
in native
in <anonymous> [boot.janet] on line 1942, column 26
in require [boot.janet] on line 1963, column 16
in import* [boot.janet] on line 1975, column 15
in _thunk [test/test.janet] (tailcall) on line 3, column 1
The text was updated successfully, but these errors were encountered:
I had the same issue and it seems like the order in which compiler flags are passed to gcc is not right. Try compiling the .so manually via: gcc -shared -o build/webview.so webview.c $(pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0) -fPIC -DWEBVIEW_GTK -I$(jpm show-paths | grep header|cut -d' ' -f2)
You can also check your webkit.so whether it was properly linked. If it was NOT properly linked the output of ldd build/webview.so will be very short; ie.:
The text was updated successfully, but these errors were encountered: