应该在那个启动器的目录下有个和.ini的文件,你打开看看有配置文件的路径什么的,把错误的改为正确的就可以了!
calsh无法启动主程序?首先是我的解决方法,直接关闭windows防火墙,如果你不想关闭也可以采用以下方法:
打开windows安全中心--防火墙与网络保护--允许应用通过防火墙--更改设置--允许其他应用--浏览--选择clash目录下的resources\static\files\win\x64\clash-win64.exe--点添加。
我是win10系统,其他系统没测试。
2.如果还不行,设置那一栏有个Secret核心,点更新,重新导入订阅的URL链接。
3.clash 启动失败,显示Parse config error: proxy 0: TLS must be true with h2/grpc network。
clash 的 vmess的H2添加服务器里面没有 TLS的选项,所以启动不起来。
在yaml文件 添加一个 tls的设置。
4.关闭杀毒软件,以管理员方式运行。
5.端口被占用了,参考 https://blog.51cto.com/u_15127578/4207165 这位大佬得心得!
导入clashx配置 在网站用户中心,选择。
_acos,点击一键导入clashX配置,会自动跳转到 clashx软件,之后选择相应的节点,设置others为直连,之后,打开浏览器。
有两个TC2.0的出错提示,没有TC++的,也没有VC的,如果是VC++,可以用金山词霸查。
TC 2.0编译错误信息
说明:Turbo C 的源程序错误分为三种类型:致命错误、一般错误和警告。其中,致命错误通常是内部编译出错;一般错误指程序的语法错误、磁盘或内存存取错误或命令行错误等;警告则只是指出一些得怀疑的情况,它并不防止编译的进行。
下面按字母顺序A~Z分别列出致命错误及一般错误信息,英汉对照及处理方法:
(一)、致命错误英汉对照及处理方法:
A-B致命错误
Bad call of in-line function (内部函数非法调用) 。
分析与处理:在使用一个宏定义的内部函数时,没能正确调用。一个内部函数以两个下划线(__)开始和结束。
Irreducable expression tree (不可约表达式树) 。
分析与处理:这种错误指的是文件行中的表达式太复杂,使得代码生成程序无法为它生成代码。这种表达式必须避免使用。
Register allocation failure (存储器分配失败) 。
分析与处理:这种错误指的是文件行中的表达式太复杂,代码生成程序无法为它生成代码。此时应简化这种繁杂的表达式或干脆避免使用它。
(二)、一般错误信息英汉照及处理方法 。
#operator not followed by maco argument name(#运算符后没跟宏变元名) 。
分析与处理:在宏定义中,#用于标识一宏变串。“#”号后必须跟一个宏变元名。
'xxxxxx' not anargument ('xxxxxx'不是函数参数)' 。
分析与处理:在源程序中将该标识符定义为一个函数参数,但此标识符没有在函数中出现。
Ambiguous symbol 'xxxxxx' (二义性符号'xxxxxx') 。
分析与处理:两个或多个结构的某一域名相同,但具有的偏移、类型不同。在变量或表达式中引用该域而未带结构名时,会产生二义性,此时需修改某个域名或在引用时加上结构名。
Argument # missing name (参数#名丢失) 。
分析与处理:参数名已脱离用于定义函数的函数原型。如果函数以原型定义,该函数必须包含所有的参数名。
Argument list syntax error (参数表出现语法错误) 。
分析与处理:函数调用的参数间必须以逗号隔开,并以一个右括号结束。若源文件中含有一个其后不是逗号也不是右括号的参数,则出错。
Array bounds missing (数组的界限符"]"丢失) 。
分析与处理:在源文件中定义了一个数组,但此数组没有以下右方括号结束。
Array size too large (数组太大) 。
分析与处理:定义的数组太大,超过了可用内存空间。
Assembler statement too long (汇编语句太长) 。
分析与处理:内部汇编语句最长不能超过480字节。
Bad configuration file (配置文件不正确) 。
分析与处理:TURBOC.CFG配置文件中包含的不是合适命令行选择项的非注解文字。配置文件命令选择项必须以一个短横线开始。
Bad file name format in include directive(包含指令中文件名格式不正确) 。
分析与处理:包含文件名必须用引号("filename.h")或尖括号(<文件名>)括起来,否则将产生本类错误。如果使用了宏,则产生的扩展文本也不正确,因为无引号没办法识别。
Bad ifdef directive syntax (ifdef指令语法错误) 。
分析与处理:#ifdef必须以单个标识符(只此一个)作为该指令的体。
Bad ifndef directive syntax (ifndef指令语法错误) 。
分析与处理:#ifndef 必须以单个标识符(只此一个)作为该指令的体。
Bad undef directive syntax (undef指令语法错误) 。
分析与处理:#undef指令必须以单个标识符(只此一个)作为该指令的体。
Bad file size syntax (位字段长语法错误) 。
分析与处理:一个位字段长必须是1—16位的常量表达式。
Call of non-functin (调用未定义函数) 。
分析与处理:正被调用的函数无定义,通常是由于不正确的函数声明或函数名拼错而造成。
Cannot modify a const object (不能修改一个长量对象) 。
分析与处理:对定义为常量的对象进行不合法操作(如常量赋值)引起本错误。
Case outside of switch (Case 出现在switch外) 。
分析与处理:编译程序发现Case语句出现在switch语句之外,这类故障通常是由于括号不匹配造成的。
Case statement missing (Case语句漏掉) 。
分析与处理:Case语必须包含一个以冒号结束的常量表达式,如果漏了冒号或在冒号前多了其它符号,则会出现此类错误。
Character constant too long (字符常量太长) 。
分析与处理:字符常量的长度通常只能是一个或两个字符长,超过此长度则会出现这种错误。
Compound statement missing (漏掉复合语句) 。
分析与处理:编译程序扫描到源文件未时,未发现结束符号 (大括号),此类故障通常是由于大括号不匹配所致。
Conflicting type modifiers (类型修饰符冲突) 。
分析与处理:对同一指针,只能指定一种变址修饰符(如near 或far);而对于同一函数,也只能给出一种语言修饰符(如Cdecl、pascal或interrupt)。
Constant expression required (需要常量表达式) 。
分析与处理:数组的大小必须是常量,本错误通常是由于#define常量的拼写错误引起。
Could not find file 'xxxxxx.xxx' (找不到'xxxxxx.xx'文件) 。
分析与处理:编译程序找不到命令行上给出的文件。
Declaration missing (漏掉了说明) 。
分析与处理:当源文件中包含了一个struct或 union域声明,而后面漏掉了分号,则会出现此类错误。
Declaration needs type or storage class(说明必须给出类型或存储类) 。
分析与处理:正确的变量说明必须指出变量类型,否则会出现此类错误。
Declaration syntax error (说明出现语法错误) 。
分析与处理:在源文件中,若某个说明丢失了某些符号或输入多余的符号,则会出现此类错误。
Default outside of switch (Default语句在switch语句外出现) 。
分析与处理:这类错误通常是由于括号不匹配引起的。
Define directive needs an identifier (Define指令必须有一个标识符) 。
分析与处理:#define 后面的第一个非空格符必须是一个标识符,若该位置出现其它字符,则会引起此类错误。
Division by zero (除数为零) 。
分析与处理:当源文件的常量表达式出现除数为零的情况,则会造成此类错误。
Do statement must have while (do语句中必须有While关键字) 。
分析与处理:若源文件中包含了一个无While关键字的 do语句,则出现本错误。
DO while statement missing ( (Do while语句中漏掉了符号"(") 。
分析与处理:在do语句中,若 while关键字后无左括号,则出现本错误。
Do while statement missing;(Do while语句中掉了分号) 。
分析与处理:在DO语句的条件表达式中,若右括号后面无分号则出现此类错误。
Duplicate Case (Case情况不唯一) 。
分析与处理:Switch语句的每个case必须有一个唯一的常量表达式值。否则导致此类错误发生。
Enum syntax error (Enum语法错误) 。
分析与处理:若enum说明的标识符表格式不对,将会引起此类错误发生。
Enumeration constant syntax error (枚举常量语法错误) 。
分析与处理:若赋给enum类型变量的表达式值不为常量,则会导致此类错误发生。
Error Directive : xxxx (Error指令:xxxx) 。
分析与处理:源文件处理#error指令时,显示该指令指出的信息。
Error Writing output file (写输出文件错误) 。
分析与处理:这类错误通常是由于磁盘空间已满,无法进行写入操作而造成。
Expression syntax error (表达式语法错误) 。
分析与处理:本错误通常是由于出现两个连续的操作符,括号不匹配或缺少括号、前一语句漏掉了分号引起的。
Extra parameter in call (调用时出现多余参数) 。
分析与处理:本错误是由于调用函数时,其实际参数个数多于函数定义中的参数个数所致。
Extra parameter in call to xxxxxx(调用xxxxxxxx函数时出现了多余参数) 。
File name too long (文件名太长) 。
分析与处理:#include指令给出的文件名太长,致使编译程序无法处理,则会出现此类错误。通常DOS下的文件名长度不能超过 64个字符。
For statement missing ) (For语名缺少")") 。
分析与处理:在 for语句中,如果控制表达式后缺少右括号,则会出现此类错误。
For statement missing( (For语句缺少"(") 。
For statement missing; (For 语句缺少";") 。
分析与处理:在 for语句中,当某个表达式后缺少分号,则会出现此类错误。
Function call missing) (函数调用缺少")") 。
分析与处理:如果函数调用的参数表漏掉了右手括号或括号不匹配,则会出现此类错误。
Function definition out ofplace (函数定义位置错误) 。
Function doesn't take a variable number of argument(函数不接受可变的参数个数) 。
Goto statement missing label (Goto语句缺少标号) 。
If statement missing( (If语句缺少"(") 。
If statement missing) (If语句缺少")") 。
lllegal initalization (非法初始化) 。
lllegal octal digit (非法八进制数) 。
分析与处理:此类错误通常是由于八进制常数中包含了非八进制数字所致。
lllegal pointer subtraction (非法指针相减) 。
lllegal structure operation (非法结构操作) 。
lllegal use of floating point (浮点运算非法) 。
lllegal use of pointer (指针使用非法) 。
Improper use of a typedef symbol (typedef符号使用不当) 。
Incompatible storage class (不相容的存储类型) 。
Incompatible type conversion (不相容的类型转换) 。
Incorrect commadn line argument:xxxxxx (不正确的命令行参数:xxxxxxx) 。
Incorrect commadn file argument:xxxxxx (不正确的配置文件参数:xxxxxxx) 。
Incorrect number format (不正确的数据格式) 。
Incorrect use of default (deflult不正确使用) 。
Initializer syntax error (初始化语法错误) 。
Invaild indrection (无效的间接运算) 。
Invalid macro argument separator (无效的宏参数分隔符) 。
Invalid pointer addition (无效的指针相加) 。
Invalid use of dot (点使用错) 。
Macro argument syntax error (宏参数语法错误) 。
Macro expansion too long (宏扩展太长) 。
Mismatch number of parameters in definition(定义中参数个数不匹配) 。
Misplaced break (break位置错误) 。
Misplaced continue (位置错) 。
Misplaced decimal point (十进制小数点位置错) 。
Misplaced else (else 位置错) 。
Misplaced else driective (clse指令位置错) 。
Misplaced endif directive (endif指令位置错) 。
Must be addressable (必须是可编址的) 。
Must take address of memory location (必须是内存一地址) 。
No file name ending (无文件终止符) 。
No file names given (未给出文件名) 。
Non-protable pointer assignment (对不可移植的指针赋值) 。
Non-protable pointer comparison (不可移植的指针比较) 。
Non-protable return type conversion (不可移植的返回类型转换) 。
Not an allowed type (不允许的类型) 。
Out of memory (内存不够) 。
Pointer required on left side of (操作符左边须是一指针) 。
Redeclaration of 'xxxxxx' ('xxxxxx'重定义) 。
Size of structure or array not known (结构或数组大小不定) 。
Statement missing; (语句缺少“;”) 。
Structure or union syntax error (结构或联合语法错误) 。
Structure size too large (结构太大) 。
Subscription missing ] (下标缺少‘]’) 。
Switch statement missing ( (switch 语句缺少"(") 。
Switch statement missing ) (switch 语句缺少")") 。
Too few parameters in call (函数调用参数太少) 。
Too few parameter in call to'xxxxxx'(调用'xxxxxx'时参数太少) 。
Too many cases (Cases太多) 。
Too many decimal points (十进制小数点太多) 。
Too many default cases (defaut太多) 。
Too many exponents (阶码太多) 。
Too many initializers (初始化太多) 。
Too many storage classes in declaration (说明中存储类太多) 。
Too many types in decleration (说明中类型太多) 。
Too much auto memory in function (函数中自动存储太多) 。
Too much global define in file (文件中定义的全局数据太多) 。
Two consecutive dots (两个连续点) 。
Type mismatch in parameter # (参数"#"类型不匹配) 。
Type mismatch in parameter # in call to 'XXXXXXX' (调用'XXXXXXX'时参数#类型不匹配) 。
Type missmatch in parameter 'XXXXXXX' (参数'XXXXXXX'类型不匹配) 。
Type mismatch in parameter 'YYYYYYYY' in call to 'YYYYYYYY'(调用'YYYYYYY'时参数'XXXXXXXX'数型不匹配) 。
Type mismatch in redeclaration of 'XXX' (重定义类型不匹配) 。
Unable to creat output file 'XXXXXXXX.XXX' (不能创建输出文件'XXXXXXXX.XXX') 。
Unable to create turboc.lnk (不能创建turboc.lnk ) 。
Unable to execute command 'xxxxxxxx'(不能执行'xxxxxxxx'命令) 。
Unable to open include file 'xxxxxxx.xxx' (不能打开包含文件'xxxxxxxx.xxx') 。
Unable to open inputfile 'xxxxxxx.xxx' (不能打开输入文件'xxxxxxxx.xxx') 。
Undefined label 'xxxxxxx' (标号'xxxxxxx'未定义) 。
Undefined structure 'xxxxxxxxx' (结构'xxxxxxxxxx'未定义) 。
Undefined symbol 'xxxxxxx' (符号'xxxxxxxx'未定义) 。
Unexpected end of file in comment started on line #(源文件在某个注释中意外结束) 。
Unexpected end of file in conditional stated on line # (源文件在#行开始的条件语句中意外结束) 。
Unknown preprocessor directive 'xxx' (不认识的预处理指令:'xxx')Untermimated character constant (未终结的字符常量) 。
Unterminated string (未终结的串) 。
Unterminated string or character constant(未终结的串或字符常量) 。
User break (用户中断) 。
Value required (赋值请求) 。
While statement missing ( (While语句漏掉 '(') 。
While statement missing ) (While语句漏掉 ')') 。
Wrong number of arguments in of 'xxxxxxxx' (调用'xxxxxxxx'时参数个数错误) 。
---------------------------------------------------------------------------- 。
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 。
较简练的出错说明
TC出错信息一览
ambiguous operators need parentheses 。
不明确的运算需要用括号括起
ambiguous symbol ''xxx'' 。
不明确的符号
argument list syntax error 。
参数表语法错误
array bounds missing 。
丢失数组界限符
array size toolarge 。
数组尺寸太大
bad character in paramenters 。
参数中有不适当的字符
bad file name format in include directive 。
包含命令中文件名格式不正确
bad ifdef directive synatax 。
编译预处理ifdef有语法错 。
bad undef directive syntax 。
编译预处理undef有语法错 。
bit field too large 。
位字段太长
call of non-function 。
调用未定义的函数
call to function with no prototype 。
调用函数时没有函数的说明
cannot modify a const object 。
不允许修改常量对象
case outside of switch 。
漏掉了case 语句
case syntax error 。
case 语法错误
code has no effect 。
代码不可述不可能执行到
compound statement missing{ 。
分程序漏掉"{"
conflicting type modifiers 。
不明确的类型说明符
constant expression required 。
要求常量表达式
constant out of range in comparison 。
在比较中常量超出范围
conversion may lose significant digits 。
转换时会丢失意义的数字
conversion of near pointer not allowed 。
不允许转换近指针
could not find file ''xxx'' 。
找不到xxx文件
declaration missing ; 。
说明缺少";"
declaration syntax error 。
说明中出现语法错误
default outside of switch 。
default 出现在switch语句之外 。
define directive needs an identifier 。
定义编译预处理需要标识符
division by zero 。
用零作除数
do statement must have while 。
do-while语句中缺少while部分 。
enum syntax error 。
枚举类型语法错误
enumeration constant syntax error 。
枚举常数语法错误
error directive :xxx 。
错误的编译预处理命令
error writing output file 。
写输出文件错误
expression syntax error 。
表达式语法错误
extra parameter in call 。
调用时出现多余错误
file name too long 。
文件名太长
function call missing ) 。
函数调用缺少右括号
fuction definition out of place 。
函数定义位置错误
fuction should return a value 。
函数必需返回一个值
goto statement missing label 。
goto语句没有标号
hexadecimal or octal constant too large 。
16进制或8进制常数太大
illegal character ''x'' 。
非法字符x
illegal initialization 。
非法的初始化
illegal octal digit 。
非法的8进制数字
illegal pointer subtraction 。
非法的指针相减
illegal structure operation 。
非法的结构体操作
illegal use of floating point 。
非法的浮点运算
illegal use of pointer 。
指针使用非法
improper use of a typedefsymbol 。
类型定义符号使用不恰当
in-line assembly not allowed 。
不允许使用行间汇编
incompatible storage class 。
存储类别不相容
incompatible type conversion 。
不相容的类型转换
incorrect number format 。
错误的数据格式
incorrect use of default 。
default使用不当
invalid indirection 。
无效的间接运算
invalid pointer addition 。
指针相加无效
irreducible expression tree 。
无法执行的表达式运算
lvalue required 。
需要逻辑值0或非0值
macro argument syntax error 。
宏参数语法错误
macro expansion too long 。
宏的扩展以后太长
mismatched number of parameters in definition 。
定义中参数个数不匹配
misplaced break 。
此处不应出现break语句
misplaced continue 。
此处不应出现continue语句 。
misplaced decimal point 。
此处不应出现小数点
misplaced elif directive 。
不应编译预处理elif
misplaced else 。
此处不应出现else
misplaced else directive 。
此处不应出现编译预处理else 。
misplaced endif directive 。
此处不应出现编译预处理endif 。
must be addressable 。
必须是可以编址的
must take address of memory location 。
必须存储定位的地址
no declaration for function ''xxx'' 。
没有函数xxx的说明
no stack
缺少堆栈
no type information 。
没有类型信息
non-portable pointer assignment 。
不可移动的指针(地址常数)赋值 。
non-portable pointer comparison 。
不可移动的指针(地址常数)比较 。
non-portable pointer conversion 。
不可移动的指针(地址常数)转换 。
not a valid expression format type 。
不合法的表达式格式
not an allowed type 。
不允许使用的类型
numeric constant too large 。
数值常太大
out of memory
内存不够用
parameter ''xxx'' is never used 。
能数xxx没有用到
pointer required on left side of -> 。
符号->的左边必须是指针 。
possible use of ''xxx'' before definition 。
在定义之前就使用了xxx(警告)
possibly incorrect assignment 。
赋值可能不正确
redeclaration of ''xxx'' 。
重复定义了xxx
redefinition of ''xxx'' is not identical 。
xxx的两次定义不一致
register allocation failure 。
寄存器定址失败
repeat count needs an lvalue 。
重复计数需要逻辑值
size of structure or array not known 。
结构体或数给大小不确定
statement missing ; 。
语句后缺少";"
structure or union syntax error 。
结构体或联合体语法错误
structure size too large 。
结构体尺寸太大
sub scripting missing ] 。
下标缺少右方括号
superfluous & with function or array 。
函数或数组中有多余的"&" 。
suspicious pointer conversion 。
可疑的指针转换
symbol limit exceeded 。
符号超限
too few parameters in call 。
函数调用时的实参少于函数的参数不 。
too many default cases 。
default太多(switch语句中一个) 。
too many error or warning messages 。
错误或警告信息太多
too many type in declaration 。
说明中类型太多
too much auto memory in function 。
函数用到的局部存储太多
too much global data defined in file 。
文件中全局数据太多
two consecutive dots 。
两个连续的句点
type mismatch in parameter xxx 。
参数xxx类型不匹配
type mismatch in redeclaration of ''xxx'' 。
xxx重定义的类型不匹配
unable to create output file ''xxx'' 。
无法建立输出文件xxx
unable to open include file ''xxx'' 。
无法打开被包含的文件xxx
unable to open input file ''xxx'' 。
无法打开输入文件xxx
undefined label ''xxx'' 。
没有定义的标号xxx
undefined structure ''xxx'' 。
没有定义的结构xxx
undefined symbol ''xxx'' 。
没有定义的符号xxx
unexpected end of file in comment started on line xxx 。
从xxx行开始的注解尚未结束文件不能结束 。
unexpected end of file in conditional started on line xxx 。
从xxx 开始的条件语句尚未结束文件不能结束 。
unknown assemble instruction 。
未知的汇编结构
unknown option 。
未知的操作
unknown preprocessor directive: ''xxx'' 。
不认识的预处理命令xxx
unreachable code 。
无路可达的代码
unterminated string or character constant 。
字符串缺少引号
user break
用户强行中断了程序
void functions may not return a value 。
void类型的函数不应有返回值 。
wrong number of arguments 。
调用函数的参数数目错
''xxx'' not an argument 。
xxx不是参数
''xxx'' not part of structure 。
xxx不是结构体的一部分
xxx statement missing ( 。
xxx语句缺少左括号
xxx statement missing ) 。
xxx语句缺少右括号
xxx statement missing ; 。
xxx缺少分号
xxx'' declared but never used 。
说明了xxx但没有使用
xxx'' is assigned a value which is never used 。
给xxx赋了值但未用过
zero length structure 。
结构体的长度为零
可能是分流策略没做好。
先用全局代理,看下能不能访问Google,如果能就换一个分流策略,GitHub上有很多分流规则,下载后替换本地的Country.mmdb文件。