Cannot open .zip file ?!

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
LordMyth
Gremlin
Posts: 181
Joined: Thu Jan 06, 2005 10:19 pm
Location: Belgium
Contact:

Cannot open .zip file ?!

Post by LordMyth »

This is the console output I get:

Code: Select all

Creating resource group General
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
Loading library libOgrePlatform.so
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DevIL version: Developer's Image Library (DevIL) 1.6.7 Feb 10 2005
DevIL image formats: bmp dib cut dcx dds gif hdr ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bwrgb rgba tga vda icb vst tif tiff wal xpm raw
Registering ResourceManager for type HighLevelGpuProgram
plugins.cfg not found, automatic plugin loading disabled.
*-*-* OGRE Initialising
*-*-* Version 1.1.0 (Dagon)
Creating resource group Bootstrap
Termination handler: uncaught exception!
*-*-* OGRE Shutdown
                tick...*** ERROR: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: ZipArchive::checkZzipError
Description: Media/packs/OgreCore.zip - error whilst opening archive: Unable to read zip file..
File: OgreZip.cpp
Line: 254
Stack unwinding: <<beginning of stack>>
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Unregistering ResourceManager for type Material
Unloading library libOgrePlatform.so
What's wrong?
Have a kiss from me!
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB
User avatar
LordMyth
Gremlin
Posts: 181
Joined: Thu Jan 06, 2005 10:19 pm
Location: Belgium
Contact:

Post by LordMyth »

I found the problem: the resources.cfg file needs to be in the current directory...
Have a kiss from me!
Gentoo Linux on AMD64 3200+
NForce4 Chipset
Dual Channel DDR 2x512MB
PCX 16 GeForce 6600 256MB
BlastMan
Gnoblar
Posts: 4
Joined: Wed Feb 16, 2005 5:08 pm

Post by BlastMan »

Could you tell me in WHICH directory especially I have to put resources.cfg ?

I have the same problem... :mrgreen:

Thanks
AMD Dual Opteron Workstation
GeForce FX 5600 256 DDR
160Gb Hard Disk
10/100/1000 LAN
User avatar
IFASS
Gnome
Posts: 387
Joined: Tue Jan 04, 2005 12:07 pm
Location: Netherlands

Post by IFASS »

BlastMan wrote:Could you tell me in WHICH directory especially I have to put resources.cfg ?

I have the same problem... :mrgreen:

Thanks
same as the .exe file (afaik)
Image
BlastMan
Gnoblar
Posts: 4
Joined: Wed Feb 16, 2005 5:08 pm

Post by BlastMan »

Ok, it's good, but now there is a new error :

Code: Select all

18:20:27: Creating resource group General
18:20:27: Registering ResourceManager for type Material
18:20:27: Registering ResourceManager for type Mesh
18:20:27: Registering ResourceManager for type Skeleton
18:20:27: Loading library OgrePlatform_d.dll
18:20:27: OverlayElementFactory for type Panel registered.
18:20:27: OverlayElementFactory for type BorderPanel registered.
18:20:27: OverlayElementFactory for type TextArea registered.
18:20:27: Registering ResourceManager for type Font
18:20:27: ArchiveFactory for archive type FileSystem registered.
18:20:27: ArchiveFactory for archive type Zip registered.
18:20:27: DevIL version: Developer's Image Library (DevIL) 1.6.5
18:20:27: DevIL image formats: bmp dib cut dcx dds gif ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw 
18:20:27: Registering ResourceManager for type HighLevelGpuProgram
18:20:27: Loading library plugins\RenderSystem_Direct3D9
18:20:27: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: DynLib::load
Description: Could not load dynamic library plugins\RenderSystem_Direct3D9.  System Error: Le module spécifié est introuvable.

. 
File: c:\ogre\ogrenew\ogremain\src\ogredynlib.cpp
Line: 80
Stack unwinding: DynLib::load(..) <- <<beginning of stack>>
What is the problem ?
AMD Dual Opteron Workstation
GeForce FX 5600 256 DDR
160Gb Hard Disk
10/100/1000 LAN
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

The D3D9 rendersystem DLL is not where your plugins.cfg says it is.
BlastMan
Gnoblar
Posts: 4
Joined: Wed Feb 16, 2005 5:08 pm

Post by BlastMan »

Thanks for all ! It's good !

But now (yes, an another problem lol), no file is missing, there is an execution error (sorry it's in french) :

Code: Select all

Exception de première chance à 0x00d4a575 dans MyProg.exe:0xC0000005: Violation d'accès lors de la lecture de l'emplacement 0x0000000c.
Exception non gérée à 0x00d4a575 dans MyProg.exe:0xC0000005: Violation d'accès lors de la lecture de l'emplacement 0x0000000c.
Le programme '[2616] MyProg.exe: Natif' s'est arrêté avec le code 128 (0x80).
And I can't continue tu execute my prog...

Please Help.

Thanks
AMD Dual Opteron Workstation
GeForce FX 5600 256 DDR
160Gb Hard Disk
10/100/1000 LAN
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

That's an access violation (accessing an invalid pointer most likely) in your app. You'll need to debug it, we can't do that for you - if you post a stack trace we might be able to give you hints.
BlastMan
Gnoblar
Posts: 4
Joined: Wed Feb 16, 2005 5:08 pm

Post by BlastMan »

Yes, I see what you mean... It's because I am doing the tutorial "Humble Beginnings Tutorial", and the program "SkyBox" made this error, and the next program in the tutorial do the same one !!!

Well, it's probably a problem about my settings or somethings like that...
AMD Dual Opteron Workstation
GeForce FX 5600 256 DDR
160Gb Hard Disk
10/100/1000 LAN
Post Reply