Please do a github preview before you post the comment, your copying and pasting on Windows seems to have converted the text you copied from my post to non-utf-8 so it shows as Asian characters.

Your subsequent edits show that the problem is pkg-config can't find Geany and tells you what to do, add the directory containing the geany.pc file to the environment variable.

Are you running the gcc command in the mingw shell, not the Windows cmd?

I successfully compiled the hello world plugin as you said, which helped me a lot. Now I'm making an installation version, but the following prompt comes up when I execute the python script

D:\DevelopTools\msys64\home\hp\geany>python ..\geany-release.py
Execute command: git pull
fatal: not a git repository (or any of the parent directories): .git
Traceback (most recent call last):
  File "D:\DevelopTools\msys64\home\hp\geany-release.py", line 121, in <module>
    make_release()
  File "D:\DevelopTools\msys64\home\hp\geany-release.py", line 92, in make_release
    update_geany_themes()
  File "D:\DevelopTools\msys64\home\hp\geany-release.py", line 42, in update_geany_themes
    run_command('git', 'pull', cwd=GEANY_THEMES_REPO_PATH)
  File "D:\DevelopTools\msys64\home\hp\geany-release.py", line 37, in run_command
    check_call(cmd, **kwargs)
  File "D:\DevelopTools\msys64\mingw64\lib\python3.10\subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '('git', 'pull')' returned non-zero exit status 128.

But I do have a .git repository here.

$ git init
Reinitialized existing Git repository in D:/DevelopTools/msys64/home/hp/geany/.git

The signcode mentioned in the wiki, I downloaded it from the internet, assuming it works properly?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/issues/1169/1191106212@github.com>