"Exec Format Error" while trying to run a program

1.8k Views Asked by At

First of all, sorry for my english !

OS: XUbuntu VM.

I am trying to compile an executable with a Makefile using clang-9.

I initially faced a permission denied error. Fixed it with chmod.

Now, when i run the following command :

./battlespace map btsp

(which is the executable in question)

I get the following error:

"exec format error".

I am unable to find the cause.

Thanks.

0

There are 0 best solutions below