Getting Torque to compile with VS6
by Bendik Stang · in Torque Game Engine · 02/28/2002 (7:13 am) · 12 replies
Hi
I can't get Visual Studio 6 to recognice the .cc files.
Somehow the .reg files that came with the download does not affect the regestery in the right way.
I have VS6 enteprise edition, and I noticed that the guide was using the pro. edition.
Is there a way to edit the registery manually?
***message edited***
hmmm. I'm not sure this is the acctual problem....
When I open the "Torque SDK.dsw" almost nothing happen.
result->"Workspace 'Torque SDK':0 project(s)"
:)
Bendik
I can't get Visual Studio 6 to recognice the .cc files.
Somehow the .reg files that came with the download does not affect the regestery in the right way.
I have VS6 enteprise edition, and I noticed that the guide was using the pro. edition.
Is there a way to edit the registery manually?
***message edited***
hmmm. I'm not sure this is the acctual problem....
When I open the "Torque SDK.dsw" almost nothing happen.
result->"Workspace 'Torque SDK':0 project(s)"
:)
Bendik
#2
I have installed..and reinstalled both the VS6 and the service pack 5.
As well as openAL and DirectX8.1
The workspace file contains all the correct data or so it seemes, when I open it in notepad.
I tried on another computer with the same VS6 edition, but same thing there...
I have no clue what it could be?
-Bendik
02/28/2002 (8:18 am)
Thanks for the reply, I wish it was that. :)I have installed..and reinstalled both the VS6 and the service pack 5.
As well as openAL and DirectX8.1
The workspace file contains all the correct data or so it seemes, when I open it in notepad.
I tried on another computer with the same VS6 edition, but same thing there...
I have no clue what it could be?
-Bendik
#3
--Rick
02/28/2002 (8:19 am)
It's in the VC6 Setup Documentation about 2/3 of the way down. Search for 'cc_comp.reg'--Rick
#4
I even used regedit to check that it was added to the registery. That part shoudl be right too.
*scratches head*
02/28/2002 (8:23 am)
not that either. I ran both of the .reg files.I even used regedit to check that it was added to the registery. That part shoudl be right too.
*scratches head*
#5
BTW, Visual .NET has not that problem.
02/28/2002 (8:28 am)
What is very important is to reboot the computer after executing the two .reg files. More over, VC6 will never recognize the cc file as C++ file but you will be able to edit them with syntax color enabled.BTW, Visual .NET has not that problem.
#6
02/28/2002 (9:46 am)
You'll at least have to restart VC6. ...but with windows who knows a reboot is never a bad idea.
#7
02/28/2002 (2:06 pm)
Rick, it is important to reboot the computer if under Win ME or 98. On XP, the registry is well updated but on Me or 98, it seems it does not work well (I have to did it on my laptop).
#8
...and again. (Running MSVS6-enteprise@win2k)
The 'Torque SDK.dsw' file just won't open the right way.
(but looks all fine in a text editor)
I just tried on another computer with VS6-pro on and its the same thing....
Could it be somthing wrong with the files I have downloaded?
Shall I get some other programming tool?
Can I rename all the .cc files to .cpp ?
03/01/2002 (5:16 am)
I have rebooted, reinstalled, updated, edited the registry, rebooted, and tried it all over again......and again. (Running MSVS6-enteprise@win2k)
The 'Torque SDK.dsw' file just won't open the right way.
(but looks all fine in a text editor)
I just tried on another computer with VS6-pro on and its the same thing....
Could it be somthing wrong with the files I have downloaded?
Shall I get some other programming tool?
Can I rename all the .cc files to .cpp ?
#9
So it the TorqueSDK.dsw that doesn't open, you have not even tried to compile yet then? If that is the case I would delete the *.dsw, *.dsp files in the torque/vc6 direcory and update them from cvs.
--Rick
03/01/2002 (7:30 am)
...now I am getting a little confused. So it the TorqueSDK.dsw that doesn't open, you have not even tried to compile yet then? If that is the case I would delete the *.dsw, *.dsp files in the torque/vc6 direcory and update them from cvs.
--Rick
#10
In WinCVS there is an option under "Global options" for Check-Out that says "Check out files with Unix LF (0x0a)". I have that option UNchecked, but then I never update the sources directly from GG, so your mileage may vary. Try it both ways.
03/01/2002 (7:55 am)
I've seen a problem like yours (file looks ok in some text editors but VS won't parse it) when the file had suffered an extraneous Nl/CRNL conversion.In WinCVS there is an option under "Global options" for Check-Out that says "Check out files with Unix LF (0x0a)". I have that option UNchecked, but then I never update the sources directly from GG, so your mileage may vary. Try it both ways.
#11
resolved it to nuke the whole vs6 folder and resubmit as binary ..
linux cvs thinks its ok to modify these files ..
when it is not
so nuke the folder vs6 and get it again..
you are using wincvs on the machine that downloads these files from gg and then running on that machine right?
I dont understand how you got this to happen if that is the case
03/01/2002 (2:18 pm)
ive had this Exact issue when first submitting this project to my cvs server in linux and then doing a full checkout from windows..resolved it to nuke the whole vs6 folder and resubmit as binary ..
linux cvs thinks its ok to modify these files ..
when it is not
so nuke the folder vs6 and get it again..
you are using wincvs on the machine that downloads these files from gg and then running on that machine right?
I dont understand how you got this to happen if that is the case
#12
Downloading it all again did wonders!!
Thanks for the help!!
*bows*
-Bendik
03/04/2002 (1:45 am)
Hurray!Downloading it all again did wonders!!
Thanks for the help!!
*bows*
-Bendik
Torque Owner Myk Sanders
Hope that helps
-=::=-