leoliu / ggtags

Emacs frontend to GNU Global source code tagging system.
http://elpa.gnu.org
575 stars 56 forks source link

On Msys2 system gtags can not find GTAGS file #123

Open code-moritz opened 8 years ago

code-moritz commented 8 years ago

On Msys2 64bit i am already install global latest version, and install emacs ggtags plugin.

In a source code folder, i use the gtags.exe command create tag db.

when i open emacs and try to find a tag, then emacs mini buffer show :

`gtags' in progress...done (0.96s) GTAGS generated in~/opensource/shadowsocks-libev-master/' ggtags-check-project: File GTAGS not found`

ggtags-error

leoliu commented 8 years ago

Hi @code-moritz,

Thanks for the report. Is this the same issue as #121? If so I think the problem is somewhere else.

Leo

danyuhao commented 8 years ago

I got the same problem. I installed the emacs by pacman -S mingw-w64-x86_64-emacs, and installed global by pacman -S global,and I run emacs like this


 jie@surface MSYS /
$ /mingw64/bin/emacs &

It seems I run a windows emacs from cygwin bash with a cygwin global ?? I don't use a cygwin emacs because it's often really very slowly when do edit in a C/C++ project. But Ctags which is also made from msys-cygwin run OK with this emacs . What should I do to deal with this, any suggestions ??

danyuhao commented 8 years ago

Oh, I found and installed this package mingw-w64-x86_64-global by pacman, and started emacs from bash of mingw64. And the problem is solved, gtags works perfectly!

leoliu commented 8 years ago

hi @danyuhao thanks for the info. I wonder if that solves @code-moritz's issue too?