cancel
Showing results for 
Search instead for 
Did you mean: 

Bug? - Compilation Error

GPa.1
Associate III

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. 

4 REPLIES 4
Martin KJELDSEN
Chief III

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
Associate III

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
Associate III

"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
Chief III

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