Comments (6)
Maybe not documented here, but documented in upstream libui: https://github.com/andlabs/libui/blob/master/README.md#runtime-requirements
Linux version requires GTK+ 3.10 or newer
If it is installed - what is output of pkg-config --libs gtk3
?
from kotlin-libui.
Hello
Thank you your quick response. I checked my gtk3 version.
pkg-config --modversion gtk+-3.0
3.22.30
pkg-config --libs gtk+-3.0
-lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
from kotlin-libui.
Ok, it's installed properly.
Well, now - where is it installed on CentOS?
If - I can guess - in /usr/lib64
- please try add it to library path, and rebuild:
--- a/libui/src/nativeInterop/cinterop/libui.def
+++ b/libui/src/nativeInterop/cinterop/libui.def
@@ -7,7 +7,7 @@ libraryPaths = build libui/build
linkerOpts.osx = -lobjc -framework Foundation -framework AppKit
-linkerOpts.linux = -L/usr/lib/x86_64-linux-gnu -L/usr/lib \
+linkerOpts.linux = -L/usr/lib/x86_64-linux-gnu -L/usr/lib64 -L/usr/lib \
-lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 \
-lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lm -ldl
from kotlin-libui.
Thank you!
I was able to solve the problem.
I'm sorry for the basic questions.
from kotlin-libui.
So -L/usr/lib64
helped on CentOS?
If yes - I'll add it to next published version.
from kotlin-libui.
Yes, I found gtk3 in
-L/usr/lib64
from kotlin-libui.
Related Issues (20)
- Documentation
- Can we have a OpenFolderDialog()? HOT 12
- Common UI for native and JVM ? HOT 1
- 32-bit windows target HOT 5
- Any ways to manually close the window?
- Add support for copy/paste shortcut on TextField and TextArea (on macOS) HOT 1
- libtinfo.so.5: cannot open shared object file: No such file or directory HOT 3
- Add fieldset and field options
- File/Dir Choose&Open Support HOT 2
- Missing support for `linux_arm32_hfp` HOT 3
- How to display link?
- User guide/Documentation HOT 1
- Can't use MsgBox in worker
- Integrate with Jetbrains Compose HOT 8
- [Documentation] could this example https://github.com/msink/kotlin-libui/tree/master/samples/drawtext be explained a bit better?
- How to show images from res folder and also via URL ?
- Depends on old version of libcrypt HOT 2
- libui-ng? HOT 3
- Release on maven central? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kotlin-libui.