This article describe the setup for application development on WEC2013 SDK with Visual Studio 2008.
msiexec /a <PathToMSIFile> /qb TARGETDIR=<DirectoryToExtractTo>
<DirectoryToExtractTo>\Toradex_CE800\
to
C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\
C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\Lib\ARMV7\retail\
copy msvcrt.lib
and
paste as corelibc.lib
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcpackages\WCE.VCPlatform.config
6.1 Add an additional Platform
<?xml version="1.0"?> <Platform Name="VCProjectWCEPlatform.dll" Identifier="{48443B3B-C1E3-449F-9988-4BFB510951D2}"> <Directories Include="C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\inc; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\atlmfc\include; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\crt\include;" Library="C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\lib\ARMV7\retail; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\atlmfc\lib\ARM; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\crt\lib\ARM;" Path="C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\bin\i386\Arm; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\bin\i386;$(PATH);" Reference="" Source="C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\atlmfc\src\atl\; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\atlmfc\src\mfc\; C:\Program Files (x86)\Windows CE Tools\Toradex_CE800\Sdk\crt\src\"/> <PlatformData> <PlatformName>Toradex_CE800 (ARMV7)</PlatformName> <SupportsDCOM>0</SupportsDCOM> <OSMajorVersion>8</OSMajorVersion> <OSMinorVersion>00</OSMinorVersion> <UISymbol>STANDARDSHELL_UI_MODEL</UISymbol> <Macros> <Macro Name="CEVER" Value="0x800"/> <Macro Name="ARCHFAM" Value="ARM"/> <Macro Name="_ARCHFAM_" Value="_ARM_"/> <Macro Name="INSTRUCTIONSET" Value="ARMV7"/> <Macro Name="BINDIR" Value="$(VCInstallDir)ce\dll"/> <Macro Name="SDK_DEFS" Value="_WIN32_WCE=$(CEVER);UNDER_CE=$(CEVER)"/> </Macros> </PlatformData> </Platform>6.2 If you have chosen a different path to copy the files to, then adjust the XML Tags to the correct paths (if it is not correct:
<Directories
Include=
Library=
Path=
Source= />
)Note : - Library linking order should be same as shown above. - If application fails to build, please try Check Entries for all the Toradex_CE800 SDK entries. It will be in Visual studio 2008 --> tools --> options --> Projects and Solutions --> VC++ Directories.
Open The project file "*.vcproj" in a text editor
In <VisualStudioProject><Platforms>
add a new XML tag
<VisualStudioProject><Platforms>
<Platform
Name="Toradex_CE800 (ARMV7)"
/>
<VisualStudioProject><Platforms><Configurations>
<Configuration Name="Debug|Toradex_CE500">
...
</Configuration>
and
<VisualStudioProject><Platforms><Configurations>
<Configuration Name="Release|Toradex_CE500">
...
</Configuration>
Change the name of the copied configurations to:
<Configuration Name="Debug|Toradex_CE800 (ARMV7)"> and
<Configuration Name="Release|Toradex_CE800 (ARMV7">
In each of the two copied configurations, adjust the "subsystem" parameter:
<VisualStudioProject><Platforms><Configurations><Configuration Name="Debug|Toradex_CE800 (ARMV7)">
<Tool
Name="VCLinkerTool"
AdditionalOptions="/subsystem:$(CESubsystem) /MACHINE:THUMB" />
to
<VisualStudioProject><Platforms><Configurations><Configuration Name="Debug|Toradex_CE800 (ARMV7)">
<Tool
Name="VCLinkerTool"
AdditionalOptions="/subsystem:WINDOWSCE,8.00" />
<VisualStudioProject><Platforms><Configurations><Configuration Name="Debug|Toradex_CE800 (ARMV7">
<Tool
Name="VCLinkerTool"
RandomizedBaseAddress="1"
<VisualStudioProject><Platforms><Configurations><Configuration Name="Debug|Toradex_CE800 (ARMV7">
<Tool
Name="VCCLCompilerTool"
PreprocessorDefinitions="_CRT_NON_CONFORMING_SWPRINTFS"