HOVERRACE.COM: fast - fun - free Forum Index HOVERRACE.COM: fast - fun - free
HoverRace is an open-source 3D racing game.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

building with VC6.0

 
Post new topic   Reply to topic    HOVERRACE.COM: fast - fun - free Forum Index -> Help Desk
View previous topic :: View next topic  
Author Message
WaxyChicken



Joined: 05 Jul 2006
Posts: 100
Location: Phoenx, AZ (actualy, Glendale. but that's like saying Manhattin or NY,NY

PostPosted: Sat Sep 09, 2006 9:55 am    Post subject: building with VC6.0 Reply with quote

1 - loaded up using \Project\NetTarget\NetTarget.mdp
2 - permitted VC to convert the files from the older VC to the 6.0 VC (updated all .dsp files)
3 - set Game2 - Win32 Debug as the active configuration

edited VideoServices.dsp as follows:
Original lines 70 & 71


Code:

# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /MDd /W4 /Gm /GR /GX /ZI /Od /I "\gdk\sdk\inc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "MR_VIDEO_SERVICES" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /YX"stdafx.h" /FD /c


after the edit:
Code:

# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c
# ADD CPP /nologo /MDd /W4 /Gm /GR /GX /I "\gdk\sdk\inc" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "MR_VIDEO_SERVICES" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /YX"stdafx.h" /FD /c



(it was necessary to remove the /ZI and /Od due to invalid command line options)

now when i try to build i get alot of:

Code:
--------------------Configuration: Util - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\WorldCoordinates.cpp'
Compiling...
DllObjectFactory.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\DllObjectFactory.cpp': No such file or directory
FuzzyLogic.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\FuzzyLogic.cpp': No such file or directory
Profiler.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\Profiler.cpp': No such file or directory
RecordFile.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\RecordFile.cpp': No such file or directory
StdAfx.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\StdAfx.cpp': No such file or directory
StrRes.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\StrRes.cpp': No such file or directory
WorldCoordinates.cpp
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\WorldCoordinates.cpp': No such file or directory
Error executing cl.exe.

Game2.exe - 7 error(s), 1 warning(s)

help for this VC noobie would be apperciated.
_________________
-Cluck :>
Back to top
View user's profile Send private message Send e-mail
Austin
Site Admin


Joined: 25 Nov 2005
Posts: 1085
Location: Stafford, England

PostPosted: Sat Sep 09, 2006 11:57 am    Post subject: Reply with quote

Bwahahahha his name is Vincent Razz!

On another note, I think we're aiming to release a compilable source on a CVS server, this will allow HR.com developers to edit it online without having us all pulling in different directions.

It will also be there for other people who can code, to make improvements to certain bits too which we can implement later if we want to.

Correct me if I'm wrong Iggly/SF.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
WaxyChicken



Joined: 05 Jul 2006
Posts: 100
Location: Phoenx, AZ (actualy, Glendale. but that's like saying Manhattin or NY,NY

PostPosted: Sat Sep 09, 2006 12:19 pm    Post subject: Reply with quote

How did you find out???????????? Shocked
_________________
-Cluck :>
Back to top
View user's profile Send private message Send e-mail
Austin
Site Admin


Joined: 25 Nov 2005
Posts: 1085
Location: Stafford, England

PostPosted: Sat Sep 09, 2006 1:20 pm    Post subject: Reply with quote

fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\StdAfx.cpp': No such file or directory
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Igglybob
Source Developer


Joined: 25 Nov 2005
Posts: 1264
Location: Atlanta, GA

PostPosted: Sat Sep 09, 2006 5:54 pm    Post subject: Reply with quote

Your problem is right here:

fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Damaris\Desktop\FILES AND FOLDERS\Vincent'stuff\HoverRace\Source\source-1.01\Project\NetTarget\Util\Util\StdAfx.cpp': No such file or directory

Note the double Util. It should only be one.
_________________
<www.igglybob.com>
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
WaxyChicken



Joined: 05 Jul 2006
Posts: 100
Location: Phoenx, AZ (actualy, Glendale. but that's like saying Manhattin or NY,NY

PostPosted: Sat Sep 09, 2006 11:11 pm    Post subject: Reply with quote

thank you!
it took me forever to find what was causing it, but i found it.

now i have to finish the syntext conversion. i have some major compile erros such as:

Code:
--------------------Configuration: ColorTools - Win32 Debug--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
ColorTools.cpp
StdAfx.cpp
Generating Code...
Linking...
Creating library ..\Debug/ColorTools.lib and object ..\Debug/ColorTools.exp
--------------------Configuration: VideoServices - Win32 Release--------------------
Compiling...
2DViewPort.cpp
3DViewport.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewport.cpp(143) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewport.cpp(144) : warning C4244: '=' : conversion from 'double' to 'int', possible loss of data
Bitmap.cpp
ColorPalette.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\ColorPalette.cpp(83) : warning C4244: '=' : conversion from 'int' to 'unsigned char', possible loss of data
ColorTab.cpp
SoundServer.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\SoundServer.cpp(271) : warning C4244: 'initializing' : conversion from 'double' to 'unsigned long', possible loss of data
Sprite.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\Sprite.cpp(270) : warning C4244: '=' : conversion from 'int' to 'char', possible loss of data
StdAfx.cpp
VideoBuffer.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\VideoBuffer.cpp(1034) : warning C4101: 'lErrorCode' : unreferenced local variable
VideoBuffer2DDraw.cpp
Generating Code...
Compiling...
Command line warning D4002 : ignoring unknown option '/Ot'
Command line warning D4002 : ignoring unknown option '/Oa'
Command line warning D4002 : ignoring unknown option '/Og'
Command line warning D4002 : ignoring unknown option '/Oi'
Command line warning D4002 : ignoring unknown option '/Oy'
Command line warning D4002 : ignoring unknown option '/Ob2'
3DViewportRendering.cpp
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewportRendering.cpp(415) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewportRendering.cpp(1214) : warning C4244: '=' : conversion from 'int' to 'unsigned short', possible loss of data
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewportRendering.cpp(1937) : warning C4244: '=' : conversion from 'int' to 'unsigned short', possible loss of data
C:\v\s\v101\Proj\NetTarget\VideoServices\3DViewportRendering.cpp(2132) : warning C4244: '=' : conversion from 'int' to 'unsigned short', possible loss of data
Linking...
LINK : fatal error LNK1181: cannot open input file "\gdk\sdk\lib\ddraw.lib"
Error executing link.exe.


now i have to figure out how to make it find or reconize DDraw.

incase i never said it before - being a noobie SUX. that goes for programing, too.
_________________
-Cluck :>
Back to top
View user's profile Send private message Send e-mail
Igglybob
Source Developer


Joined: 25 Nov 2005
Posts: 1264
Location: Atlanta, GA

PostPosted: Sun Sep 10, 2006 8:09 am    Post subject: Reply with quote

Richard referenced ddraw.lib statically. You need to go to the linker options, where it tells you which libraries it's linking to, and change "\gdk\sdk\lib\ddraw.lib" to just ddraw.lib. Visual Studio will know where to find it then.
_________________
<www.igglybob.com>
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
WaxyChicken



Joined: 05 Jul 2006
Posts: 100
Location: Phoenx, AZ (actualy, Glendale. but that's like saying Manhattin or NY,NY

PostPosted: Sun Sep 10, 2006 1:23 pm    Post subject: Reply with quote

Alright, coppied the ddraw lib and h that came with VC to the video services file. that solved that problem.

Code:

SoundServer.obj : error LNK2001: unresolved external symbol _DirectSoundCreate@12
VideoBuffer.obj : error LNK2001: unresolved external symbol "void __cdecl PrintLog(char const *,...)" (?PrintLog@@YAXPBDZZ)
VideoBuffer.obj : error LNK2001: unresolved external symbol _DirectDrawCreate@12


What version of C did he write this in??
_________________
-Cluck :>
Back to top
View user's profile Send private message Send e-mail
Igglybob
Source Developer


Joined: 25 Nov 2005
Posts: 1264
Location: Atlanta, GA

PostPosted: Sun Sep 10, 2006 2:18 pm    Post subject: Reply with quote

You shouldn't have needed to copy anything anywhere, just change the entry in the linker configuration, under the project properties panel.

It compiles fine for me, you shouldn't be getting those errors. Mess with it some more and let me know where you get.
_________________
<www.igglybob.com>
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
Skelator



Joined: 06 Dec 2005
Posts: 396

PostPosted: Wed Sep 13, 2006 5:29 pm    Post subject: Reply with quote

I did something similar with VC6 but after a lot of messaging around got a lot of syntax errors... VC6 does work really well for the IMR but I think the original IMR system is a little outdated due to some new technologies being worked on by Austin.... Wink
Back to top
View user's profile Send private message Send e-mail
Zooz



Joined: 25 Nov 2005
Posts: 547
Location: the Netherlands

PostPosted: Thu Sep 14, 2006 9:20 am    Post subject: Reply with quote

Skelator wrote:
I did something similar with VC6 but after a lot of messaging around got a lot of syntax errors... VC6 does work really well for the IMR but I think the original IMR system is a little outdated due to some new technologies being worked on by Austin.... Wink

Yes, don't mention what it is, 1 or 2 people here might not know it yet Shocked
Razz
Back to top
View user's profile Send private message MSN Messenger
Vigilante
Guest





PostPosted: Sun Sep 17, 2006 12:17 pm    Post subject: Reply with quote

----------

Last edited by Vigilante on Thu Dec 04, 2008 5:09 am; edited 1 time in total
Back to top
Skelator



Joined: 06 Dec 2005
Posts: 396

PostPosted: Sun Sep 17, 2006 5:57 pm    Post subject: Reply with quote

If austin wants to tell people he will... I dont wanna take his thunder Smile
Back to top
View user's profile Send private message Send e-mail
Zooz



Joined: 25 Nov 2005
Posts: 547
Location: the Netherlands

PostPosted: Mon Sep 18, 2006 11:04 am    Post subject: Reply with quote

True. There's very good progress though, I saw.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    HOVERRACE.COM: fast - fun - free Forum Index -> Help Desk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group