Code Monkey home page Code Monkey logo

Comments (6)

msink avatar msink commented on June 10, 2024

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.

komkomh avatar komkomh commented on June 10, 2024

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.

msink avatar msink commented on June 10, 2024

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.

komkomh avatar komkomh commented on June 10, 2024

Thank you!
I was able to solve the problem.
I'm sorry for the basic questions.

from kotlin-libui.

msink avatar msink commented on June 10, 2024

So -L/usr/lib64 helped on CentOS?
If yes - I'll add it to next published version.

from kotlin-libui.

komkomh avatar komkomh commented on June 10, 2024

Yes, I found gtk3 in
-L/usr/lib64

from kotlin-libui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.