PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Haakon Birkeland on September 16, 2011, 08:41:36 PM

Title: Compilation fails at home but not at work
Post by: Haakon Birkeland on September 16, 2011, 08:41:36 PM
I've dragged home a project folder to do some work/testing/research at home, only to find that compilation fails here. To amend the problem I've just reinstalled (on top of old files) both FF 3.10, BP 10.02 and the latest JR API's. At work I have the same setup, except for the latest JR API's.

Compilation fails on:

#COMPILE Exe "//PROJECT_NAME//.exe"

The cursor is inserted after the second slash, and I'm (miss)informed that;

468: This Equate May not be Redefined

This makes no sense to me, and now I'm lost for where to look for the cause, and what to try ...
â€" It's late and I'm tired.
Title: Re: Compilation fails at home but not at work
Post by: Paul Squires on September 16, 2011, 08:46:38 PM
You should compile and run the CODEGEN_*_MAIN.BAS file and see where the error gets triggered.
Title: Re: Compilation fails at home but not at work
Post by: Haakon Birkeland on September 16, 2011, 09:15:46 PM
I've been attacking the problem with the elimination-method. Stripping out stuff until it behaved.

Two includes where stated below the mentioned line and one of them triggers the error without me understanding why I got away with that on my work setup, but not at home ...

If I place the include lines where I'm supposed to, at the bottom of the module, it compiles fine again.

' Place your user defined Declares, Constants, and #Include files below this line. â€" That's such an easy sentense to oversee and violate when punishment is not immediate ... 8o/
Title: Re: Compilation fails at home but not at work
Post by: Haakon Birkeland on September 16, 2011, 09:17:00 PM
I should write a book; a bunch of ways to waste your life â€" including writing a book about it.