【问题标题】:Objective C on Windows - Error - CreateProcess: No such file or directoryWindows上的Objective C - 错误 - CreateProcess:没有这样的文件或目录
【发布时间】:2014-08-26 20:15:48
【问题描述】:

我刚刚安装了 GNUStep、MSYS、Code 和 Devel,让我可以在 Windows 上使用 Objective C 开发应用程序。我按照所有说明进行操作,并意识到我遇到了问题。 当我做: C:\Users\Marcelo> g++ o.m 在控制台中,我得到以下信息:

=>g++: CreateProcess: No such file or directory

我在 StackOverflow 中看到了 4 个类似的问题,但没有一个与 Objective C 有任何关系,也没有一个答案让我解决了这个问题。我已经完成了所有被要求的事情:

  • 重启电脑
  • 检查环境路径
  • 访问C:\GNUStep\bin\g++ 以执行操作

我的变量路径:

C:\ProgramData\Oracle\Java\javapath;
C:\Program Files (x86)\ActiveState Komodo IDE 8\;
C:\app\marcelo\product\11.2.0\client_1;
C:\app\marcelo\product\11.2.0\client_1\bin;
C:\Program Files (x86)\Haskell\bin;
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\lib\extralibs\bin;
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\bin;
C:\Perl64\site\bin;
C:\Perl64\bin;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;
c:\Program Files\Microsoft SQL Server\110\Tools\Binn\;
c:\Program Files\Microsoft SQL Server\110\DTS\Binn\;
c:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;
c:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;
C:\Program Files\Microsoft\Web Platform Installer\;
C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;
C:\Program Files\TortoiseSVN\bin;
C:\Program Files (x86)\Java\jdk1.6.0_32\bin;
C:\Program Files\TortoiseHg\;
C:\Program Files (x86)\Microsoft Team Foundation Server 2012 Power Tools\;
C:\Program Files (x86)\Microsoft Team Foundation Server 2012 Power Tools\Best Practices Analyzer\;
C:\Program Files\nodejs\;
C:\Program Files (x86)\MySQL\MySQL Utilities 1.3.6\;
C:\LLVM\bin;
C:\Program Files (x86)\Groovy\Groovy-2.3.2\bin;
C:\Program Files (x86)\GtkSharp\2.12\bin;
C:\Program Files (x86)\Haskell Platform\2013.2.0.0\mingw\bin;
C:\Program Files (x86)\scala\bin;
C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;
C:\Users\marcelo\AppData\Roaming\cabal\bin;
C:\Ruby200-x64\bin;
C:\Ruby193\bin;
C:\Users\marcelo\AppData\Roaming\npm;
C:\Program Files (x86)\Rust\bin;
C:\Program Files (x86)\clisp-2.49;
C:\GNUstep\GNUstep\System\Tools;
C:\GNUstep\bin;
C:\GNUstep\GNUstep\System\Tools;
C:\GNUstep\bin;
C:\GNUstep\GNUstep\System\Tools 

有人可以帮帮我吗?

  • 不是文件的位置。如果我指定一个不存在的文件,它会抛出 another 错误。

【问题讨论】:

    标签: objective-c g++ mingw gnustep


    【解决方案1】:

    我只在你的路径中看到 Haskell 的 MinGW。试试

    1. 从 GNUStep shell 内部编译 - 可能已经配置了必要的路径。
    2. 将 MinGW\bin 目录添加到 windows 路径
    3. 暂时从路径中删除 Haskell mingw 发行版。

    如果失败,请发布使用 g++ -v 的结果

    【讨论】:

      猜你喜欢
      • 2015-04-18
      • 2011-12-19
      • 1970-01-01
      • 2014-05-09
      • 2011-04-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多