Game Development Community

Installing torque in Visual Studio.NET

by Jim Spear · in Torque Game Engine · 02/11/2004 (8:37 pm) · 37 replies

I read that .NET isn't officially supported but some have sucessfully installed it. I would be eternally grateful if one of those kind souls would give me a step-by-step on how they did it.
Thanks in Advance,
Jim
Page «Previous 1 2
#1
02/11/2004 (8:45 pm)
Torque compiles just fine with vc++.net (both version 2002 and 2003). If you're using ver2003, simply use the solution file in the vc7 directory; if you're usiong ver2002, use the file in the vc6 directory (answer yes when it asks you to convert). There's nothing to it. :)
#2
02/11/2004 (8:58 pm)
Many Thanks Ben, I appreciate it.
#3
02/12/2004 (10:13 am)
Sorry Ben, I must be dumber than I thought. Ive tried both vc6 and vc7 snd neither will compile all 16 Projects in the solution. Most of the fatal errors are the same in all the failing projects " /engine\audio\vorbisStream.h(26): Cannot open include file: vorbis/codec.h: Nosuch file or directory" I'm apparently missing a header file. Couldn't find it any where on my machine I'm thinking maybe the vi.2.0 isn't as stable as advertisec?
#4
02/12/2004 (10:25 am)
Hmmm, should be there, try upadating or checking the whole thing out again and make sure there are no errors
#5
02/15/2004 (9:59 am)
I checkedout Release_1_2_0 from cvs and since I have .net 2002, I loaded the vc6 dsw.
I did a build and got the following errors.\


------ Build started: Project: texture2bm8, Configuration: Debug Win32 ------
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __getmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: ___initmbctable already defined in LIBCD.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
../tools/texture2bm8_DEBUG.exe : fatal error LNK1169: one or more multiply defined symbols found

Anyone know what to do?


UPDATE:
by inserting /NODEFAULTLIB:LIBCMT in additional options of command line in the property pages for texture2bmp8, I was able to get it to build, but I get a window that pops up when I start debug. It says torqueDemo_DEBUG.exe' does not contain debugging information.(No symbols loaded).
Click Ok to debug anyway.
#6
02/15/2004 (10:03 am)
Did you install the Windows NT symbols? I failed to do that and was getting some errors that were nearly identical to yours. I don't know if .Net has that, but that cured my problem.


www.garagegames.com/mg/forums/result.thread.php?qt=16176
#7
02/15/2004 (10:21 am)
Under common properties for the solution I see Debug Symbol Files as being blank.
I don't know where to point to for those files. The help only says the foillowing:

This dialog box appears when you attempt to debug a project that has no symbolic debug information available. This may happen if:

You attempt to debug a Retail configuration of a project rather than the Debug configuration.
You've changed the Debug configuration settings in the Property Pages dialog box.
You are opening an .EXE as a project.
#8
02/15/2004 (10:26 am)
Click on Start/all programs/Microsoft visual C++ .Net(guessing) and see if you have a "Tools" folder of some kind. In mine I have an executable called "Windows NT Symbols setup"

I'm guessing you would be looking for something like that. I have never used .net before. The only reason I even suggest this is because the errors I was getting were very similar to yours. especially the....


LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
#9
02/15/2004 (10:33 am)
Click on Start/all programs/Microsoft visual C++ .Net(guessing) and see if you have a "Tools" folder of some kind. In mine I have an executable called "Windows NT Symbols setup"

I'm guessing you would be looking for something like that. I have never used .net before. The only reason I even suggest this is because the errors I was getting were very similar to yours. especially the....


LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
#10
02/15/2004 (10:44 am)
Click on Start/all programs/Microsoft visual C++ .Net(guessing) and see if you have a "Tools" folder of some kind. In mine I have an executable called "Windows NT Symbols setup"

I'm guessing you would be looking for something like that. I have never used .net before. The only reason I even suggest this is because the errors I was getting were very similar to yours. especially the....


LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
#11
02/15/2004 (10:45 am)
If that doesn't work for you, this would be the next thing I would try....

support.microsoft.com/default.aspx?scid=kb;en-us;148652

Other than that, all I can suggest is make sure you are fully updated with whatever service packs are avaialble for your version of C++.
#12
02/15/2004 (10:46 am)
I didn't see any symbols there.
I'll just install vc6, GG isn't using 2002 .net anyway. Just vc6 and vs 2003.
Thanks anyway Gonzo
#13
02/15/2004 (12:15 pm)
Worked flawlessly with vc6. Hate to have to buy vs 2003 just so i can use .net
#14
02/15/2004 (12:28 pm)
Linking...
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __getmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: ___initmbctable already defined in LIBCD.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library

last I recall the texture2bm8 project was single thread debug, need to change that to multi threaded debug.

-Ron
#15
02/16/2004 (8:05 am)
First, I'd like to thank everyone for their posts, much appreaciated. I did finally get a good install, after a forty-eight hour marathon. I'm fairly patient but I could feel myself aging as I sat there. I wish I could remember the details but simply put, I caved. I just deleted/uninstalled everything and started over. I loaded the new checkout module into .NET2003,changed all the file configs to release, clicked build solution. About half failed to build so I changed the build sequence and rebuilt the entire solution. a few more files loaded and I just kept repeating until it finally loaded. Unfortunately, I didn't keep the final build sequence that Might have saved someone some misery, I plead fatigue and advancing senile dementia. Again, my thanks to everyone.
#16
02/19/2004 (2:04 am)
I'm getting the same problems as you :( I'm using VC++ .NET 2003. So to get rid of these errors I should re-install everything and set the configeration to Release? I don't mind installing everything again (I haven't done much with VC++, haven't had time with going back to school :( ). And I should get the latest update for VC++.NET? This right?
Thanks,
James
#17
02/19/2004 (8:45 am)
Actually the vs7 project worked just fine for me first try in both DEBUG and RELEASE. Both 2002 ( 7 ) and 2003 ( 7.1 ).

Should not have to change anything. Should work "out of the box".

you should have tried HEAD seems that lots of people have had problems with 1.2.0
#18
02/19/2004 (9:53 am)
What I did with VC++.net 2002 was go into the Configuration Manager under the Build menu and uncheck texture2bm8, it apparently isn't needed, and the wad one, since I don't use wads, and it compiled just fine.
#19
02/19/2004 (11:37 am)
@Jarrod - did you do that with fresh HEAD release from cvs?
I downloaded the HEAD release and release_1_2_0. Neither worked. When using VC7(2002), did you use the vc6 directory or vc7? If you used vc7, how did you get it to work? If you used vc6, how did you get passed the libcmt errors?

I'm assuming you did cvs update on already working versions. I'd be interested in you starting from scratch and doing a fresh head download and see if it works.

It was stated earlier if you are using vc7(2002) just use the vc6 directory and answer yes to the convert questions and it should work fine. I tried that, and it doesn't work.


-Jason
#20
02/19/2004 (12:16 pm)
There is only one HEAD and regardless if it is an update or checkout it is the same set of files.

No you use the vs7 solution file that is why it is there!
Page «Previous 1 2