Help with FONT not found

nikhil

02-10-2006 22:43:42

hi all

I'm tryin to get the OgreNewt tutorial (http://ogre3d.org/wiki/index.php/Newton_Game_Dynamics) to work .. after spending many hours i'm stukk at this error and i'm not able to move past it..

I can make a successful build, its just that when i run the executable i get the error:-
Error #: 7
Function: TextAreaOverlayElement::setFontName
Description: Could not find font BlueHighway.
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogretextareaoverlayelement.cpp
Line: 337

I've tried using the OgreCore.zip default pack and the one included with the Tutorial.

I'm using Ogre 1.2.2 and VC++ 8.0 .

Please help..


Regards
nikhil

unclepauly

02-10-2006 22:47:05

does your resource.cfg file point to the media directory in your main Ogre directory or yout OgreNewt directory?


[edit]
and are you using OgreSDK or ogrenew (the source) ?
[/edit]

nikhil

03-10-2006 00:00:38

does your resource.cfg file point to the media directory in your main Ogre directory or yout OgreNewt directory?


[edit]
and are you using OgreSDK or ogrenew (the source) ?
[/edit]


It points to the media of the OgreSDK and i'm using OGRE SDK...

just to clarify its the "Newton Game Dynamics" tutorial on Ogre Wiki i'm nt able to run .. im able to setup (7 of 8) demos accompanying the OgreNewt release

unclepauly

03-10-2006 00:11:55

and does your C:\OgreSDK\media\fonts folder actually have BlueHighway.ttf in it? mine doesnt :o

nikhil

03-10-2006 00:24:47

and does your C:\OgreSDK\media\fonts folder actually have BlueHighway.ttf in it? mine doesnt :o

It has a bluehigh.ttf .. which is the Blue highway font.. i opened it and it said "TYPE FACE NAME: Blue Highway"

..

unclepauly

03-10-2006 00:48:05

oh right, i have neither :? well if changing the file name doesnt help i would get on the ogre forum, they'll probably have the answer straight away

HexiDave

03-10-2006 12:14:06

This is an order problem when loading resources - try moving the OgreCore.zip line in your resources.cfg file from the BootStrap (or whatever it's called) somewhere else - I had this problem constantly with PLSM2 =/

nikhil

03-10-2006 18:20:37

This is an order problem when loading resources - try moving the OgreCore.zip line in your resources.cfg file from the BootStrap (or whatever it's called) somewhere else - I had this problem constantly with PLSM2 =/

Hi

tried this also.. moved "Zip=../../media/packs/OgreCore.zip" from "BootStrap" to "General".. but this just doesn't go away..

i then tried this:-
renamed the original OgreCore.zip to OgreCore2.zip and then placed in the OgreCore.zip that came with the tutorial in the "packs" folder.
Then placed this line in the "resource.cfg"
"Zip=../../media/packs/OgreCore2.zip"

though this doesn't work, i get the error:-
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Core/NodeMaterial already exists..
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogreresourcemanager.cpp
Line: 89

And I think that this doesn't mean that i got over the font problem, its just that it never could get to that problem and terminated with this error...

Am i right or not? some1 plz help..

nikhil

08-10-2006 07:27:21

Hi all

i've finally gotten rid of my problem.. it occured coz the font defintion was missin from sample.fontdef .. a frnd of mine ponted it owt.. and was surprised no one on the forums cud figure it owt :P

well i'm into new problems.. slowly findin my way bt..

peace all

unclepauly

08-10-2006 17:31:20

like i say i think you should have gone on the ogre forum, not ogrenewt.

font problems and the like i am sure would have been answered by one of the ogre team.

but glad its sorted.