Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 10.1 install/build problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

10.1 install/build problem

 Post Reply Post Reply
Author
Message
j-b-f View Drop Down
Newbie
Newbie


Joined: 19 April 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote j-b-f Quote  Post ReplyReply Direct Link To This Post Topic: 10.1 install/build problem
    Posted: 19 April 2006 at 10:20am
Hello,

  I'm having trouble installing 10.1 with VS2002 Ent. Arch.  The deployment wizard is failing to build the libraries.  My setup is not too much different from the default; I have STLPort and boost paths set in VSVars, and the Ankh add-in for svn integration.

  As suggested by the build script, I've tried disabling add-ins, to no effect.  I've tried some other fixes, as outlined below (by opening and building the sln/vcproj files), but nothing has worked so far.

  The debug build of Codejock.ToolkitPro.Shared goes through alright, but the release build fails.  When the "Generating code..." message comes up for, apparently, a group of files including XTPCalendarThemeOffice2007.cpp, the compiler generates an internal error (C1001) at line 193 of XTPCalendarThemeOffice2007.h.  The compiler's reporting an error from its own file f:\vs70builds\9955\vc\Compiler\Utc\src\P2\main.c at line 146.

  All of the info I've found related to this compiler error seems to not apply to this case.  In one instance (KB320004), the issue has to do with optimization of while loops, and the solution is to disable /Og, which is apparently already done in the project.  Another instance (KB315948) has to do with global variables as template arguments, and the fix involves code mods that I don't want to do.  I don't think either of these apply anyway.

  There seems to be some preprocessor wizardry going awry, judging from the code in XTPCalendarThemeOffice2007.h.  Another avenue of investigation suggested increasing the memory available to the compiler for PCHs via the /Zm switch, but that didn't work either (I've been able to go up to /Zm120 or so on a machine with 512MB RAM, implying 60MB of memory).

  I've tried searching the forums here, and haven't found anything.  On a side note, the buttons on the search page are a bit of a pain for me; they remain disabled after using the Back button (Firefox 1.5), so I'm forced to use the link to return.  I understand the Back button is the bane of web apps, but anyway.

  If anyone has any ideas (update my compiler, I know, I know, but it isn't an option now), I'd appreciate them.

Thanks,
  jbf

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2006 at 12:31pm
Hi,

Try to disable optimization for this file like:

// XTPCalendarThemeOffice2007.h.
// After includes Before classes declatatuion Begin
#ifndef _DEBUG
#pragma optimize( "", off )
#endif
// in the end of file
#ifndef _DEBUG
#pragma optimize( "", on )
#endif


--
WBR,
Serge
Back to Top
j-b-f View Drop Down
Newbie
Newbie


Joined: 19 April 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote j-b-f Quote  Post ReplyReply Direct Link To This Post Posted: 21 April 2006 at 3:11pm
Serge,

  That worked; everything compiled & installed fine.  It's unfortunate that I have to turn off optimization, but hey, this gives me one more incentive to get a newer VS.

Thanks for the help,
  jbf

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.