in Getting started by
Please explain the single steps that are necessary to create a Win32 executable out of my Embedded Wizard UI project.

2 Answers

+2 votes

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...


I followed above steps and created win32 project  and invoked Embedded Wizard sample project files in it as per the above steps.

After build, i am getting below error :

C1083: Cannot open include file core.h - no such file or directory.

i could not get core.h in Embedded Wizard 10.0  folder.

what could be the issue?



the file core.h is not somewhere in the Embedded Wizard 10.0 folder - it is a generated file of the unit 'Core' (which is in every GUI project). 

Please ensure that you have generated code for your GUI project. The generated code will be stored either in a subdirectory of your GUI project or in the directory defined by the setting OutputDirectory in your Profile.

If you have further issues - please open a separate discussion. Thanks.

Best regards,


0 votes

There is another - very simple method to create a Win32 executable using Visual Studio, but without the necessity to make many settings within Visual Studio:

  • Copy the Visual Studio project files from one of the provided Embedded Wizard samples into your project directory. For example, navigate to the directory '{UserDocumentFolder}\Embedded Wizard x.xx\Examples\PowerSupply' and copy the files 'PowerSupply.sln', 'PowerSupply.vcxproj' and 'PowerSupply.vcxproj.filters' into your project directory.
  • Rename the three files from 'PowerSupply.*' to the name of your project.
  • Open all three project files within a text editor and replace 'PowerSupply' with the name of your project.
  • Within your vcxproj file, verify and adapt the list of file names of the generated code, for example:
  <ClCompile Include="$(ProjectDir)\Win32\Core.c" />
  <ClCompile Include="$(ProjectDir)\Win32\Effects.c" />
  <ClCompile Include="$(ProjectDir)\Win32\Example.c" />
  <ClCompile Include="$(ProjectDir)\Win32\Graphics.c" />
  <ClCompile Include="$(ProjectDir)\Win32\Resources.c" />
  <ClCompile Include="$(ProjectDir)\Win32\Views.c" />
  • Within the vcxproj.filters file you have to make the same modifications.
  • Now open the project with Visual Studio and compile/link your Win32 application.

Although this method appears a little bit 'old-fashioned', it prevents you from making various include / linker path settings from scratch.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint