2020-10-30 03:44 PM
The program crashes in Framework/source/touchgfx/containers.cpp . I can find the where the error is generated here but haven't a clue why. At this stage, I am working in the simulator and building the gui with the idea of getting the gui built and then start adding the functionality. I am not sure what part of the project to zip up and send as I am sure you don't need the entire folder. I tried zipping just the "TouchGFX" folder which wouldn't properly open on another computer.
Any guidance would be much appreciated.
Solved! Go to Solution.
2020-11-02 09:54 AM
I found the problem. In the sample Keyboard GUI included with TouchGFX 4.15 (Edit/Import GUI), the keyboard is not placed in the screen, instead MainView.cpp calls the image and locates on the screen with the following code:
MainView::MainView()
{
keyboard.setPosition(80, 16, 320, 240);
add(keyboard);
}
In my program, i have the keyboard placed as part of the screen along with other widgets. When I commented out the code in the braces, the project now compiles. The problem I was having was due to attempting to place the same image twice.
2020-10-31 12:51 AM
How is version of Touch and IDE? I mean compile is without errors, but maybe you need check too warnings.
Around zip project , reply is complicated.
2020-11-02 09:54 AM
I found the problem. In the sample Keyboard GUI included with TouchGFX 4.15 (Edit/Import GUI), the keyboard is not placed in the screen, instead MainView.cpp calls the image and locates on the screen with the following code:
MainView::MainView()
{
keyboard.setPosition(80, 16, 320, 240);
add(keyboard);
}
In my program, i have the keyboard placed as part of the screen along with other widgets. When I commented out the code in the braces, the project now compiles. The problem I was having was due to attempting to place the same image twice.