Re: euphoria config fail

new topic     » goto parent     » topic index » view thread      » older message » newer message
ryanj said...

But it turns out that it doesn't always work, and i don't know why. It just silently ignores the eu.cfg file and crashes with a bunch of stuff

Or even better, why can't we have a top-level statement that defines where include paths are for the entire program?

I don't know why this is happening either.

The good news is that there is a simple workaround. Instead of (or in addition to) sticking your configuration into eu.cfg, put it inside of Euphoria code instead.

Just use the following starter program:

system("eui -i hardcoded-path-1 -i hardcoded-path-2 redy.ex arg1 arg2 etc", 2) 

The starter program itself doesn't use any include files or other configuration, so it'll definitely run without problems, and then it can pass on the necessart config to the real program.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu