Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/129.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
C++ “通用登图”;(STDERR):找不到文件indentinput.cpp“;错误_C++_Formatting_Format_Universalindentgui - Fatal编程技术网

C++ “通用登图”;(STDERR):找不到文件indentinput.cpp“;错误

C++ “通用登图”;(STDERR):找不到文件indentinput.cpp“;错误,c++,formatting,format,universalindentgui,C++,Formatting,Format,Universalindentgui,我想知道是否有人用过 我正在尝试使用它,运行时会出现以下错误 没有适当的文档或教程如何使用它,如果有人使用过它,请帮助我 Indenter returned with exit code: 1 Indent console output was: (STDOUT): (STDERR):Cannot find file indentinput.cpp 调用字符串为: "/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/indenters/a

我想知道是否有人用过

我正在尝试使用它,运行时会出现以下错误

没有适当的文档或教程如何使用它,如果有人使用过它,请帮助我

Indenter returned with exit code: 1
Indent console output was: 
(STDOUT):
(STDERR):Cannot find file indentinput.cpp 
调用字符串为:

"/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/indenters/astyle"
indentinput.cpp 
--options="/Users/rbang/Desktop/Tools/UniversalIndentGUI_macx/temp/.astylerc"

我经历了同样的问题,但是如果你在UI顶部的下拉菜单中切换到不同的压头(正好低于文本“压入设置”),并使用不同的压头(我使用Uncrustify(C++,C +,C,Objul-C)它起作用了。我怀疑这与以下事实有关:所有压头可能没有与下载捆绑在一起,但uncrustify是。我尝试过的大多数压头都有这个问题,但我唯一关心的是uncrustify。

在安装UniversalIndentGUI的目录中打开
压头/uigui_astyle.ini
,并找到以下内容天然气性质:

inputFileName=indentinput
inputFileParameter=
outputFileName=indentinput
outputFileParameter=none
将其更改为:

inputFileName=
inputFileParameter=stdin
outputFileName=
outputFileParameter=stdout