Page 1 of 1

Need the path where the cobra executable is in LINUX.

PostPosted: Thu Jun 15, 2017 12:27 pm
by Achletomeniak
Hi there ,

i need the path where the cobra LINUX executable file is containted.

This path i have to paste into the EDITOR external tools , so that the programmers Editor can

compile and run the .cobra script.

I have tried whereis , seem all is to unclear.

The Editor mosttimes makes the message : cannot find executable.

The Path : /usr/local/cobra/Cobra-0.9.6/bin/cobra.exe is not working.

It seems that a windows .exe is displayed. In Windows this path works.

I need the LINUX executable file.


Need help.

That has nothing to do with syntax highlightning. Just want to RUN the code.

Regards
Ach

Look here !
Code: Select all
hans@mx1:/usr/local/cobra/Cobra-0.9.6/bin
$ ls
Cobra.Compiler.dll      Cobra.Core.dll.mdb   styles-cobra-doc.css         styles-output-html.css
Cobra.Compiler.dll.mdb  cobra.exe            styles-cobra-help.css        WebAssets
Cobra.Core              Cobra.Sharp.2_6.dll  styles-cobra-shl.css
Cobra.Core.dll          Cobra.Sharp.2_8.dll  styles-exception-report.css
hans@mx1:/usr/local/cobra/Cobra-0.9.6/bin
$ ./cobra.exe
bash: ./cobra.exe: cannot execute binary file: Exec format error
hans@mx1:/usr/local/cobra/Cobra-0.9.6/bin

Re: Need the path where the cobra executable is in LINUX.

PostPosted: Sat Jun 17, 2017 11:07 am
by Charles
I think the path is correct, but Linux just can't run the .exe directory. Try the Cobra shell program which is simply "cobra". If it's in your PATH you can find it with something like "type -a cobra".

Re: Need the path where the cobra executable is in LINUX.

PostPosted: Sun Jun 18, 2017 7:39 am
by Achletomeniak
Yes , i have the path.

However , my Editor only has a path entry and no arguments field.
Doesn't matter.
The display is good.

So i take a tabbed CMD tool to type the execution and debugging in.

Tabbed cmd is good to start some different codes at the same time.
Let us say i have four modules with cobra code in.
Now i have four tabbed cmd windows to start ALL at the same time and SEE them in one screen at the same time.

Thats all a programmer needs. :D

Re: Need the path where the cobra executable is in LINUX.

PostPosted: Sun Jun 18, 2017 10:45 am
by Charles
Which editor?

Re: Need the path where the cobra executable is in LINUX.

PostPosted: Mon Jun 19, 2017 1:15 pm
by Achletomeniak
Ninja

really true ,

look here : http://www.ninja-ide.org/ ;)

WBR

Ach