Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Intermittent compile error
Sun, May 3 2020 4:33 PMPermanent Link

Richard Harding

Wise Nutrition Coaching

Tim,

Sometimes I am receiving compile errors such as "'stocklist_tfmlist' is undefined" and "'menu_tfmmenu' is undefined" when compiling with version 12. I need to close EWB3 and restart before it will compile again.

Richard
Sun, May 3 2020 8:21 PMPermanent Link

Rob Frye

Richard Harding wrote:

>> Sometimes I am receiving compile errors such as "'stocklist_tfmlist' is undefined"
>> and "'menu_tfmmenu' is undefined" when compiling with version 12. I need to close
>> EWB3 and restart before it will compile again.

I am seeing similar errors but it is when running not when building.  The projects compile with no errors or warnings.

For example, I just started getting a "'frmmain_tmainform' is undefined" error when running a particular project.  This was after making a very minor edit within a procedure.  All that was changed was a number literal from "12" to "11".  After closing and reopening the project, the project runs without error.

Rob
Tue, May 5 2020 3:48 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I get this as well.

If I open the project opens and save (without making any changes) it all starts working again.



Rob Frye wrote:

Richard Harding wrote:

>> Sometimes I am receiving compile errors such as "'stocklist_tfmlist' is undefined"
>> and "'menu_tfmmenu' is undefined" when compiling with version 12. I need to close
>> EWB3 and restart before it will compile again.

I am seeing similar errors but it is when running not when building.  The projects compile with no errors or warnings.

For example, I just started getting a "'frmmain_tmainform' is undefined" error when running a particular project.  This was after making a very minor edit within a procedure.  All that was changed was a number literal from "12" to "11".  After closing and reopening the project, the project runs without error.

Rob
Chris Holland
[Team Elevate]
Tue, May 5 2020 1:41 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Richard (and everyone else),

<< Sometimes I am receiving compile errors such as "'stocklist_tfmlist' is undefined" and "'menu_tfmmenu' is undefined" when compiling with version 12. I need to close EWB3 and restart before it will compile again. >>

Is this something that just started with build 12 ?

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Tue, May 5 2020 3:21 PMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

No, all the release have done this.

Normally every other build fails as well, I just click Run again and then it works.
Chris Holland
[Team Elevate]
Wed, May 6 2020 10:15 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< No, all the release have done this. >>

Does it correspond with any particular action on your part, like opening or closing units, etc. ?

I suspect that it may be related to the bug that I just fixed:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_beta&page=1&msg=719#719

but that's just a guess on my part.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, May 6 2020 7:45 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< No, all the release have done this. >>

Okay, I think I've fixed the actual problem.  I was able to replicate it by doing the following:

1) Start up a fresh instance of the IDE.  IOW, don't do this with an already-compiled project, but you will need to have a project loaded in the IDE.

2) Make sure that Code Assistance is turned on in the IDE.

3) Go to the bottom of the main unit for the loaded project.

4) Delete the last "end." text at the end of the unit.

5) Compile the project (Ctrl-F9).

6) Add the last "end." text back to the end of the unit.

7) Compile the project again.

This should reproduce the problem, so please let me know if you see it using these steps.

Also, these steps are directly related to the code assistance feature, but it's possible that this issue was present in another context.  It *was* a general compilation issue, so it was entirely possible that another sequence of compilation steps could cause a similar issue.

Thanks !

Tim Young
Elevate Software
www.elevatesoft.com
Image