Re: Couldn't compile file 'init-.c'
- Posted by paulof Sep 22, 2012
- 1709 views
wmake -f C_x_Euphoria.ex }}}
That way, you should get a better error message.
Matt
Thanks, Matt, for trying to help me. Your solution, using the -makefile, compiled, but the wmake was not accessible. I concluded that the problem was related to environment variables operating system (Win-7). I decided writing the following batch file, which is run before triggering the eui or euc:
@Echo off Set EUDIR=C:\Linguags\Euphoria Set WATCOM=C:\Linguags\Euphoria\Watcom Set PATH=%PATH%;C:\Linguags\Euphoria\Bin;C:\Linguags\Euphoria\Watcom\BinNT Set INCLUDE=C:\Linguags\Euphoria\Watcom\h;C:\Linguags\Euphoria\Watcom\h\nt Set LIB=C:\Linguags\Euphoria\Watcom\Lib386;C:\Linguags\Euphoria\Watcom\Lib386\ntThese environment variables may also be setting via Control Panel > System > Advanced System Settings > Environment Variables button, creating 5 new entries (New... button), one for each row Batch File above.
In conclusion, I think that should be done two things:
1st) Rewrite the euc, because it can not do the translation of my program to an executable, even when the environment variable was correctly indicated on my EUDIR setting. I would not say that this is a bug but an euc inability dealing with these issues folders and directories from EUDIR correctly setting;
2nd) Rewrite the Handbook chapter about translating programs from .ex to .exe. It was not sufficiently clear to solve problems alike. I had to work hard to achieve the solution presented above in this text.
Paulo