1. Euphoria to C
- Posted by euman at bellsouth.net Jul 25, 2001
- 479 views
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....
2. Euphoria to C
- Posted by Bill Aitken <wmaitken at hotmail.com> Jan 25, 2006
- 480 views
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?
3. Re: Euphoria to C
- Posted by C Bouzy <eucoder at hotmail.com> Jan 25, 2006
- 459 views
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.----
4. Re: Euphoria to C
- Posted by Robert Craig <rds at RapidEuphoria.com> Jan 25, 2006
- 484 views
- Last edited Jan 26, 2006
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