p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Book: Professional Microsoft Windows Embedded CE 6.0 ISBN: 978-0-470-37733-8 (http://p2p.wrox.com/forumdisplay.php?f=428)
-   -   Problem with 'Clone Public Code to BSP' (http://p2p.wrox.com/showthread.php?t=79273)

Splaktar May 2nd, 2010 02:18 PM

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.

Splaktar May 5th, 2010 12:31 AM

Finally built
 
I finally got the MyVGA.dll built. I'm not sure exactly what the fix was.

I created a new OSDesign and followed some of the steps from http://download.microsoft.com/downlo..._Reference.zip in order to setup the components and ENVs.

I also ran 'sysgen' instead of 'Build' on MyVGA. This is likely the fix because C:\WINCE600\OSDesigns\MyOSDesign\MyOSDesign\Wince6 00\MyCEPCBSP_x86\cesysgen did not exist.

Either way, this is quite an omission for someone who is reading your book to learn Win CE 6.0 R3. Up until this point the steps were clear, but this set me back 3 days.

Bruce Naylor September 8th, 2010 02:00 PM

OK, just hit same problem. Seems you need to build your project BEFORE building MyVGA. Sysgen didn't help any.


All times are GMT -4. The time now is 05:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.