Compilation fails at home but not at work

Started by Haakon Birkeland, September 16, 2011, 08:41:36 PM

Previous topic - Next topic

Haakon Birkeland

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.
Haakon 8o)

Paul Squires

You should compile and run the CODEGEN_*_MAIN.BAS file and see where the error gets triggered.
Paul Squires
PlanetSquires Software

Haakon Birkeland

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/
Haakon 8o)

Haakon Birkeland

I should write a book; a bunch of ways to waste your life â€" including writing a book about it.
Haakon 8o)