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 に答える