This article describes the single steps necessary to create a Win32 executable from your Embedded Wizard UI application, once you have generated code for the Win32 target.
First of all, try to compile and link one of the existing projects (e.g. the sample 'PowerSupply') in order to ensure that the complete toolchain (Embedded Wizard, Microsoft Visual Studio) is installed correctly.
Now, when you have generated the code for the Win32 target, start Visual Studio and follow these steps:
- Create a new (empty) Win32 project.
- Remove all Visual Studio automatically added template files (e.g. main.cpp) from the new project.
- Add all generated 'C' files to the new project.
- Add all 'C' files from the directory '{ProgramFiles}\Embedded Wizard x.xx\Platforms\Tara\Win32\RTE'.
- Add all 'C' files from the directory '{ProgramFiles}\Embedded Wizard x.xx\Platforms\Tara\Win32\RGBA8888\GFX'. If you generate code for other color format use the corresponding directory!
- In the project setting of Visual Studio set the include search path to the both Platform Package directories and to the directory containing the generated files.
- In the project setting of Visual Studio set the library search path to the both Platform Package directories.
- Compile and link the application...