Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unknown error when compiling

1 view
Skip to first unread message

shys...@gmail.com

unread,
Jun 26, 2008, 9:04:10 PM6/26/08
to
I get a strange error when Inform 7 attempts to create code in the
Inform 6 compiler. The picture of a crescent moon shows at the top of
the screen. Relevant information of the error message :
----
C:\Program Files\Inform 7\Compilers\inform-631 \
-wSDG +include_path=..\Source,.\ auto.inf output.ulx
Inform 6.31N for Win32 (6th January 2008)
auto.inf(38235): Error: Variable must be defined before use:
"rulechange_sp"
> Global rulechange_sp
Compiled with 1 error and 1605 suppressed warnings (no output)

Compiler finished with code 1

-----
What on Earth I have 'not defined' and how do I fix this?

dott.Piergiorgio

unread,
Jun 27, 2008, 6:21:08 AM6/27/08
to
shys...@gmail.com ha scritto:

I can only suggest to you that your question has much more chance of
being answered in the other IF-related NG, rec.arts.int-fiction.

Best regards from Italy,
Dott. Piergiorgio.

Ron Newcomb

unread,
Jun 27, 2008, 10:38:29 PM6/27/08
to
> > auto.inf(38235): Error:  Variable must be defined before use:
> > "rulechange_sp"
> >> Global rulechange_sp
> > Compiled with 1 error and 1605 suppressed warnings (no output)

> > What on Earth I have 'not defined' and how do I fix this?


I recognize that variable. It's defined in the Standard Rules,
regarding rulebooks. Have you been doing anything tricky with the
Standard Rules?

What was the last thing you put into your code before this started
cropping up?

-R

shys...@gmail.com

unread,
Jun 28, 2008, 6:14:11 PM6/28/08
to

That's the thing, I didn't. My program worked fine until I upgraded to
the newest version of Inform and updated the extensions. I have no
idea what it doesn't like now that it was hunky-dory with last time.
All I can think to do is update the extensions...again. (corrupted
download, maybe?) Would it be possible to manually define that
variable?

Ron Newcomb

unread,
Jun 28, 2008, 7:40:42 PM6/28/08
to
> That's the thing, I didn't. My program worked fine until I upgraded to
> the newest version of Inform and updated the extensions. I have no
> idea what it doesn't like now that it was hunky-dory with last time.
> All I can think to do is update the extensions...again. (corrupted
> download, maybe?) Would it be possible to manually define that
> variable?

Well, that's the trick: it's throwing the error ON the definition.
Plus, that I6 code is almost definately correct. Maybe re-download
and re-install Inform 7, perhaps after removing it from your system.
But this error is probably the result of some code clash.

Do you have other projects to test? Try making a dummy one that uses
whatever extensions you're referring to. Or knock out the extensions
one by one in the real project, making stand-ins so it will compile,
and eventually you should find a culprit somewhere.

Did you write any of the extensions? If not, which ones are they?
I've heard a few people have been having issues with Conversation
Framework lately....

-Ron

Emily Short

unread,
Jun 29, 2008, 7:20:28 AM6/29/08
to
On Jun 28, 11:14 pm, "shysta...@gmail.com" <shysta...@gmail.com>
wrote:

> That's the thing, I didn't. My program worked fine until I upgraded to
> the newest version of Inform and updated the extensions. I have no
> idea what it doesn't like now that it was hunky-dory with last time.
> All I can think to do is update the extensions...again. (corrupted
> download, maybe?) Would it be possible to manually define that
> variable?

Are you maybe using the Conditional Backdrops extension? It uses this
variable, but no longer works under the current build of Inform.

shys...@gmail.com

unread,
Jun 29, 2008, 12:21:07 PM6/29/08
to

That I am doing! I'll see about this ASAP.

JDC

unread,
Jun 29, 2008, 2:24:55 PM6/29/08
to
On Jun 29, 12:21 pm, "shysta...@gmail.com" <shysta...@gmail.com>
wrote:

Gee, I'm embarrassed I missed that (and I read the original post...).
Take a look at section 8.8 of the documentation, which gives a new way
of specifying locations of backdrops. You should be able to do
everything that Conditional Backdrops did using the "move the ..
backdrop to all..." phrase (so I don't plan to update the extension,
but if it's really integral to your project let me know and I can try
to patch it for you).

-JDC
(John Clemens)

0 new messages