CreateProcess的:没有这样的文件或目录 [英] CreateProcess: No such file or directory
本文介绍了CreateProcess的:没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每当我尝试它的安装目录之外运行GCC我收到此错误。
I am getting this error whenever I try to run GCC outside of its installation directory (E:\MinGW\bin).
所以,让我们说我在E:\\ code和有一个名为one.c.文件运行:的gcc -o one.c one.exe
会给我这个错误:
So, let's say I am in E:\code and have a file called one.c. Running:
gcc one.c -o one.exe
will give me this error:
gcc: CreateProcess: No such file or directory
唯一的解决方法是浏览到其安装目录,从那里运行gcc,并指定所有其他路径。我的环境变量路径中包含 E:\\ MinGW的\\ BIN
要解决这个问题有什么建议?我运行Windows XP SP3。
Any suggestions to fixing this problem? I am running Windows XP SP3.
推荐答案
它明确地告诉你需要你在migwin窗口设置环境变量后重新启动。
Its specifically told that you need to reboot after you set the environmental variables in windows for migwin.
这篇关于CreateProcess的:没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文