1. wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by vmars Mar 04, 2009
- 1109 views
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!
2. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by ghaberek (admin) Mar 04, 2009
- 1101 views
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
3. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by vmars Mar 04, 2009
- 1088 views
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!
4. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by ghaberek (admin) Mar 04, 2009
- 1070 views
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
5. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by vmars Mar 04, 2009
- 1094 views
- Last edited Mar 05, 2009
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
6. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by ghaberek (admin) Mar 05, 2009
- 1129 views
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.
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.
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.
Euphoria Folder layout at http://www.flickr.com/photos/vmars956/
I cannot access Flickr.com where I am at.
-Greg
7. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by vmars Mar 05, 2009
- 1094 views
- Last edited Mar 06, 2009
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
8. Re: wxEditor: Execution of command 'exwc "C:\Euphoria...\FirstPgm.e" failed (error 2 system cannot find file)
- Posted by ghaberek (admin) Mar 06, 2009
- 1082 views
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