Google Groups Home
Help | Sign in
Unknown error when compiling
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
shystar06@gmail.com  
View profile
 More options Jun 26, 9:04 pm
Newsgroups: rec.games.int-fiction
From: "shysta...@gmail.com" <shysta...@gmail.com>
Date: Thu, 26 Jun 2008 18:04:10 -0700 (PDT)
Local: Thurs, Jun 26 2008 9:04 pm
Subject: Unknown error when compiling
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?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dott.Piergiorgio  
View profile
 More options Jun 27, 6:21 am
Newsgroups: rec.games.int-fiction
From: "dott.Piergiorgio" <dott.PiergiorgioNI...@KAIGUN.fastwebnet.it>
Date: Fri, 27 Jun 2008 12:21:08 +0200
Local: Fri, Jun 27 2008 6:21 am
Subject: Re: Unknown error when compiling
shysta...@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.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Newcomb  
View profile
 More options Jun 27, 10:38 pm
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: Ron Newcomb <psc...@yahoo.com>
Date: Fri, 27 Jun 2008 19:38:29 -0700 (PDT)
Local: Fri, Jun 27 2008 10:38 pm
Subject: Re: Unknown error when compiling

> > 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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shystar06@gmail.com  
View profile
 More options Jun 28, 6:14 pm
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: "shysta...@gmail.com" <shysta...@gmail.com>
Date: Sat, 28 Jun 2008 15:14:11 -0700 (PDT)
Local: Sat, Jun 28 2008 6:14 pm
Subject: Re: Unknown error when compiling
On Jun 27, 9:38 pm, Ron Newcomb <psc...@yahoo.com> wrote:

> > > 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

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?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ron Newcomb  
View profile
 More options Jun 28, 7:40 pm
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: Ron Newcomb <psc...@yahoo.com>
Date: Sat, 28 Jun 2008 16:40:42 -0700 (PDT)
Local: Sat, Jun 28 2008 7:40 pm
Subject: Re: Unknown error when compiling

> 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


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emily Short  
View profile
 More options Jun 29, 7:20 am
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: Emily Short <emsh...@mindspring.com>
Date: Sun, 29 Jun 2008 04:20:28 -0700 (PDT)
Local: Sun, Jun 29 2008 7:20 am
Subject: Re: Unknown error when compiling
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.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shystar06@gmail.com  
View profile
 More options Jun 29, 12:21 pm
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: "shysta...@gmail.com" <shysta...@gmail.com>
Date: Sun, 29 Jun 2008 09:21:07 -0700 (PDT)
Local: Sun, Jun 29 2008 12:21 pm
Subject: Re: Unknown error when compiling
On Jun 29, 6:20 am, Emily Short <emsh...@mindspring.com> wrote:

> 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.

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

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JDC  
View profile
 More options Jun 29, 2:24 pm
Newsgroups: rec.games.int-fiction, rec.arts.int-fiction
From: JDC <jd...@psu.edu>
Date: Sun, 29 Jun 2008 11:24:55 -0700 (PDT)
Local: Sun, Jun 29 2008 2:24 pm
Subject: Re: Unknown error when compiling
On Jun 29, 12:21 pm, "shysta...@gmail.com" <shysta...@gmail.com>
wrote:

> On Jun 29, 6:20 am, Emily Short <emsh...@mindspring.com> wrote:
> > Are you maybe using the Conditional Backdrops extension? It uses this
> > variable, but no longer works under the current build of Inform.

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

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)


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google