10.1 install/build problem
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4029
Printed Date: 10 November 2025 at 10:20am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: 10.1 install/build problem
Posted By: j-b-f
Subject: 10.1 install/build problem
Date 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
|
Replies:
Posted By: sserge
Date 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
|
Posted By: j-b-f
Date 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
|
|