Having trouble, plzplz help

Problems building or running the engine, queries about how to use features etc.
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Having trouble, plzplz help

Post by WanabeCoder »

Erm.. I followed your tutorial.. and when I try to compile the program.. it gives me this error

c:\documents and settings\steve\desktop\ogrenew\ogremain\include\ogrestdheaders.h(30) : fatal error C1083: Cannot open include file: 'hash_set': No such file or directory


(Im using microsoft visual c++ 6.0 standard)
Can you plz tell me why?

Edit: and help me fix it >.>

Code: Select all

Deleting intermediate files and output files for project 'Space - Win32 Debug'.
--------------------Configuration: Space - Win32 Debug--------------------
Compiling...
SkyPlane.cpp
c:\documents and settings\steve\desktop\ogrenew\ogremain\include\ogrestdheaders.h(30) : fatal error C1083: Cannot open include file: 'hash_set': No such file or directory
Error executing cl.exe.

Space.exe - 1 error(s), 0 warning(s)
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

Shoot! Sorry, I read the "read before posting" thing after I posted.
sorryyyyy

Edit : Hey wtf, I followed your install instructions for stlport and it didnt work.. I dont have a \lib folder.. >.>

Erm.. new compilation problem

Code: Select all

--------------------Configuration: Space - Win32 Debug--------------------
Compiling...
SkyPlane.cpp
c:\stlport-4.6.2\stlport\stl\type_traits.h(361) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
Error executing cl.exe.

Space.exe - 1 error(s), 0 warning(s)
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8

Post by haffax »

You should have read "Things to check before posting here", too. ;) Then you'd know about this forum's search function. The internal heap limit problem has been topic of numerous threads.
Anyway, you'll find more in this thread.

As to your STLPort problem: The lib directory is created by nmake during the build process. If STLPort got successfully built, the lib directory is there. Maybe you missed a step or something. So just try again and stick to the description. If it doesn't work, please post a more detailed description of the steps you undertook and about your STLPort-Version.
team-pantheon programmer
creators of Rastullahs Lockenpracht
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

Ok (thanks).
First, I opened up the DOS console..
Then I went to C:\STLport-4.6.2
Then I typed in (with quotations)

Code: Select all

 "C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat" nmake -f vc6.mak clean all
All it did was exec ute vcvars32.bat.. it didnt pick up the nmake..
User avatar
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark

Post by DWORD »

It should be on two lines:

Code: Select all

"C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat"
nmake -f vc6.mak clean all
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

Gotcha.
vc6.mak not found. :?: :?: :?:

Code: Select all

NMAKE : fatal error U1052: file 'vc6.mak' not found
Stop.
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8

Post by haffax »

This is, because you are in the wrong directory. It is C:\STLport-4.6.2\src. You missed the src at the end.
team-pantheon programmer
creators of Rastullahs Lockenpracht
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

D'oh :oops:

Thanks, you just keep on helping <3
Never leave these forums!

Onoes it worked :O
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

*disappointed sigh*

Code: Select all

Deleting intermediate files and output files for project 'Space - Win32 Debug'.
--------------------Configuration: Space - Win32 Debug--------------------
Compiling...
SkyPlane.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "OGREMain.LIB"
Error executing link.exe.

Space.exe - 1 error(s), 0 warning(s)
:(
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia

Post by monster »

you haven't compiled Ogre
WanabeCoder
Kobold
Posts: 26
Joined: Sun Jan 09, 2005 11:04 pm

Post by WanabeCoder »

How do I compile ogre?
>_________________>
(step by step please >.>)
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia

Post by monster »

User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8

Post by haffax »

Not really talkative today, monster. ;)

@WanabeCoder:
Perform a Batch Build for all the projects. The dependencies should ensure everything is built in the right order.
This is the key sentence.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia

Post by monster »

green is the new black
succinctness is the new verbosity