View Single Post
  #1 (permalink)  
Old May 2nd, 2010, 02:18 PM
Splaktar Splaktar is offline
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with 'Clone Public Code to BSP'

In section 2 of Chapter 3 (Clone Public Code to BSP), when building myvga.dll you appear to assume that a MyOSDesign project has already been created and that a MyVGA.sln exists. Both of these are not the case for someone following your detailed steps from the online version of the book. This is the first mention of MyOSDesign in the book and none of the provided software installs create it either.

When I try to setup my own MyOSDesign project (not sure which device profile to use) and MyVGA.sln to build myvga.dll, I see the following build errors:

------ Build started: Project: MyOSDesign, Configuration: MyCEPCBSP X86 Release Platform Builder (_TGTCPU) ------
C:\WINCE600\PLATFORM\MyCEPCBSP\src\drivers\MyVGA\s ources
Starting Build: set WINCEREL=1&&build&&makeimg
==============
BUILD: [Thrd:Sequence:Type ] Message
BUILD: [00:0000000000:ERRORI] Failed to initialize from CECONFIG.H.
BUILD: [00:0000000001:PROGC ] Files Warnings Errors
BUILD: [00:0000000002:PROGC ] Other 0 0 1
BUILD: [00:0000000003:PROGC ]
BUILD: [00:0000000004:PROGC ] Total 0 0 1
BUILD: [00:0000000005:PROGC ]
BUILD: [00:0000000006:PROGC ] 0 Warnings, 1 Errors
BUILD: [00:0000000007:PROGC ] GetSystemTimes (seconds): Idle: 0 Kernel: 0 User: 0
BUILD: [00:0000000008:PROGC ] Elapsed time (seconds): 0
Build for Windows CE (Release 601) (Built on Aug 17 2006 15:18:52)
File names: Build.log Build.wrn Build.err Build.dat
CEFILTER: Failed opening C:\WINCE600\OSDesigns\MyOSDesign\MyOSDesign\Wince6 00\MyCEPCBSP_x86\cesysgen\sdk\inc\ceconfig.h
C:\WINCE600\PLATFORM\MyCEPCBSP\src\drivers\MyVGA\s ources - 1 error(s), 0 warning(s)
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

What are the missing steps to get this to work?

I am using the latest downloads of Windows CE 6.0 R3 along with the hundreds of patches and latest QFEs required. This is of course in VS2005.