Skip to main content
GPa.1
Associate II
October 20, 2020
Question

Bug? - Compilation Error

  • October 20, 2020
  • 4 replies
  • 2367 views

There is a DynamicGraph inside a Customer Container with an interaction triggered by a Graph clicked.   

Screen1 contains this Customer Container.  

Then, when you run simulation, a compilation error appears: redefinition of the function. The Software generates twice the callback function in the CustomContainer1Base.cpp

I created a new project, with only this interaction, and it fails. 

This topic has been closed for replies.

4 replies

Martin KJELDSEN
Principal III
October 23, 2020

Trying to run the project, but i'm getting

cannot load such file -- lib/string_collector

Do you have something specific in your makefile?

GPa.1
GPa.1Author
Associate II
October 23, 2020

Hi Martin!

No, I didn't change the makefile.

I created again the project and I attached it. Also, I attached 2 print screens to replicate the project (it's almost empty), if it's necessary.

Thanks.

GPa.1
GPa.1Author
Associate II
October 29, 2020

"Workaround": add all the callback code in the user code part. But, @Martin KJELDSEN​ , I am pretty sure that this is an error in the Code Generation by TouchGFX.

Martin KJELDSEN
Principal III
November 2, 2020

I don't doubt you :) You could be right - Let me try the new project - `lib/string_collector` is not a part of TouchGFX, so the first project wasn't working for me.

/Martin