Giter Club home page Giter Club logo

Comments (6)

bigos avatar bigos commented on July 20, 2024

Correction, installing that way allows me to compile the project. I guess I accidentally installed mingw-w64-ucrt-x86_64-gtk4. They are not the same.

pacman -S mingw-w64-x86_64-gtk4 mingw-w64-x86_64-cairo mingw-w64-x86_64-gobject-introspection

from cl-gtk4.

bigos avatar bigos commented on July 20, 2024

I have a little project: https://github.com/bigos/clos-sweeper

In the README file, I explain various problems I had with making my little game run on Windows. I managed to solve the problem, but I do not know the recommended setup for running SBCL on Windows and using GTK4 and related libraries. Developing on Linux is so much easier.

from cl-gtk4.

bohonghuang avatar bohonghuang commented on July 20, 2024

In the README file, I explain various problems I had with making my little game run on Windows. I managed to solve the problem, but I do not know the recommended setup for running SBCL on Windows and using GTK4 and related libraries. Developing on Linux is so much easier.

It seems like you haven't mentioned any errors related to running on Windows in the README. In fact, Windows has not been the preferred platform for GTK because it is not UNIX, and configuring the development and runtime environments can be more complicated, as described in your README. Based on my experience, if your application runs well on Linux but encounters issues on Windows, it is likely a problem with GTK itself.

from cl-gtk4.

bigos avatar bigos commented on July 20, 2024

Or the environment variables...

Maybe, one day, someone will provide more information.

Thank you for the great library.

from cl-gtk4.

bigos avatar bigos commented on July 20, 2024

https://stdin.top/posts/gtk4-on-windows/

Could that be the information I need? I will try tomorrow.

from cl-gtk4.

bohonghuang avatar bohonghuang commented on July 20, 2024

https://stdin.top/posts/gtk4-on-windows/

Could that be the information I need? I will try tomorrow.

I believe packages like pkg-config mentioned in this article are not necessary for Lisp. All you need to do is install gtk4, gobject-introspection, and other relevant packages in MSYS2. Then, add the bin directory of mingw64 to the environment variables and run SBCL with this environment variable. This should be enough for cffi:load-foreign-library to locate the required dynamic libraries. Personally, I strongly recommend downloading the source code of SBCL on Windows, enabling the option for core compression, and compiling SBCL in the MSYS2 environment. This is because uncompressed SBCL executable files can be very large, which is not ideal for distribution.

from cl-gtk4.

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.