p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2008 by Ivor Horton; ISBN: 9780470225905

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 12th, 2009, 01:05 PM
Registered User
Points: 14, Level: 1
Points: 14, Level: 1 Points: 14, Level: 1 Points: 14, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiling non-clr Sketcher Chapter18

When I create a MFC project, copy over the code files, and compile, I get errors.

The solutions, projects and resource files are not provided. Although the resource editor work-along in the previous chapters is great for learning to use VC08 features, it is a bit irritating to require manually doing all those steps. And the theApp.mbHiColorIcons, ....



1>------ Rebuild All started: Project: Sketcher, Configuration: Debug Win32 ------
1>Deleting intermediate and output files for project 'Sketcher', configuration 'Debug|Win32'
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>Sketcher.cpp
1>MainFrm.cpp
1>ChildFrm.cpp
1>SketcherDoc.cpp
1>c:\c\08p\sketcher\sketcher\pendialog.h(15) : error C2065: 'IDD_PENWIDTH_DLG' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(20) : error C2065: 'ID_COLOR_BLACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(20) : error C2065: 'ID_COLOR_BLACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(21) : error C2065: 'ID_COLOR_RED' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(21) : error C2065: 'ID_COLOR_RED' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(22) : error C2065: 'ID_COLOR_GREEN' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(22) : error C2065: 'ID_COLOR_GREEN' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(23) : error C2065: 'ID_COLOR_BLUE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(23) : error C2065: 'ID_COLOR_BLUE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(24) : error C2065: 'ID_ELEMENT_LINE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(24) : error C2065: 'ID_ELEMENT_LINE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(25) : error C2065: 'ID_ELEMENT_RECTANGLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(25) : error C2065: 'ID_ELEMENT_RECTANGLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(26) : error C2065: 'ID_ELEMENT_CIRCLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(26) : error C2065: 'ID_ELEMENT_CIRCLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(27) : error C2065: 'ID_ELEMENT_CURVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(27) : error C2065: 'ID_ELEMENT_CURVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(28) : error C2065: 'ID_COLOR_BLACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(28) : error C2065: 'ID_COLOR_BLACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(29) : error C2065: 'ID_COLOR_RED' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(29) : error C2065: 'ID_COLOR_RED' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(30) : error C2065: 'ID_COLOR_GREEN' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(30) : error C2065: 'ID_COLOR_GREEN' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(31) : error C2065: 'ID_COLOR_BLUE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(31) : error C2065: 'ID_COLOR_BLUE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(32) : error C2065: 'ID_ELEMENT_LINE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(32) : error C2065: 'ID_ELEMENT_LINE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(33) : error C2065: 'ID_ELEMENT_RECTANGLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(33) : error C2065: 'ID_ELEMENT_RECTANGLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(34) : error C2065: 'ID_ELEMENT_CIRCLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(34) : error C2065: 'ID_ELEMENT_CIRCLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(35) : error C2065: 'ID_ELEMENT_CURVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(35) : error C2065: 'ID_ELEMENT_CURVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(36) : error C2065: 'ID_PENWIDTH' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(36) : error C2065: 'ID_PENWIDTH' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(37) : error C2065: 'ID_ELEMENT_TEXT' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(37) : error C2065: 'ID_ELEMENT_TEXT' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(38) : error C2065: 'ID_ELEMENT_TEXT' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherdoc.cpp(38) : error C2065: 'ID_ELEMENT_TEXT' : undeclared identifier
1>SketcherView.cpp
1>c:\c\08p\sketcher\sketcher\scaledialog.h(15) : error C2065: 'IDD_SCALE_DLG' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\textdialog.h(15) : error C2065: 'IDD_TEXT_DLG' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(34) : error C2065: 'ID_ELEMENT_MOVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(34) : error C2065: 'ID_ELEMENT_MOVE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(35) : error C2065: 'ID_ELEMENT_DELETE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(35) : error C2065: 'ID_ELEMENT_DELETE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(37) : error C2065: 'ID_ELEMENT_SENDTOBACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(37) : error C2065: 'ID_ELEMENT_SENDTOBACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(38) : error C2065: 'ID_VIEW_SCALE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(38) : error C2065: 'ID_VIEW_SCALE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(365 ) : error C2065: 'IDR_CURSOR_MENU' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(372 ) : error C2065: 'ID_COLOR_BLACK' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(374 ) : error C2065: 'ID_COLOR_RED' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(376 ) : error C2065: 'ID_COLOR_GREEN' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(378 ) : error C2065: 'ID_COLOR_BLUE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(383 ) : error C2065: 'ID_ELEMENT_LINE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(385 ) : error C2065: 'ID_ELEMENT_RECTANGLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(387 ) : error C2065: 'ID_ELEMENT_CIRCLE' : undeclared identifier
1>c:\c\08p\sketcher\sketcher\sketcherview.cpp(389 ) : error C2065: 'ID_ELEMENT_CURVE' : undeclared identifier
1>FileView.cpp
1>c:\c\08p\sketcher\sketcher\fileview.cpp(152) : error C2039: 'GetContextMenuManager' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>c:\c\08p\sketcher\sketcher\fileview.cpp(152) : error C2227: left of '->ShowPopupMenu' must point to class/struct/union/generic type
1>c:\c\08p\sketcher\sketcher\fileview.cpp(229) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>c:\c\08p\sketcher\sketcher\fileview.cpp(233) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>c:\c\08p\sketcher\sketcher\fileview.cpp(248) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>ClassView.cpp
1>c:\c\08p\sketcher\sketcher\classview.cpp(298) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>c:\c\08p\sketcher\sketcher\classview.cpp(313) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>c:\c\08p\sketcher\sketcher\classview.cpp(321) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>ViewTree.cpp
1>OutputWnd.cpp
1>PropertiesWnd.cpp
1>c:\c\08p\sketcher\sketcher\propertieswnd.cpp(97 ) : error C2039: 'm_bHiColorIcons' : is not a member of 'CSketcherApp'
1> c:\c\08p\sketcher\sketcher\sketcher.h(16) : see declaration of 'CSketcherApp'
1>Generating Code...
1>Build log was saved at "file://c:\c\08p\Sketcher\Sketcher\Debug\BuildLog.htm"
1>Sketcher - 67 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

Last edited by mwindham : July 14th, 2009 at 04:55 PM. Reason: problem resolved
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter18 Beg C#2005 - Creating New Database teamster C# 2005 0 March 17th, 2006 01:02 AM
Sketcher Applet Problems gerrymurphy BOOK: Beginning Java 2 9 December 14th, 2004 10:49 AM
Spiral Sketcher freezotic BOOK: Beginning Java 2 0 September 4th, 2004 02:08 PM
Sketcher Source JCScoobyRS Java GUI 1 November 17th, 2003 03:17 PM
sketcher koekke Wrox Book Feedback 1 October 20th, 2003 10:43 AM



All times are GMT -4. The time now is 03:31 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc