Topic: Self-correcting strange error

With one of my projects, I always receive this error message when opening it,

   Project loading error.
   The project file failed to load but the error may
   be recoverable.     Proceed with entry?

I always click <Retry> and it seems always then to work.
When, however, I click, <Cancel>, I receive this further message,

   Project loading error.
   An error occurred loading the project.  he code was 4.
   Please contact Support@approximatrix.com for assistance.

A copy of the makefile is pasted after this message,

---
John

THE MAKEFILE
#
# Automagically generated by Approximatrix Simply Fortran
#
FC="F:\SF\mingw\bin\gfortran.exe"
CC="F:\SF\mingw\bin\gcc.exe"
AR="F:\SF\mingw\bin\ar.exe"
TOUCH="F:\SF\fwin\wtouch.exe"
RM=del

IDIR=-IF:/SF/mingw/include/ -IG:/IOLIB/../INCLUDE

LDIR=-LF:/SF/mingw/lib/ -LG:/IOLIB/./modules


SPECIALFLAGS=-g $(IDIR)

PRJ_FFLAGS=
PRJ_CFLAGS=
PRJ_LFLAGS=

FFLAGS=$(SPECIALFLAGS) -fdollar-ok  $(PRJ_FFLAGS) -Jmodules

CFLAGS=-g  $(IDIR) $(PRJ_CFLAGS)

build\PadStr.o: .\Source\PadStr.for
    $(FC) -c -o build\PadStr.o $(FFLAGS) .\Source\PadStr.for

build\page.o: .\Source\page.for
    $(FC) -c -o build\page.o $(FFLAGS) .\Source\page.for

build\Prompt.o: .\Source\Prompt.for
    $(FC) -c -o build\Prompt.o $(FFLAGS) .\Source\Prompt.for

build\R2Char.o: .\Source\R2Char.for
    $(FC) -c -o build\R2Char.o $(FFLAGS) .\Source\R2Char.for

build\RInput.o: .\Source\RInput.for
    $(FC) -c -o build\RInput.o $(FFLAGS) .\Source\RInput.for

build\Send.o: .\Source\Send.for
    $(FC) -c -o build\Send.o $(FFLAGS) .\Source\Send.for

build\SkipChr.o: .\Source\SkipChr.for
    $(FC) -c -o build\SkipChr.o $(FFLAGS) .\Source\SkipChr.for

build\UndLin.o: .\Source\UndLin.for
    $(FC) -c -o build\UndLin.o $(FFLAGS) .\Source\UndLin.for

build\VerLib.o: .\Source\VerLib.for
    $(FC) -c -o build\VerLib.o $(FFLAGS) .\Source\VerLib.for

build\write.o: .\Source\write.for
    $(FC) -c -o build\write.o $(FFLAGS) .\Source\write.for

build\OpenO.o: .\Source\OpenO.for
    $(FC) -c -o build\OpenO.o $(FFLAGS) .\Source\OpenO.for

build\OpenI.o: .\Source\OpenI.for
    $(FC) -c -o build\OpenI.o $(FFLAGS) .\Source\OpenI.for

build\Opener.o: .\Source\Opener.for
    $(FC) -c -o build\Opener.o $(FFLAGS) .\Source\Opener.for

build\OpenE.o: .\Source\OpenE.for
    $(FC) -c -o build\OpenE.o $(FFLAGS) .\Source\OpenE.for

build\LF.o: .\Source\LF.for
    $(FC) -c -o build\LF.o $(FFLAGS) .\Source\LF.for

build\LTrim.o: .\Source\LTrim.for
    $(FC) -c -o build\LTrim.o $(FFLAGS) .\Source\LTrim.for

build\Indent.o: .\Source\Indent.for
    $(FC) -c -o build\Indent.o $(FFLAGS) .\Source\Indent.for

build\LenStr.o: .\Source\LenStr.for
    $(FC) -c -o build\LenStr.o $(FFLAGS) .\Source\LenStr.for

build\IInput.o: .\Source\IInput.for
    $(FC) -c -o build\IInput.o $(FFLAGS) .\Source\IInput.for

build\I2Char.o: .\Source\I2Char.for
    $(FC) -c -o build\I2Char.o $(FFLAGS) .\Source\I2Char.for

build\FindChr.o: .\Source\FindChr.for
    $(FC) -c -o build\FindChr.o $(FFLAGS) .\Source\FindChr.for

build\ff.o: .\Source\ff.for
    $(FC) -c -o build\ff.o $(FFLAGS) .\Source\ff.for

build\Error.o: .\Source\Error.for
    $(FC) -c -o build\Error.o $(FFLAGS) .\Source\Error.for

build\Disp.o: .\Source\Disp.for
    $(FC) -c -o build\Disp.o $(FFLAGS) .\Source\Disp.for

build\config.o: .\Source\config.for
    $(FC) -c -o build\config.o $(FFLAGS) .\Source\config.for

build\Commas.o: .\Source\Commas.for
    $(FC) -c -o build\Commas.o $(FFLAGS) .\Source\Commas.for

build\biofix.o: .\Source\biofix.for
    $(FC) -c -o build\biofix.o $(FFLAGS) .\Source\biofix.for

build\Banner.o: .\Source\Banner.for
    $(FC) -c -o build\Banner.o $(FFLAGS) .\Source\Banner.for

build\AInput.o: .\Source\AInput.for
    $(FC) -c -o build\AInput.o $(FFLAGS) .\Source\AInput.for

build\FIF.o: .\Source\FIF.for
    $(FC) -c -o build\FIF.o $(FFLAGS) .\Source\FIF.for

build\LStri.o: .\Source\LStri.for
    $(FC) -c -o build\LStri.o $(FFLAGS) .\Source\LStri.for

build\RStri.o: .\Source\RStri.for
    $(FC) -c -o build\RStri.o $(FFLAGS) .\Source\RStri.for

clean: .SYMBOLIC
    $(RM) build\*.o
    $(RM) modules\*.mod
    $(RM) ..\Libs\ioLib.a

..\Libs\ioLib.a:  build\PadStr.o build\page.o build\Prompt.o build\R2Char.o build\RInput.o build\Send.o build\SkipChr.o build\UndLin.o build\VerLib.o build\write.o build\OpenO.o build\OpenI.o build\Opener.o build\OpenE.o build\LF.o build\LTrim.o build\Indent.o build\LenStr.o build\IInput.o build\I2Char.o build\FindChr.o build\ff.o build\Error.o build\Disp.o build\config.o build\Commas.o build\biofix.o build\Banner.o build\AInput.o build\FIF.o build\LStri.o build\RStri.o
    $(AR) rcs ..\Libs\ioLib.a build\PadStr.o build\page.o build\Prompt.o build\R2Char.o build\RInput.o build\Send.o build\SkipChr.o build\UndLin.o build\VerLib.o build\write.o build\OpenO.o build\OpenI.o build\Opener.o build\OpenE.o build\LF.o build\LTrim.o build\Indent.o build\LenStr.o build\IInput.o build\I2Char.o build\FindChr.o build\ff.o build\Error.o build\Disp.o build\config.o build\Commas.o build\biofix.o build\Banner.o build\AInput.o build\FIF.o build\LStri.o build\RStri.o $(PRJ_LFLAGS)

all: ..\Libs\ioLib.a .SYMBOLIC

Re: Self-correcting strange error

John,

The most likely culprit is either the build or module directories as specified in the Project Options.  After opening the Project Options dialog, make sure the build and module text boxes do not contain any backslashes.  The default text entries, "build" and "modules" respectively, should be fine.  Edit the text manually and click "Ok."  Next, save the project again.  The project should no longer exhibit this behavior.

The latest version (1.14) should not create project files that generate this loading error.  If you continue to have this problem, you can forward the project file to support@approximatrix.com for a quick analysis.  Resaving the project under 1.14 should also eliminate the issue.

Jeff Armstrong
Approximatrix, LLC

Jeff Armstrong
Approximatrix, LLC