1. wxEuphoria - Linux

Matt,

I get this error message when I try to run wxide or one of the demo programs:

./wxEuphoria.e:56
A machine-level exception occurred during execution of this statement
WX_DLL_BUILD = peek4u(define_c_var(wxWin, "WX_DLL_BUILD"))


This is under Euphoria 2.5. Using the most recent version of the wxlibs.
I do recall that I had wxeuphoria running under 2.4 on another machine.

It appears that the  Linux download link for so #3 is still labeled #2.

Ken Rhodes
100% Microsoft Free!

new topic     » topic index » view message » categorize

2. Re: wxEuphoria - Linux

Kenneth Rhodes wrote:
> 
> Matt,
> 
> I get this error message when I try to run wxide or one of the demo programs:
> 
> ./wxEuphoria.e:56
> A machine-level exception occurred during execution of this statement
> WX_DLL_BUILD = peek4u(define_c_var(wxWin, "WX_DLL_BUILD"))
> 
> 
> This is under Euphoria 2.5. Using the most recent version of the wxlibs.
> I do recall that I had wxeuphoria running under 2.4 on another machine.
> 
> It appears that the  Linux download link for so #3 is still labeled #2.

Thanks, I've fixed the page.  It was pointing to the correct file, just
the text on the page was wrong.

I haven't put 2.5 on my Linux box yet.  Where did you put the library?
It sounds like it's not being linked.  Compare the location to where
it's trying to load.  I use the environment variable EUDIR, so if that's
not set, then it would explain your problem.

Matt Lewis

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

3. Re: wxEuphoria - Linux

Matt Lewis wrote:
> 
> Kenneth Rhodes wrote:
> > 
> > Matt,
> > 
> > I get this error message when I try to run wxide or one of the demo
> > programs:
> > 
> > ./wxEuphoria.e:56
> > A machine-level exception occurred during execution of this statement
> > WX_DLL_BUILD = peek4u(define_c_var(wxWin, "WX_DLL_BUILD"))
> > 
> > 
> > This is under Euphoria 2.5. Using the most recent version of the wxlibs.
> > I do recall that I had wxeuphoria running under 2.4 on another machine.
> > 
> > It appears that the  Linux download link for so #3 is still labeled #2.
> 
> Thanks, I've fixed the page.  It was pointing to the correct file, just
> the text on the page was wrong.
> 
> I haven't put 2.5 on my Linux box yet.  Where did you put the library?
> It sounds like it's not being linked.  Compare the location to where
> it's trying to load.  I use the environment variable EUDIR, so if that's
> not set, then it would explain your problem.
> 
> Matt Lewis
> 
Hi Matt,
I've fiddled with my bash_profile settings. Still no joy.

PATH=/home/ken/euphoria/bin/:$PATH:$HOME/bin
EUDIR=/home/ken/euphoria/
EUINC=/home/ken/EuProgs/wxEuphoria/
export PATH EUDIR EUINC
unset USERNAME

gives me the same machine level exception error.

EUDIR=/home/ken/euphoria/:/home/ken/EuProgs/wxEuphoria/
gives me some type of can't find DLL message.


Ken Rhodes
100% Microsoft Free!

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

4. Re: wxEuphoria - Linux

Kenneth Rhodes wrote:
> 
> Hi Matt,
> I've fiddled with my bash_profile settings. Still no joy.
> 
> PATH=/home/ken/euphoria/bin/:$PATH:$HOME/bin
> EUDIR=/home/ken/euphoria/
> EUINC=/home/ken/EuProgs/wxEuphoria/
> export PATH EUDIR EUINC
> unset USERNAME
> 
> gives me the same machine level exception error.
> 
> EUDIR=/home/ken/euphoria/:/home/ken/EuProgs/wxEuphoria/
> gives me some type of can't find DLL message.

I think you should only have a single EUDIR (not like EUINC or PATH).
Based on the above profile entry, wxEuphoria would expect to find the
shared library at:

/home/ken/euphoria/bin/libwx_gtk-2.4.so.0.1.1

If you've placed it somewhere else, you can change the value of 
wxWin_name (should be at line 49 of wxEuphoria.e for linux).
Is it opening the library correctly?

Matt Lewis

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

5. Re: wxEuphoria - Linux

Matt Lewis wrote:
> 
> Kenneth Rhodes wrote:
> > 
> > Hi Matt,
> > I've fiddled with my bash_profile settings. Still no joy.
> > 
> > PATH=/home/ken/euphoria/bin/:$PATH:$HOME/bin
> > EUDIR=/home/ken/euphoria/
> > EUINC=/home/ken/EuProgs/wxEuphoria/
> > export PATH EUDIR EUINC
> > unset USERNAME
> > 
> > gives me the same machine level exception error.
> > 
> > EUDIR=/home/ken/euphoria/:/home/ken/EuProgs/wxEuphoria/
> > gives me some type of can't find DLL message.
> 
> I think you should only have a single EUDIR (not like EUINC or PATH).


LOL.. of course, and I do only have one EUDIR. Let me back up to the
start. Initially I appended the path to wxEuphoria to EUINC following
the path to Irv's EuGTK library - received the machine exception error
message with that configuration. Then I deleted the path to wxEuphoria
from EUINC and appended it to EUDIR which resulted in in the DLL error 
message. Then I deleted the path to Irv's GTK lib from EUINC and added
the path to wxEuphoria there - resulting in the machine level exception
message again.

> Based on the above profile entry, wxEuphoria would expect to find the
> shared library at:
> 
> /home/ken/euphoria/bin/libwx_gtk-2.4.so.0.1.1
thats where it is and has been all along.

> If you've placed it somewhere else, you can change the value of 
> wxWin_name (should be at line 49 of wxEuphoria.e for linux).
> Is it opening the library correctly?
> 
> Matt Lewis
> 

This is all very strange.

Ken Rhodes
100% Microsoft Free!

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

6. Re: wxEuphoria - Linux

Matt,

Consider the following:

--#LINUX
wxEuphoria_Platform = LINUX,
-- wxWin_name = getenv("EUDIR") & "/bin/libwx_gtk-2.4.so.0.1.1",
wxWin_name = getenv("EUDIR") & "/bin/libwx_gtk-2.4.so.0.1.1"
wxNEED_BUILD = 3,
--#ENDLINUX

I deleted the trailing "," from the wxWin_name path. This got
me past the machine level exception error, but now I get:
"WxNEED_BUILD" has not been declared.




Ken Rhodes
100% Microsoft Free!

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

7. Re: wxEuphoria - Linux

MERCY! forget that last post. I didn't see the global constant declaration.




Kenneth Rhodes wrote:
> 
> Matt,
> 
> Consider the following:
> 
> --#LINUX
> wxEuphoria_Platform = LINUX,
> -- wxWin_name = getenv("EUDIR") & "/bin/libwx_gtk-2.4.so.0.1.1",
> wxWin_name = getenv("EUDIR") & "/bin/libwx_gtk-2.4.so.0.1.1"
> wxNEED_BUILD = 3,
> --#ENDLINUX
> 
> I deleted the trailing "," from the wxWin_name path. This got
> me past the machine level exception error, but now I get:
> "WxNEED_BUILD" has not been declared.
> 
> 
> Ken Rhodes
> 100% Microsoft Free!
> 


Ken Rhodes
100% Microsoft Free!

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

8. Re: wxEuphoria - Linux

Kenneth Rhodes wrote:
> 
> This is all very strange.

Agreed.  Can you link to the .so at all (even in a separate app)?
Can you take a look at a dump of the exported names to see if the 
problem is there (I think the command 'nm' in linux).

I'll try to get 2.5 up on my Linux box later tonight and see what I can
see.  Have you tried using eu.ex?  It worked for me under Windows.

Matt Lewis

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

9. Re: wxEuphoria - Linux

Matt Lewis wrote:
> 
> Kenneth Rhodes wrote:
> > 
> > This is all very strange.
> 
> Agreed.  Can you link to the .so at all (even in a separate app)?
> Can you take a look at a dump of the exported names to see if the 
> problem is there (I think the command 'nm' in linux).
> 
> I'll try to get 2.5 up on my Linux box later tonight and see what I can
> see.  Have you tried using eu.ex?  It worked for me under Windows.

I put 2.5 on my Linux box, and it ran fine.  Perhaps the SO file got 
corrupted or something?  Has anyone else gotten it working under 2.5
on Linux?  I know others have downloaded it...

Matt Lewis

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

Search



Quick Links

User menu

Not signed in.

Misc Menu