2020-06-22 06:12 AM
Hello, if I create a partial project from CubeMX, open it in TouchGFX designer, add a button and run the simulator, nothing happens. The simulator executable is built correctly, but it exits immediately with no errors reported.
2020-06-22 06:23 AM
Screenshots and logs please :)
2020-06-22 06:29 AM
Where are the logs located? There's nothing to take a screenshot of.
2020-06-22 06:33 AM
%APPDATA%/TouchGFX-4.13.0
Does the designer tell you that an error occured ?
2020-06-22 06:33 AM
The Windows Event Log indicates:-
Faulting application name: simulator.exe, version: 0.0.0.0, time stamp: 0x5ef0b0dc
Faulting module name: dgapi.dll, version: 7.5.2.54, time stamp: 0x5d7fb4a8
Exception code: 0xc0000005
Fault offset: 0x00030cad
Faulting process id: 0x7f10
Faulting application start time: 0x01d648985da4ed13
Faulting application path: Src\build\bin\simulator.exe
Faulting module path: c:\windows\system32\dgapi.dll
Report Id: c5223111-826e-469d-9052-a9de149abf38
Faulting package full name:
Faulting package-relative application ID:
2020-06-22 06:36 AM
Windows version?
2020-06-22 06:43 AM
2020-06-22 06:45 AM
I've never seen this issue before but i'm seeing a lot of activity on various sites about generally faulting dgapi.dll in Windows.
2020-06-22 06:55 AM
Designer uses the system proxy information, and that may be a blocker for downloading packages - BUT, it should not be a problem here if you're already at the compiling stage. You could try running the simulator outside of the designer.
Go to the application folder from a TouchGFX Environment and type
make -f simulator/gcc/Makefile
./build/bin/simulator.exe
See if you get the same error.
2020-06-22 07:34 AM
The simulator runs fine on my personal laptop which does not have dgapi.dll. This is on all our corporate machines and cannot be removed - is there any way around it?
Building outside Designer is not working:-
make.exe -f simulator/gcc/Makefile
process_begin: CreateProcess(NULL, ruby ../Middlewares/ST/touchgfx/framework/tools/textconvert/main.rb assets/texts/texts.xlsx ../Middlewares/ST/touchgfx/framework/tools/fontconvert/build/win/fontconvert.out generated/fonts generated/texts assets/fonts ., ...) failed.
make (e=2): The system cannot find the file specified.
generated/simulator/gcc/Makefile:219: recipe for target 'texts' failed
make[1]: *** [texts] Error 2
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2