Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Book: Professional Microsoft Windows Embedded CE 6.0 ISBN: 978-0-470-37733-8
This is the forum to discuss the Wrox book Professional Microsoft Windows Embedded CE 6.0 by Samuel Phung; ISBN: 9780470377338
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Book: Professional Microsoft Windows Embedded CE 6.0 ISBN: 978-0-470-37733-8 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 2nd, 2010, 02:18 PM
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.
Reply With Quote
  #2 (permalink)  
Old May 5th, 2010, 12:31 AM
Registered User
 
Join Date: May 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #3 (permalink)  
Old September 8th, 2010, 02:00 PM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Formal Public Indentifiers smadden BOOK: Beginning XML, 4th Ed ISBN: 978-0-470-11487-2 0 November 20th, 2009 01:02 PM
public article - public articledetails _keysersoze_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 September 8th, 2007 08:38 AM
.net remoting problem while hosting in public IIS dotnetpranker C# 3 March 19th, 2007 07:05 AM
Passing Public Variables in Code-Behind striker9 ASP.NET 2.0 Basics 7 February 11th, 2006 02:54 PM
How to reference Public Variable in Code Gino Liu Access VBA 2 June 18th, 2003 01:42 PM



All times are GMT -4. The time now is 04:03 PM.


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