1. wxEuphoria cannot be found

Hi, I need a little bit of help.  I'm on Windows XP.
Just downloaded Euphoria 3.1 afresh, and wanted to try 
wxEuphoria.  So downloaded v0.10.0 and unzipped and copied
all bin/*.* to Euphoria bin and include/*.* to Euphoria
include.  I tried one of the demo programs like so:

exw hello_world.exw

But I am got this:

   Could not open wxEuphoria library.  Press enter to abort.

I must be missing something very simple because I am getting
this consistently in two libraries: I also tried euWinGUI and
got this:

   ERROR: Unable to initialize EuWinGUI.DLL!
   Press any key to abort...

win32lib's demo programs are running fine.

What can be wrong?  Thanks.

Bryan

new topic     » topic index » view message » categorize

2. Re: wxEuphoria cannot be found

If it helps, this is my PATH:

PATH=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program
Files\QuickTime\QTSystem\;C:\watcom\BINNT;C:\watcom\BINW;C:\EUPHORIA\BIN;C:\EUPHORIA\BIN;

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

3. Re: wxEuphoria cannot be found

Bryan So wrote:
> 
> Hi, I need a little bit of help.  I'm on Windows XP.
> Just downloaded Euphoria 3.1 afresh, and wanted to try 
> wxEuphoria.  So downloaded v0.10.0 and unzipped and copied
> all bin/*.* to Euphoria bin and include/*.* to Euphoria
> include.  I tried one of the demo programs like so:
> 
> exw hello_world.exw
> 
> But I am got this:
> 
>    Could not open wxEuphoria library.  Press enter to abort.
> 
> I must be missing something very simple because I am getting
> this consistently in two libraries: I also tried euWinGUI and
> got this:
> 
>    ERROR: Unable to initialize EuWinGUI.DLL!
>    Press any key to abort...
> 
> win32lib's demo programs are running fine.
> 
> What can be wrong?  Thanks.

That's very odd.  Try putting everything into one directory (exw.exe, 
libwxeu.dll and all euphoria code) and see what happens.  Are you sure
that the interpreter that you're running is the one in euphoria\bin?

If that doesn't work, try Dependency Walker:
http://www.dependencywalker.com

It will let you know if the library won't load properly.

Matt

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

4. Re: wxEuphoria cannot be found

Thanks for your reply.  Problem found.

I used Cygwin's unzip command to unzip the files.
It turns out the .dll was set to not executable.
If I had used Windows' native unzip then it would
have worked.

Now, I have to do a "chmod 777 *.dll"
Then all demos are running fine.  Thanks!

Bryan

Matt Lewis wrote:
> 
> Bryan So wrote:
> > 
> > Hi, I need a little bit of help.  I'm on Windows XP.
> > Just downloaded Euphoria 3.1 afresh, and wanted to try 
> > wxEuphoria.  So downloaded v0.10.0 and unzipped and copied
> > all bin/*.* to Euphoria bin and include/*.* to Euphoria
> > include.  I tried one of the demo programs like so:
> > 
> > exw hello_world.exw
> > 
> > But I am got this:
> > 
> >    Could not open wxEuphoria library.  Press enter to abort.
> > 
> > I must be missing something very simple because I am getting
> > this consistently in two libraries: I also tried euWinGUI and
> > got this:
> > 
> >    ERROR: Unable to initialize EuWinGUI.DLL!
> >    Press any key to abort...
> > 
> > win32lib's demo programs are running fine.
> > 
> > What can be wrong?  Thanks.
> 
> That's very odd.  Try putting everything into one directory (exw.exe, 
> libwxeu.dll and all euphoria code) and see what happens.  Are you sure
> that the interpreter that you're running is the one in euphoria\bin?
> 
> If that doesn't work, try Dependency Walker:
> <a href="http://www.dependencywalker.com">http://www.dependencywalker.com</a>
> 
> It will let you know if the library won't load properly.
> 
> Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu