Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Emacs中使用Perforce时出错_Emacs_Perforce - Fatal编程技术网

在Emacs中使用Perforce时出错

在Emacs中使用Perforce时出错,emacs,perforce,Emacs,Perforce,我获得了p4.el,并将以下内容放在我的.emacs中,在cygwin下运行: (setq p4-executable "p4") (load-library "p4") p4.exe是cygwin版本 运行M-x p4 info时,我收到以下错误: /path/to/p4.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory 然而运行M-

我获得了p4.el,并将以下内容放在我的.emacs中,在cygwin下运行:

(setq p4-executable "p4")
(load-library "p4")
p4.exe是cygwin版本

运行M-x p4 info时,我收到以下错误:

/path/to/p4.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory
然而运行M-!p4信息工作正常。可能我缺少一个env变量。如果这是一个基本问题,我深表歉意-我是emacs新手。

尝试将
(p4-set-p4-executable)/my/path/to/p4“
添加到您的.emacs