开发者

Error using Perforce within Emacs

开发者 https://www.devze.com 2023-01-23 10:42 出处:网络
I\'ve obtained p4.el and put the following in my .emacs, running under cygwin: (setq p4-executable \"p4\")

I've obtained p4.el and put the following in my .emacs, running under cygwin:

(setq p4-executable "p4")
(load-library "p4")

p4.exe is the cygwin version.

On running M-x p4-info I get the following error:

/path/to/p4.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

Yet running M-! p4 info works fine. Probably I'm missing an en开发者_StackOverflow社区v variable. Apologies if this is a basic question - I'm new to emacs.


Try adding (p4-set-p4-executable "/my/path/to/p4") to your .emacs.

0

精彩评论

暂无评论...
验证码 换一张
取 消