3

I am using Ubuntu LTS 14 on x86. I have integrated DS-5 in Eclipse. I am trying to compile a simple loop program. There are no errors when I build the project, but I face an error,

error starting process. Exec_tty error:Cannot run program. Unknown reason.

A similar question was asked here and I followed the available answers. It solved the "Launch Failed error" but I got stuck in the new error. "Launch Failed. Binary Not Found." Snow Leopard and Eclipse C/C++ IDE issue

In the project settings, I have selected GNU elf parser, aarch64-arm-none-eabi compiler and linker. The code is,

#include <stdio.h>
#include <time.h>
int main ()
{
   int i, j, k;
   int l = 0;

   for(i=0; i<1000; i++) {
      l = l +1;
      for(j=0; j<100; j++) {
          l = l +1;
     for(k=1; k<100; k++) {
             l = l +1;
        //printf("hello\n");
                      }
               }
            }
   return 0;
}
4

1 回答 1

1

看起来您可能没有运行该程序的权限。ls -l filename使用并尝试检查可执行文件的信息chmod 774 filename

此外,当您的工作区位于已安装的驱动器上时,也会出现此问题。如果是这样,请根据问题说明编辑构建路径,我会指导您进行设置。

于 2015-08-28T06:43:44.680 回答