Game Development Community

Fatal error C1083 and error C2248 Help

by Tom Hutchison · in Torque Game Engine · 08/08/2004 (3:06 pm) · 20 replies

Hi, I just installed the TorqueSDK into Visual Studio.net 2003 and try to build it and getting 6 error as Follow:
Fatal error C1083: Cannot open iclude file:'iostrea c:\Program Files\Torque...\lib\opengl2d3d\gllist.h
Fatal error C1083: Cannot open include file:'iostrea c:\ Program Files\Torque...\lib\opengl2d3d\gllist.h
error C2248:'SimObject::Parent' :cannot access pr c:\Program Files\Torque...\engine\game\banlist.cc
error C2248:'GuiControl::Parent' :Cannot access pr c:\Program Files|Torque...game\guiNoMouseCtrl.cc
error C2248: 'SimObject::Parent': cannot access pr c:\Program Files\Torque...\engine\games\main.cc
error C2248:'NetObject::Parent': cannot access pr c:\Program Files\Torque...\game\net\netTest.cc

Any help will be extremely Apperciated. Trying to create a dirt track racing game. So please Help me out. Thank you again.. Tom

#1
08/08/2004 (5:31 pm)
I think (I don't know because I'm not a programmer) that the problem lies within your Torque Directory. You should probably move it to c:/ because "Program Files" has a space within it.

I almost am positive that this is only for CVS, but I may be right... ;0

Maybe you should try to compile it within MinGW and MSYS (Which worked for me)
#2
08/14/2004 (11:07 am)
Hi, What software is MinGW and MSYS?? Thank you
#3
08/18/2004 (1:37 pm)
Please Someone help me out with this problem. I am getting 6 error. I've finally found what I think is my big problem cuzing those 6 error. In the Torque Demo list item I got 15 project listed I am miss the 16 project: dtsSDK. How can I get The dtsSDK back into the list?? Tom
#4
08/18/2004 (5:11 pm)
Ok, first off, having a space in prgram files affects NEITHER WinCVS or VC++.


Secondly, your problem is you have a borked install of VC++.


"Cannot open iclude file:'iostrea "

find the file "iostrea" or whatever it's full name is on your install disc(most likely in the 'Include' folder) and then drop a copy of it into the same folder of your install. That should solve your problem. The problem has nothing to do with the dtsSDK and it was never a part of your build config in the first place.
#5
08/19/2004 (6:10 am)
Hi Gonzo, Thank for replying to my posted. You said My problem is I have A borked install of VC++.
What Borked insatall mean? So there something missing from VC++ or something wrong with VC++? Wondering If I should reinstall VC++.. cannot open iostream.h Is The full name and it said no such file or directory.
#6
08/19/2004 (6:18 am)
Tom,

are you sure you made a complete checkout from the cvs as it is written in the getting started tutorial? It seems to me that either the code you got is incomplete or your installation of VC.NET is corrupt (as Gonzo mentioned).

Did you install VC.net from the DVD?

What do you mean with you installed the SDK under the VC directory? Did move only parts of the source tree (aka torque directory) to the VC directory or did you move the complete torque dir to the VC dir?

Try to checkout again the HEAD revision from the cvs server, load the workspace file (torquedemo.dsw if I remember correctly) within the VC7 subdirectory of the torque directory and do a "build solution" within VC.net. Is it working then?

Best,
Martin
#7
08/19/2004 (8:48 am)
I'm betting that his problem is the "iostream.h" file did not get copied from his install disc. Just draging and dropping a copy into the correct directory should solve this problem.
#8
08/19/2004 (10:13 am)
Hi Martin, I follow the direction Of the getting started tutorial. I follow the direction on downloading and setting up the CVS too.
I install VC.net from copy of Vc.net.
I found The torquedemo.dsw file and click on it and I get it as nopepad file. I cannt find it in the torque demo project listing. I find 15 project but if you got to torque tutorial you''l find 16 project listing dsSDK project. I thought maybe that was my missing file in Torque cuzing the 6 error.
But now I am confuse by what Gonzo saying and your saying too. From what your both saying it must be inside VC.net that cuzing the problem. Going to check out VC.net cd and see if i can locate the iostream.h file and install it. I'll let you both know what I found out.

Thank Guys.... Tom



P.S Would It Be help if i would send you both a copy of my screen in VC.net to your email? Maybe that get you better idea of what going on....
#9
08/19/2004 (11:14 am)
Hi Conzo, I did what you said. I went To my VC.net cd and found the iostream.h, ok. Now the only problem is Window dont recognized this file.window want to know who created this type of file.On that note I went to my already install VC.net and look in then include folder and found the iostream.h but it was not install and there was file saying iostream and when you click to install it saying the same thing. I am running window XP pro.
Anybody got any idea on how to fix this problem....

Thanks Again Tom
#10
08/19/2004 (11:17 am)
Hi there,

Tom, what did you mean by "Install VC.net" from copy of VC.net? Did you install it via the setup from the CD or did you copy simply the VC folder (maybe from someone else)? I'm asking that "stupid" because the error looks so strange.

Clicking the torquedemo.dsw should NOT open notepad - it should open then in VC.net. That leads me to that your installation of VC is corrupted.

I think it would be best to fully deinstall your VC and then do a fresh installation.

Best,
Martin
#11
08/19/2004 (11:53 am)
Hi Martin, What Mean was I went and click on the iostream.h file on the VC.net install cd and I get Window cannt open and dont recognized that type of file,and you got two choices one let window go online to find it or pick from list of software on your computer and I click on Vc.net and it show up in VC.net.So I guess Window Xp is having problem opening up that file.
So I check out My VC.net on my computer and found The same problem. went I click on that iostream.h file I get box saying window cant open this file.
Also what I mean by clicking on the torquedemo.dsw . It dont say torquedemo.dsw. it say torqueSDk. dsw and when i click on it it take me to notepad.This is in folder v6. In the V6 folder i've got the torque engine files. I can click on torque demo file and it will take me to VC.net.just some will only go to the notepad.
How this make since to you.
About ready to do fully deinstall my VC and then do a fresh installation. But what if it Window XP not recognized the iostream.h files cuzing the whole problem.

Thanks Tom
#12
08/20/2004 (9:17 am)
Hi Conzo And Martin, I unstall Visual studio.net and Then reinstall it again. The problem is still there. Window Xp pro will not open every file in the include folder.When you click on those unopen files window will tell you that They are unable to open that file up.
Anybody got any ideas on how to fix this problem. As it stand now I have wasted $100 on torque game sdk.until I get the fix I wont beable to use torque engine:(


Thanks Tom
#13
08/20/2004 (10:14 am)
Try this:
1) Open VS.NET up
2) Goto File->Open Solution and browse to /vc7/Torque SDK.sln and hit Open
3) Goto Build->Build Torque Demo
#14
08/20/2004 (11:27 am)
Hi Matthew, Thank for reply to my posted. I did what you said,but only found Torque SDK.sln not /vc7/Torque SDK.sln. What should I try now?
Thanks Tom
#15
08/20/2004 (12:24 pm)
Do you have any of these directories in the folder you downloaded Torque too?

www.rustycode.com/matt/torque_dirs.jpg
#16
08/20/2004 (2:03 pm)
HI Matt. I got everything except the following. CVS install_build VC7 changelog txt
Makefile. Plus dont have C:\Data\CVS\torque_head_8_17_04. What Window is that? I running Window XP pro...
#17
08/20/2004 (2:05 pm)
CVS

Install_build

VC7

changelog txt

Makefile
#18
08/20/2004 (8:52 pm)
C:\Data\CVS\torque_head_8_17_04 is just where I stored TGE when I dld'ed it. I am also on WinXP Pro with VS.NET 2003

If you don't have those files then it looks like you have a corrupt download of TGE. You need to re-download it again.
#19
08/21/2004 (4:39 am)
Hi Matt, I found another folder of torque that has everything except CVS.......... install_build ...... has vc6 not vc7. Ok you said i have corrupt download of tge. Ok do you mean i need to get another complete different download from Torque web site? I have it copy on cd ,but worry that it maybe also corrupt.Do you think they will let me get another download cuz of this problem..

Also Could I get you to do me a favor. Go to your vc7 folder in VS.net2003 and click on the Vc7 and then click on include folder.Ok are all of your files open up? Like your iostream file? Why i am asking some file are open and other arent.I try to type in code with iostream and i get a error saying no such file or directory.


I really do apperciate your helping me out. Thanks Tom
#20
08/21/2004 (8:00 am)
I got it to work. it was the missing iostream.h file.I install my visual C++.net and Torque Build success.I click on vc7 folder the went to the include folder click on it and iostream.h file was open up in the visual C++.net.Now since the visual c++.net on my computer too the Visual studio.net 2003 also build success the Torque too. Now I can create the dirt track and start testing my dirt car as they get built... Thanks To everyone who post their Thought and help. I really do appercioate all your help. Thanks Guys Tom