Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Fri Jul 30, 2010 10:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Fix for VS .NET 2003 Release build Internal Compiler Error
PostPosted: Sat Oct 16, 2004 6:02 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
When I tried to compile the source as a Release build, i encountered an internal compiler error in matrix.cpp(5385):

This is easily fixable by replacing line 5385

Code:
sum = sum * sum + v[0]


with

Code:
double v0 = v[0];
sum = sum * sum;
sum = sum + v0;


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 6:07 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
Awesome, thanks Beafy!

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:26 pm 
Offline
picked up 200 ammo
User avatar

Joined: Fri May 02, 2003 2:23 am
Posts: 260
Hmm, I guess I don't understand why you'd have to change that line in the first place. I don't see anything wrong with it.

_________________
"My dream would be a mod where you wander around in a sunlit forest buzzing with insects that glow in the light, talking to friendly NPC people about their problems with gardening." -der_ton


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 7:56 pm 
Offline
has joined the game

Joined: Tue Sep 07, 2004 10:59 am
Posts: 39
It's just a workaround for a compilerbug...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Oct 16, 2004 9:15 pm 
Offline
has joined the game

Joined: Sat Aug 28, 2004 2:02 pm
Posts: 46
Cannot compile.. Maybe I am doing something wrong?

Code:
------ Build started: Project: idLib, Configuration: Debug with inlines and memory log Win32 ------
Compiling...
Base64.cpp
e:\DOOM3\idLib\precompiled.h(48) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.40607
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\idLib\InlineDebugMemoryDLL\Base64.sbr': No such file or directory
Build log was saved at "file://e:\DOOM3\idLib\InlineDebugMemoryDLL\BuildLog.htm"
idLib - 2 error(s), 0 warning(s)
------ Build started: Project: Game, Configuration: Debug with inlines and memory log Win32 ------
Performing Pre-Build Event...
The system cannot find the path specified.
Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.40607
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '.\game\InlineDebugMemoryDLL\Actor.sbr': No such file or directory
Build log was saved at "file://e:\DOOM3\Game\InlineDebugMemoryDLL\BuildLog.htm"
Game - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========


Any Ideas? This is in VC2005beta

_________________
Site Head: http://www.doomcentral.net


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 18, 2004 4:01 am 
Offline
has joined the game

Joined: Tue Aug 31, 2004 12:54 am
Posts: 26
Location: Streamwood, Il, USA
Didn't happen to me, I got two ambiguous calls to an overloaded function in the game\PlayerView.cpp files

526: float shift = scale * sin( sqrt( offset ) * g_dvFrequency.GetFloat() );

662: int offset = 25 + sin( gameLocal.time );


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 20, 2004 3:33 am 
Offline
The first 10 posts have been the best...

Joined: Sun Oct 17, 2004 4:56 am
Posts: 13
Just make them unambiguous:

526: float shift = scale * sin( (float) sqrt( (float) offset ) * g_dvFrequency.GetFloat() );

662: int offset = 25 + sin( (float) gameLocal.time );


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 20, 2004 2:27 pm 
Offline
is connecting to Doom3world.org

Joined: Wed Oct 20, 2004 2:20 pm
Posts: 3
I use VC7.1 too (the french architect edition) and i have the same problem of build Internal Compiler Error...


Top
 Profile  
 
 Post subject: Re: Fix for VS .NET 2003 Release build Internal Compiler Error
PostPosted: Thu May 28, 2009 9:41 am 
Offline
is connecting to Doom3world.org

Joined: Thu May 28, 2009 9:34 am
Posts: 1
This is easily fixable by replacing line 5385

Code:
sum = sum * sum + v[0]

_____________
Downloadic - Cheap Hotel - Human Health - software headline


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Oneofthe8devilz and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group