GithubHelp home page GithubHelp logo

mrousavy / gimp-rpc Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 2.0 582 KB

A GIMP plugin to display Discord Rich Presence made with C

License: MIT License

C 100.00%
addon c discord extension gimp plugin presence rich rpc

gimp-rpc's Introduction

gimp-rpc's People

Contributors

imgbotapp avatar mrousavy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gimp-rpc's Issues

Linux compilation issue

$ git clone https://github.com/mrousavy/gimp-rpc.git
gimptool-2.0 --install-admin gimp-rpc/plugin.c

Cloning into 'gimp-rpc'...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 56 (delta 0), reused 5 (delta 0), pack-reused 50
Receiving objects: 100% (56/56), 582.07 KiB | 1.04 MiB/s, done.
Resolving deltas: 100% (17/17), done.
gcc  -I/usr/include/gimp-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/pixman-1 -I/usr/include/gegl-0.4 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/atk-1.0 -pthread  -o '/usr/lib/gimp/2.0/plug-ins/plugin/plugin' 'gimp-rpc/plugin.c'  -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype  
gimp-rpc/plugin.c:1:10: fatal error: gimp/libgimp/gimp.h: No such file or directory
    1 | #include <gimp/libgimp/gimp.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

even when I try to compile it with gcc manually:

$ gcc gimp-rpc/plugin.c
gimp-rpc/plugin.c:1:10: fatal error: gimp/libgimp/gimp.h: No such file or directory
    1 | #include <gimp/libgimp/gimp.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

trying to do git submodule update --init --recursive in that directory clones the gimp and discord-rpc folders, but I still get the same error.

Edit: Also, I'm using:
Arch Linux:

$ uname -a
Linux ggorg-arch 5.10.55-1-lts #1 SMP Sat, 31 Jul 2021 08:12:13 +0000 x86_64 GNU/Linux

Gimp 2.10.24:

gimp --version
GNU Image Manipulation Program version 2.10.24

GCC 11.1.0

$ gcc --version
gcc (GCC) 11.1.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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.