1. Euphoria to C

I have a program that has every control Win32lib
has to offer that does not use win32lib and compiles
and runs perfectly useing LCC.

I will admit that even useing fix.ex (DC) and urr.ex
then compileing a win32lib program the problem
still exist with LCC.

I think it's Win32lib and LCC. 

Maybe LCC is like me and just doesnt like the slow
event sytem..... :)

Euman
euman at bellsouth.net
Currently Converted to C....

new topic     » topic index » view message » categorize

2. Euphoria to C

Hi folks,

Probably a real dumb question but I have just been trying to use the
translator.  It appears to work fine but when I use the eMake batch file, I
get the message " name 'first' not found in struct/union s1".  At first, I 
thought it was my Euphoria code and so I tried the demos which come with
the installation, both win32 and DOS.  Same result.  I was using LCC, so I 
ripped it out and replaced it with Watcom.  Same result.

Since it IS the same result, it must be something to do with the way I am 
doing things but I just can't figure out what.  Any ideas?

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

3. Re: Euphoria to C

Hi Bill,

It is not a dumb question at all! When I first tried using the translator I
was also stuck. Try using this: http://www.rapideuphoria.com/etranslate.zip
It will make translating your projects simple and fast.

---- Chris

----If you continue to do what you have always done,
you will get what you have always gotten.----

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

4. Re: Euphoria to C

Bill Aitken wrote:
> Probably a real dumb question but I have just been trying to use the
> translator.  It appears to work fine but when I use the eMake batch file, I
> get the message " name 'first' not found in struct/union s1".  At first, I 
> thought it was my Euphoria code and so I tried the demos which come with
> the installation, both win32 and DOS.  Same result.  I was using LCC, so I 
> ripped it out and replaced it with Watcom.  Same result.
> 
> Since it IS the same result, it must be something to do with the way I am 
> doing things but I just can't figure out what.  Any ideas?

"first" used to be defined as a member of struct s1
in the file euphoria\include\euphoria.h, and the translator
used to output C code that referenced "first".
That was quite a long time ago. Pre 2.4.

It appears that you are running ecw for an old, (2.3?) version
of the translator, yet you have installed a newer version
of euphoria\include\euphoria.h. Perhaps you have installed
2.5, but 2.3 comes earlier on your search PATH, so you are
actually running an old translator. You should remove 2.3
from your PATH. Maybe rename or delete the out-dated Euphoria 
directory.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu