1. wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

Execution of command 'exwc "C:\Euphoria...wxEditor..\FirstPgm.e" failed (error 2 the system cannot find the file specified)

Greetings;
I am trying out wxEditor using cklester.com's tutorial @
http://www.usingeuphoria.com/books/guiphoria/?entirebook
A nice and simple wxEuphoria webBook.
Anyways in wxEditor I get the above error when I select 'Execute' to test out script.
My Environmentals =
eudir c:\euphoria; c:\euphoria\Bin
euinc c:\euphoria\win32lib\include; C:\euphoria\wxEuphoria\include; c:\euphoria\Bin

Please, How to fix 'em? Thanks!

new topic     » topic index » view message » categorize

2. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

vmars said...

Execution of command 'exwc "C:\Euphoria...wxEditor..\FirstPgm.e" failed (error 2 the system cannot find the file specified)

Greetings;
I am trying out wxEditor using cklester.com's tutorial @
http://www.usingeuphoria.com/books/guiphoria/?entirebook
A nice and simple wxEuphoria webBook.
Anyways in wxEditor I get the above error when I select 'Execute' to test out script.
My Environmentals =
eudir c:\euphoria; c:\euphoria\Bin
euinc c:\euphoria\win32lib\include; C:\euphoria\wxEuphoria\include; c:\euphoria\Bin

It's been a while since I've worked on wxEditor. The project has been on hold until I can continue to develop it with Euphoria 4.0 (once it's officially released). However, it should be functionally complete (aside from text selection not working).

Are those spaces after the semi-colons actually in your environment variables? That may be causing the issue. Can you open a command line and type in exwc and have something come up? Or does it say 'exwc' is not recognized as an internal or external command?

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

Hmmm...
I tried it with and without spaces; same results.
Also moved wxEdit Folder to here:
C:\Euphoria\BIN\wxEditor\wxEditor-Projects
and get the same error msg. Thanks!

new topic     » goto parent     » topic index » view message » categorize

4. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

wxEditor simply runs "exw" or "exwc" as you would from the command line. Can you type exwc into a command line and see the program run? Or do you get an error message?

-Greg

new topic     » goto parent     » topic index » view message » categorize

5. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

1) Are you saying I can't run '*.e' from wxEditor?

2) If I run exwc from C:\Euphoria\Bin>exwc
All appears to run ok:
Euphoria Interpreter 3.1.1 for 32-bit Windows.
Copyright (c)Rapid Deployment Software 2007
See http://www.RapidEuphoria.com/License.txt

file name to execute?


If I put exwc.exe in C:\Euphoria\BIN\wxEditor
I get the following :

C:\Euphoria\BIN\wxEditor\wxEdit-Projects\FirstPgm.e:5
can't find wxEuphoria.e in C:\Euphoria\BIN\wxEditor\wxEdit-Projects
or in c:\euphoria\win32lib\include;C:\euphoria\wxEuphoria\include;c:\euphoria\Bi
or in;c:\euphoria\Include;C:\euphoria\wxEuphoria\Bin
or in c:\euphoria;c:\euphoria\Bin;c:\euphoria\Include\include
include wxEuphoria.e main wxEuphoria code
Press Enter


3) When I search C:\Euphoria for wxEuphoria.e Its nowhere to found.


Euphoria Folder layout at http://www.flickr.com/photos/vmars956/
...Vern

new topic     » goto parent     » topic index » view message » categorize

6. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

vmars said...

1) Are you saying I can't run '*.e' from wxEditor?

I never said that. You can run any Euphoria file from wxEditor. It runs .e, .ew, .eu, and .ex files with exwc and it runs .exw and .exu files with exw. It runs everything with exu on Linux.

vmars said...


2) If I run exwc from C:\Euphoria\Bin>exwc
All appears to run ok:

Euphoria Interpreter 3.1.1 for 32-bit Windows. 
Copyright (c)Rapid Deployment Software 2007 
See http://www.RapidEuphoria.com/License.txt  
 
file name to execute? 

But you're in the BIN directory. What if you CD to another directory like just C:\, does it still work? What I'm trying to determine is if your PATH environment variable is setup correctly, which I assume it is not.

vmars said...


If I put exwc.exe in C:\Euphoria\BIN\wxEditor
I get the following :

C:\Euphoria\BIN\wxEditor\wxEdit-Projects\FirstPgm.e:5 
can't find wxEuphoria.e in C:\Euphoria\BIN\wxEditor\wxEdit-Projects 
or in c:\euphoria\win32lib\include;C:\euphoria\wxEuphoria\include;c:\euphoria\Bi 
or in;c:\euphoria\Include;C:\euphoria\wxEuphoria\Bin 
or in c:\euphoria;c:\euphoria\Bin;c:\euphoria\Include\include 
include wxEuphoria.e    -- main wxEuphoria code 
Press Enter 


3) When I search C:\Euphoria for wxEuphoria.e Its nowhere to found.

wxEuphoria.e is not the include file for wxEuphoria anymore, nor has it been for some time. The proper include file is wxeud.e.

vmars said...


Euphoria Folder layout at http://www.flickr.com/photos/vmars956/

I cannot access Flickr.com where I am at. sad

-Greg

new topic     » goto parent     » topic index » view message » categorize

7. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

Environmentals:
eudir c:\euphoria;c:\euphoria\Bin;c:\euphoria\Include
euinc c:\euphoria\win32lib\include;C:\euphoria\wxEuphoria\include;c:\euphoria\Bin;c:\euphoria\Include;C:\euphoria\wxEuphoria\Bin
vm

new topic     » goto parent     » topic index » view message » categorize

8. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)

vmars said...

Environmentals:
eudir c:\euphoria;c:\euphoria\Bin;c:\euphoria\Include
euinc c:\euphoria\win32lib\include;C:\euphoria\wxEuphoria\include;c:\euphoria\Bin;c:\euphoria\Include;C:\euphoria\wxEuphoria\Bin
vm

EUDIR should only be one path, C:\EUPHORIA. EUINC is for include files, not binary files. Those should go in your PATH. Here is how your environment variables should be laid out:

NAME VALUE
EUDIR C:\EUPHORIA
EUINC %EUDIR%\INCLUDE;%EUDIR%\Win32Lib\Include;%EUDIR%\wxEuphoria\Include
PATH %EUDIR%\BIN;%EUDIR%\wxEuphoria\bin; (etc.)


-Greg

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu