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

New Install on Linux Mint 22 #24

Open
stuckca opened this issue Nov 28, 2024 · 0 comments
Open

New Install on Linux Mint 22 #24

stuckca opened this issue Nov 28, 2024 · 0 comments

Comments

@stuckca
Copy link

stuckca commented Nov 28, 2024

After finding a method of getting 'libwebkit2gtk-4.0-dev' because it is no longer available from the primary repos, I still am running into MAKE errors:
cc -std=c11 main.c -o hudkit pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0
main.c: In function ‘on_js_call_finished’:
main.c:83:13: warning: implicit declaration of function ‘webkit_web_view_evaluate_javascript_finish’; did you mean ‘webkit_web_view_run_javascript_finish’? [-Wimplicit-function-declaration]
83 | value = webkit_web_view_evaluate_javascript_finish(WEBKIT_WEB_VIEW(object), result, &error);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| webkit_web_view_run_javascript_finish
main.c:83:11: warning: assignment to ‘JSCValue *’ {aka ‘struct _JSCValue *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
83 | value = webkit_web_view_evaluate_javascript_finish(WEBKIT_WEB_VIEW(object), result, &error);
| ^
main.c: In function ‘call_js_callback’:
main.c:106:5: warning: implicit declaration of function ‘webkit_web_view_evaluate_javascript’; did you mean ‘webkit_web_view_run_javascript’? [-Wimplicit-function-declaration]
106 | webkit_web_view_evaluate_javascript(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| webkit_web_view_run_javascript
/usr/bin/ld: /tmp/ccH6XAXI.o: in function on_js_call_finished': main.c:(.text+0x239): undefined reference to webkit_web_view_evaluate_javascript_finish'
/usr/bin/ld: /tmp/ccH6XAXI.o: in function call_js_callback': main.c:(.text+0x32e): undefined reference to webkit_web_view_evaluate_javascript'
/usr/bin/ld: /tmp/ccH6XAXI.o: in function show_attached_inspector_no_keyboard_advice': main.c:(.text+0x1385): undefined reference to webkit_web_view_evaluate_javascript'
/usr/bin/ld: /tmp/ccH6XAXI.o: in function call_js_listeners': main.c:(.text+0x2bc9): undefined reference to webkit_web_view_evaluate_javascript'
collect2: error: ld returned 1 exit status
make: *** [makefile:2: hudkit] Error 1

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