Cake - I'm Back

betajaen

14-07-2007 19:50:32

Cakebox!



Download via SVN: http://svn.nxogre.org/Branches/cake

Unzip, and copy the folder and the solution file into your NxOgre directory. Either re-compile NxOgre, or copy the NxOgre.dll over into the tutorial directory. You'll need to copy the Ogre and PhysX dll's in there as well, do Debug and Release

Load up the solution and compile. Hopefully if you copied everything right, you'll have a fresh new Cake to play with.


Playing with the Cake

To play with the Cake. You construct your Scene in the "start" method in Cake.cpp:-

void start() {

mWorld = new World("log: html");
mScene = mWorld->createScene("Main", mSceneMgr, "gravity: yes, floor: yes");

for (int i=0;i < 10;i++)
mScene->createBody("cube.1m.mesh", new CubeShape(1), Vector3(0,i + 2.5f,0), "mass: 10");

}



And to adjust the Scene at runtime, you do so via the onFrame method

void onFrame(float deltaTime) {

if (mInputHandler->isKeyDown(OPTION_1) && mTargetActor) {
mTargetActor->addForce(Vector3(NxMath::rand(-1,1), NxMath::rand(-1,1), NxMath::rand(-1,1)) * mTargetActor->getMass() * 50);
}

}


mTargetActor, is the selected Actor.


Playing in the Box

Moving and Selecting
You can select any Actor using the Right Mouse Button. Press and Hold the Left Mouse button for that Actor to move towards the direction of where you are clicking.

To Spawn an object.
Make sure no Actor is selected. Wiggle the mouse wheel, and scroll up to Bodies. Select which Mesh you want to use with the Left mouse button. Place the Body anywhere in the Scene (and even on top of existing Actors) with the Left Mouse button. To adjust any of the properties (from left to right: Rotation, Scale, Material, Create). Use the mouse wheel to change them. To only scale or rotate in one direction. Left click on either rotation or scale(depeding on what you want to do), and it cycles through each axis (X,Y,Z, and all). Use the mouse wheel again to adjust. To change the material of the Actor, use the mouse wheel on "M" to cycle through the available textures.

Finally to create your masterpiece. Press the + symbol to create the actor. It'll behave exactly like the other actors in the world.

Other bits
- Cloths can be selected and moved as well.
- You can use your own meshes in Sandbox, the black outline will adjust to it.
- You can adjust the render properties in the file "config.yaml"

Bugs and feature requests

Please keep them all in here - please.

asafdav2

14-07-2007 20:24:49

first thank you :D
it compiled fine, but when trying to run in debug i'm getting

NxOgre::PhysXDriverParams::parse#57 (3)
This function called contains no or little code.
NxOgre::PhysXDriver::PhysXDriver#83 (3)
NxOgre NxOgre 0.9-28.Debug'I Heart NxOgre'
NxOgre::PhysXDriver::_createSDK#231 (2)
Unable to start the PhysX SDK!

Possible problems:

1. Do you have the SystemSoftware.exe installed?
http://www.ageia.com/drivers/


2. Does the System software support the NxOgre version you have?
PhysX DLL version: 2.7.2


3. Are you using the latest version of NxOgre?
NxOgre 0.9-28.Debug
Most recent versions are at http://get.nxogre.org/



Version information:
- PhysX => 2.7.2
- NxOgre => NxOgre 0.9-28.Debug
- Ogre => 1.5.0 'Shoggoth'.
- Platform => Windows Debug

NxOgre::World::shutdown#65 (3)
NxOgre shutting down.
NxOgre::Container<class std::basic_string<char,struct std::char_traits<char>,cla
ss std::allocator<char> >,class NxOgre::Scene *>::dumpToConsole#158 (3)
Dump of Container:-> Identifier type = class std::basic_string<char,struct std::
char_traits<char>,class std::allocator<char> >
-> Data Type = class NxOgre::Scene *


Done, 0 item(s).


my systemSoftware ver is 7.0.1.12. i'm currently downloading 7.06.25 from ageia so i hope it'll help
everything else seem to be ok...

edit: yea, it solved the problem :P


and a small question: in cake.h , line 30-31 theres
class Cake;
class Cake;
is it on purpose ?

betajaen

14-07-2007 20:52:58

Cake, is so good. I defined it twice ;)

ncomputerm4

15-07-2007 03:17:30

Recompiled Ogre with 1.4.3, debug and rel.
physx 2.7.0
driver 7.06.25

Heres the Ogre.log:


20:59:20: Creating resource group General
20:59:20: Creating resource group Internal
20:59:20: Creating resource group Autodetect
20:59:20: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:59:20: Registering ResourceManager for type Material
20:59:20: Registering ResourceManager for type Mesh
20:59:20: Registering ResourceManager for type Skeleton
20:59:20: MovableObjectFactory for type 'ParticleSystem' registered.
20:59:20: OverlayElementFactory for type Panel registered.
20:59:20: OverlayElementFactory for type BorderPanel registered.
20:59:20: OverlayElementFactory for type TextArea registered.
20:59:20: Registering ResourceManager for type Font
20:59:20: ArchiveFactory for archive type FileSystem registered.
20:59:20: ArchiveFactory for archive type Zip registered.
20:59:20: FreeImage version: 3.9.2
20:59:20: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:59:20: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
20:59:20: DDS codec registering
20:59:20: Registering ResourceManager for type HighLevelGpuProgram
20:59:20: Registering ResourceManager for type Compositor
20:59:20: MovableObjectFactory for type 'Entity' registered.
20:59:20: MovableObjectFactory for type 'Light' registered.
20:59:20: MovableObjectFactory for type 'BillboardSet' registered.
20:59:20: MovableObjectFactory for type 'ManualObject' registered.
20:59:20: MovableObjectFactory for type 'BillboardChain' registered.
20:59:20: MovableObjectFactory for type 'RibbonTrail' registered.
20:59:20: *-*-* OGRE Initialising
20:59:20: *-*-* Version 1.4.3 (Eihort)
20:59:20: Creating resource group Bootstrap
20:59:20: Added resource location 'Media/Essential/Boot/' of type 'FileSystem' to resource group 'Bootstrap'
20:59:20: Added resource location 'Media/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/Essential/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/Essential/BetaGUI/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/Essential/BetaGUIExtended/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/Essential/Fonts/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/SimpleMeshes/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/ComplexMeshes/' of type 'FileSystem' to resource group 'General'
20:59:20: Added resource location 'Media/Env/' of type 'FileSystem' to resource group 'General'
20:59:20: Loading library RenderSystem_Direct3D9_d
20:59:20: Installing plugin: D3D9 RenderSystem
20:59:20: D3D9 : Direct3D9 Rendering Subsystem created.
20:59:20: D3D9: Driver Detection Starts
20:59:20: D3D9: Driver Detection Ends
20:59:20: Plugin successfully installed
20:59:20: Loading library RenderSystem_GL_d
20:59:20: Installing plugin: GL RenderSystem
20:59:20: OpenGL Rendering Subsystem created.
20:59:21: Plugin successfully installed
20:59:21: Loading library Plugin_ParticleFX_d
20:59:21: Installing plugin: ParticleFX
20:59:21: Particle Emitter Type 'Point' registered
20:59:21: Particle Emitter Type 'Box' registered
20:59:21: Particle Emitter Type 'Ellipsoid' registered
20:59:21: Particle Emitter Type 'Cylinder' registered
20:59:21: Particle Emitter Type 'Ring' registered
20:59:21: Particle Emitter Type 'HollowEllipsoid' registered
20:59:21: Particle Affector Type 'LinearForce' registered
20:59:21: Particle Affector Type 'ColourFader' registered
20:59:21: Particle Affector Type 'ColourFader2' registered
20:59:21: Particle Affector Type 'ColourImage' registered
20:59:21: Particle Affector Type 'ColourInterpolator' registered
20:59:21: Particle Affector Type 'Scaler' registered
20:59:21: Particle Affector Type 'Rotator' registered
20:59:21: Particle Affector Type 'DirectionRandomiser' registered
20:59:21: Particle Affector Type 'DeflectorPlane' registered
20:59:21: Plugin successfully installed
20:59:21: Loading library Plugin_OctreeSceneManager_d
[b]20:59:22: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Plugin_OctreeSceneManager_d. System Error: The specified procedure could not be found.

in DynLib::load at h:\game files\ogrenew\ogremain\src\ogredynlib.cpp (line 80)[/b]


Any ideas?

PS
Thanks for the Release even if I don't know how to use it yet lol :lol:

asafdav2

15-07-2007 04:16:22

you need to place the plugin_*.dll files in the tutorial dir as well (also the cg.dll)

ncomputerm4

15-07-2007 04:29:48

Just copied all the dlls from the ogre folder same error :(

In the log file it says has the error this is the code from that file:


m_hInst = (DYNLIB_HANDLE)DYNLIB_LOAD( name.c_str() );

if( !m_hInst )
OGRE_EXCEPT(
Exception::ERR_INTERNAL_ERROR,
"Could not load dynamic library " + mName +
". System Error: " + dynlibError(),
"DynLib::load" ); <-- line 80
}


Don't know if that helps anything

Edit:
22:48:07: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library RenderSystem_Direct3D9_d. System Error: The specified procedure could not be found.

in DynLib::load at h:\game files\ogrenew\ogremain\src\ogredynlib.cpp (line 80)

yet RenderSystem_Direct3D9_d.dll is in the folder with the exe :?

betajaen

15-07-2007 12:42:06

Very Puzzling. Just to clarify your directory structure is just like the following:


ncomputerm4

15-07-2007 16:44:42

I looked at the files and some of your dlls are diffent in size, I'm I using the wrong Ogre?

Heres a screen shot

betajaen

15-07-2007 17:45:08

I cannot see your image, I am getting a forbidden message. Anyway, I would expect we are using different versions of Ogre. I believe I'm working with 1.4.2. It doesn't matter to much anyway.

Does the Ogre samples or any program that uses Ogre work with you?

ncomputerm4

16-07-2007 00:19:32

http://www.filebunker.net/a/displayimage.php?pos=-12718
Not sure why the image did not work,
The samples work fine... Can you try sending me the dlls you used so I can rule out something other than ogre or nxogre?

betajaen

16-07-2007 00:44:01

It's most likely Ogre, can you check to see if your environmental variable for OGRE_HOME matches the same directory as your Eihort 1.4.3 directory?

ncomputerm4

16-07-2007 02:08:24

Just Removed and re-set it same error, :-/

I noticed its a plugin dll for release mode and a render dll for debug, I think I'll try downgrading to 1.4.2 and see if that helps anything.

Edit:
I don't see anywhere to get 1.4.2 anymore, does 1.4.0 work?

Edit:
Ok using the SDK dlls now and the window opens but crashed right after with a send to microsoft error
Heres the log

22:08:57: Creating resource group General
22:08:57: Creating resource group Internal
22:08:57: Creating resource group Autodetect
22:08:57: SceneManagerFactory for type 'DefaultSceneManager' registered.
22:08:57: Registering ResourceManager for type Material
22:08:57: Registering ResourceManager for type Mesh
22:08:57: Registering ResourceManager for type Skeleton
22:08:57: MovableObjectFactory for type 'ParticleSystem' registered.
22:08:57: OverlayElementFactory for type Panel registered.
22:08:57: OverlayElementFactory for type BorderPanel registered.
22:08:57: OverlayElementFactory for type TextArea registered.
22:08:57: Registering ResourceManager for type Font
22:08:57: ArchiveFactory for archive type FileSystem registered.
22:08:57: ArchiveFactory for archive type Zip registered.
22:08:57: FreeImage version: 3.9.2
22:08:57: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
22:08:57: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
22:08:57: DDS codec registering
22:08:57: Registering ResourceManager for type HighLevelGpuProgram
22:08:57: Registering ResourceManager for type Compositor
22:08:57: MovableObjectFactory for type 'Entity' registered.
22:08:57: MovableObjectFactory for type 'Light' registered.
22:08:57: MovableObjectFactory for type 'BillboardSet' registered.
22:08:57: MovableObjectFactory for type 'ManualObject' registered.
22:08:57: MovableObjectFactory for type 'BillboardChain' registered.
22:08:57: MovableObjectFactory for type 'RibbonTrail' registered.
22:08:57: *-*-* OGRE Initialising
22:08:57: *-*-* Version 1.4.3 (Eihort)
22:08:57: Creating resource group Bootstrap
22:08:57: Added resource location 'Media/Essential/Boot/' of type 'FileSystem' to resource group 'Bootstrap'
22:08:57: Added resource location 'Media/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/Essential/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/Essential/BetaGUI/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/Essential/BetaGUIExtended/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/Essential/Fonts/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/SimpleMeshes/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/ComplexMeshes/' of type 'FileSystem' to resource group 'General'
22:08:57: Added resource location 'Media/Env/' of type 'FileSystem' to resource group 'General'
22:08:57: Loading library RenderSystem_Direct3D9
22:08:57: Installing plugin: D3D9 RenderSystem
22:08:57: D3D9 : Direct3D9 Rendering Subsystem created.
22:08:57: D3D9: Driver Detection Starts
22:08:57: D3D9: Driver Detection Ends
22:08:57: Plugin successfully installed
22:08:57: Loading library RenderSystem_GL
22:08:57: Installing plugin: GL RenderSystem
22:08:57: OpenGL Rendering Subsystem created.
22:08:58: Plugin successfully installed
22:08:58: Loading library Plugin_ParticleFX
22:08:58: Installing plugin: ParticleFX
22:08:58: Particle Emitter Type 'Point' registered
22:08:58: Particle Emitter Type 'Box' registered
22:08:58: Particle Emitter Type 'Ellipsoid' registered
22:08:58: Particle Emitter Type 'Cylinder' registered
22:08:58: Particle Emitter Type 'Ring' registered
22:08:58: Particle Emitter Type 'HollowEllipsoid' registered
22:08:58: Particle Affector Type 'LinearForce' registered
22:08:58: Particle Affector Type 'ColourFader' registered
22:08:58: Particle Affector Type 'ColourFader2' registered
22:08:58: Particle Affector Type 'ColourImage' registered
22:08:58: Particle Affector Type 'ColourInterpolator' registered
22:08:58: Particle Affector Type 'Scaler' registered
22:08:58: Particle Affector Type 'Rotator' registered
22:08:58: Particle Affector Type 'DirectionRandomiser' registered
22:08:58: Particle Affector Type 'DeflectorPlane' registered
22:08:58: Plugin successfully installed
22:08:58: Loading library Plugin_OctreeSceneManager
22:08:58: Installing plugin: Octree & Terrain Scene Manager
22:08:58: Plugin successfully installed
22:08:58: Loading library Plugin_CgProgramManager
22:08:58: Installing plugin: Cg Program Manager
22:08:58: Plugin successfully installed
22:08:58: D3D9 : RenderSystem Option: Full Screen = NO
22:08:58: D3D9 : RenderSystem Option: VSync = Yes
22:08:58: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
22:08:58: D3D9 : RenderSystem Option: Anti aliasing = Level 0
22:08:58: CPU Identifier & Features
22:08:58: -------------------------
22:08:58: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 Processor 3200+
22:08:58: * SSE: yes
22:08:58: * SSE2: yes
22:08:58: * SSE3: yes
22:08:58: * MMX: yes
22:08:58: * MMXEXT: yes
22:08:58: * 3DNOW: yes
22:08:58: * 3DNOWEXT: yes
22:08:58: * CMOV: yes
22:08:58: * TSC: yes
22:08:58: * FPU: yes
22:08:58: * PRO: yes
22:08:58: * HT: no
22:08:58: -------------------------
22:08:58: D3D9 : Subsystem Initialising
22:08:58: D3D9RenderSystem::createRenderWindow "Powered by NxOgre", 1024x768 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=true
22:08:59: D3D9 : Created D3D9 Rendering Window 'Powered by NxOgre' : 1024x768, 32bpp
22:08:59: Registering ResourceManager for type Texture
22:08:59: Registering ResourceManager for type GpuProgram
22:08:59: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
22:08:59: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
22:08:59: D3D9: Vertex texture format supported - PF_FLOAT32_R
22:08:59: RenderSystem capabilities
22:08:59: -------------------------
22:08:59: * Hardware generation of mipmaps: yes
22:08:59: * Texture blending: yes
22:08:59: * Anisotropic texture filtering: yes
22:08:59: * Dot product texture operation: yes
22:08:59: * Cube mapping: yes
22:08:59: * Hardware stencil buffer: yes
22:08:59: - Stencil depth: 8
22:08:59: - Two sided stencil support: yes
22:08:59: - Wrap stencil values: yes
22:08:59: * Hardware vertex / index buffers: yes
22:08:59: * Vertex programs: yes
22:08:59: - Max vertex program version: vs_3_0
22:08:59: * Fragment programs: yes
22:08:59: - Max fragment program version: ps_3_0
22:08:59: * Texture Compression: yes
22:08:59: - DXT: yes
22:08:59: - VTC: no
22:08:59: * Scissor Rectangle: yes
22:08:59: * Hardware Occlusion Query: yes
22:08:59: * User clip planes: yes
22:08:59: * VET_UBYTE4 vertex element type: yes
22:08:59: * Infinite far plane projection: yes
22:08:59: * Hardware render-to-texture: yes
22:08:59: * Floating point textures: yes
22:08:59: * Non-power-of-two textures: yes
22:08:59: * Volume textures: yes
22:08:59: * Multiple Render Targets: 4
22:08:59: * Point Sprites: yes
22:08:59: * Extended point parameters: yes
22:08:59: * Max Point Size: 8192
22:08:59: * Vertex texture fetch: yes
22:08:59: - Max vertex textures: 4
22:08:59: - Vertex textures shared: no
22:08:59: ***************************************
22:08:59: *** D3D9 : Subsystem Initialised OK ***
22:08:59: ***************************************
22:08:59: ResourceBackgroundQueue - threading disabled
22:08:59: Particle Renderer Type 'billboard' registered
22:08:59: SceneManagerFactory for type 'OctreeSceneManager' registered.
22:08:59: SceneManagerFactory for type 'TerrainSceneManager' registered.
22:08:59: Creating viewport on target 'Powered by NxOgre', rendering from camera 'Main', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
22:08:59: Viewport for camera 'Main', actual dimensions L: 0 T: 0 W: 1024 H: 768
22:08:59: Parsing scripts for resource group Autodetect
22:08:59: Finished parsing scripts for resource group Autodetect
22:08:59: Parsing scripts for resource group Bootstrap
22:08:59: Parsing script boot.material
22:08:59: Parsing script gui.material
22:08:59: Parsing script nx.bodyguide.material
22:08:59: Finished parsing scripts for resource group Bootstrap
22:08:59: Parsing scripts for resource group General
22:08:59: Parsing script widgets.material
22:08:59: Parsing script bgui.material
22:08:59: Parsing script editor.material.material
22:08:59: Parsing script nxbgui.material
22:08:59: Parsing script capsule.prefix.material
22:08:59: Parsing script convex.prefix.material
22:08:59: Parsing script cube.prefix.material
22:08:59: Error in material nx.cube.shadows at line 17 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
22:08:59: Error in material nx.cube.shadows at line 49 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
22:08:59: Parsing script hilight.material
22:08:59: Parsing script nx.block.material
22:08:59: Parsing script nx.convex2.material
22:08:59: Parsing script nx.sphere.material
22:08:59: Parsing script nx.tube.material
22:08:59: Parsing script racecar.material
22:08:59: Parsing script sandbox.material
22:08:59: Parsing script sphere.prefix.material
22:08:59: Parsing script wheel50cmx10cmx50cm.material
22:08:59: Parsing script cloth.material
22:08:59: Parsing script nx.floor.material
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 16 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 36 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 39 of nx.floor.material: Invalid shadow_receiver_vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 44 of nx.floor.material: Invalid fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 47 of nx.floor.material: Invalid shadow_receiver_fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
22:08:59: Error in material Gile[s]_nx.floor2.shadows at line 62 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
22:08:59: Parsing script MgOpenAsBitmap.fontdef
22:08:59: Parsing script MgOpenAsNxOgreFont.fontdef
22:08:59: Finished parsing scripts for resource group General
22:08:59: Parsing scripts for resource group Internal
22:08:59: Finished parsing scripts for resource group Internal
22:08:59: Mesh: Loading nx.floor.mesh.
22:08:59: Texture: nx.floor.png: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
22:08:59: Texture: nx.floor.shadowalpha.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
22:08:59: Mesh: Loading nx.body.axis.mesh.
22:08:59: Texture: arrow1.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name bg.mp not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,24x24x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,24x24x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.mm.png: Loading 1 faces(PF_A8R8G8B8,64x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x128x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.mm.bodies.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0c0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.mm.joints.png: Loading 1 faces(PF_A8R8G8B8,51x20x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x20x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1c1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.mm.fx.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2c2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.create.png: Loading 1 faces(PF_A8R8G8B8,128x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x256x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: icon.cube.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3c3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Font nxogrefontusing texture size 512x256
22:08:59: Info: Freetype returned null for character 127 in font nxogrefont
22:08:59: Info: Freetype returned null for character 128 in font nxogrefont
22:08:59: Info: Freetype returned null for character 129 in font nxogrefont
22:08:59: Info: Freetype returned null for character 130 in font nxogrefont
22:08:59: Info: Freetype returned null for character 131 in font nxogrefont
22:08:59: Info: Freetype returned null for character 132 in font nxogrefont
22:08:59: Info: Freetype returned null for character 133 in font nxogrefont
22:08:59: Info: Freetype returned null for character 134 in font nxogrefont
22:08:59: Info: Freetype returned null for character 135 in font nxogrefont
22:08:59: Info: Freetype returned null for character 136 in font nxogrefont
22:08:59: Info: Freetype returned null for character 137 in font nxogrefont
22:08:59: Info: Freetype returned null for character 138 in font nxogrefont
22:08:59: Info: Freetype returned null for character 139 in font nxogrefont
22:08:59: Info: Freetype returned null for character 140 in font nxogrefont
22:08:59: Info: Freetype returned null for character 141 in font nxogrefont
22:08:59: Info: Freetype returned null for character 142 in font nxogrefont
22:08:59: Info: Freetype returned null for character 143 in font nxogrefont
22:08:59: Info: Freetype returned null for character 144 in font nxogrefont
22:08:59: Info: Freetype returned null for character 145 in font nxogrefont
22:08:59: Info: Freetype returned null for character 146 in font nxogrefont
22:08:59: Info: Freetype returned null for character 147 in font nxogrefont
22:08:59: Info: Freetype returned null for character 148 in font nxogrefont
22:08:59: Info: Freetype returned null for character 149 in font nxogrefont
22:08:59: Info: Freetype returned null for character 150 in font nxogrefont
22:08:59: Info: Freetype returned null for character 151 in font nxogrefont
22:08:59: Info: Freetype returned null for character 152 in font nxogrefont
22:08:59: Info: Freetype returned null for character 153 in font nxogrefont
22:08:59: Info: Freetype returned null for character 154 in font nxogrefont
22:08:59: Info: Freetype returned null for character 155 in font nxogrefont
22:08:59: Info: Freetype returned null for character 156 in font nxogrefont
22:08:59: Info: Freetype returned null for character 157 in font nxogrefont
22:08:59: Info: Freetype returned null for character 158 in font nxogrefont
22:08:59: Info: Freetype returned null for character 159 in font nxogrefont
22:08:59: Info: Freetype returned null for character 160 in font nxogrefont
22:08:59: Info: Freetype returned null for character 161 in font nxogrefont
22:08:59: Info: Freetype returned null for character 162 in font nxogrefont
22:08:59: Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: icon.sphere.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4c4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5c5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.edit.png: Loading 1 faces(PF_A8R8G8B8,132x32x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,132x32x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.angle.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6c6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.scale.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7c7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.material.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8c8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
22:08:59: Texture: widget.add.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
22:08:59: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)



Also

The compiler folder when I run the exe its looking for a file in "e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreconfigfile.cpp"
but I'm not using my E:\ drive everything is in "h:\game files"
is there a reg key I need to fix?

dudeabot

17-07-2007 17:06:22


Compiling...
Cake.cpp
c:\nxogre\tutorials\compiler\source\cake.h(25) : error C2871: 'NxOgre' : a namespace with this name does not exist
c:\nxogre\tutorials\compiler\source\cake.h(129) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(129) : error C2433: 'Cake::World' : 'virtual' not permitted on data declarations
c:\nxogre\tutorials\compiler\source\cake.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(129) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(129) : warning C4183: 'getWorld': missing return type; assumed to be a member function returning 'int'
c:\nxogre\tutorials\compiler\source\cake.h(131) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(131) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(132) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(132) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(133) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(133) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(134) : error C2146: syntax error : missing ';' before identifier 'mTargetClothVertex'
c:\nxogre\tutorials\compiler\source\cake.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(134) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(234) : error C2061: syntax error : identifier 'World'
c:\nxogre\tutorials\compiler\source\cake.h(243) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(243) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(243) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(244) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(244) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(244) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(262) : error C2061: syntax error : identifier 'World'
c:\nxogre\tutorials\compiler\source\cake.h(268) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(268) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(268) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(268) : warning C4183: 'cast': missing return type; assumed to be a member function returning 'int'
c:\nxogre\tutorials\compiler\source\cake.h(290) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(290) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(290) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(291) : error C2143: syntax error : missing ';' before '*'
c:\nxogre\tutorials\compiler\source\cake.h(291) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(291) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\nxogre\tutorials\compiler\source\cake.h(499) : error C2065: 'mWorldInstance' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(500) : error C2065: 'mTargetActor' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(948) : error C2065: 'World' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(948) : error C2065: 'w' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(948) : error C2448: 'Frosting::preStart' : function-style initializer appears to be a function definition
c:\nxogre\tutorials\compiler\source\cake.h(971) : error C2065: 'mRay' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(971) : error C2541: 'delete' : cannot delete objects that are not pointers
c:\nxogre\tutorials\compiler\source\cake.h(972) : error C2065: 'mClothRay' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(972) : error C2541: 'delete' : cannot delete objects that are not pointers
c:\nxogre\tutorials\compiler\source\cake.h(1049) : error C2065: 'Actor' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(1049) : error C2065: 'a' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(1055) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1056) : error C2227: left of '->getClosestRaycastHit' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1056) : error C2228: left of '.mWorldNormal' must have class/struct/union
c:\nxogre\tutorials\compiler\source\cake.h(1056) : error C2227: left of '->getClosestRaycastHit' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1056) : error C2228: left of '.mWorldImpact' must have class/struct/union
c:\nxogre\tutorials\compiler\source\cake.h(1101) : error C2227: left of '->isDynamic' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1103) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1104) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1104) : error C2227: left of '->hasVisualisation' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1106) : error C2065: 'Body' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(1106) : error C2065: 'b' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(1106) : error C2061: syntax error : identifier 'Body'
c:\nxogre\tutorials\compiler\source\cake.h(1107) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1107) : error C2227: left of '->getName' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1113) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1113) : error C2227: left of '->setRenderQueueGroup' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1117) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1118) : error C2039: 'mTargetCloth' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1122) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1123) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1123) : error C2227: left of '->hasVisualisation' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1124) : error C2061: syntax error : identifier 'Body'
c:\nxogre\tutorials\compiler\source\cake.h(1125) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1125) : error C2227: left of '->setRenderQueueGroup' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1127) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1127) : error C2227: left of '->getName' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1138) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1139) : error C2039: 'mTargetCloth' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1141) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1141) : error C2227: left of '->hasVisualisation' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1143) : error C2061: syntax error : identifier 'Body'
c:\nxogre\tutorials\compiler\source\cake.h(1145) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1145) : error C2227: left of '->getName' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1146) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1146) : error C2227: left of '->setRenderQueueGroup' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1148) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1148) : error C2227: left of '->getName' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1153) : error C2227: left of '->getNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1153) : error C2227: left of '->addChild' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1159) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1159) : error C2227: left of '->clone' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1159) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1159) : error C2227: left of '->getName' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1160) : error C2227: left of '->getEntity' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1160) : error C2227: left of '->setRenderQueueGroup' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1167) : error C2227: left of '->getNode' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1167) : error C2227: left of '->addChild' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1182) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1182) : error C2039: 'mTargetCloth' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1183) : error C2227: left of '->getClosestRaycastHit' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1183) : error C2228: left of '.mWorldNormal' must have class/struct/union
c:\nxogre\tutorials\compiler\source\cake.h(1183) : error C2227: left of '->getClosestRaycastHit' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1183) : error C2228: left of '.mWorldImpact' must have class/struct/union
c:\nxogre\tutorials\compiler\source\cake.h(1184) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1184) : error C2227: left of '->moveTowards' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1184) : error C2039: 'mTargetActor' : is not a member of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(111) : see declaration of 'Cake'
c:\nxogre\tutorials\compiler\source\cake.h(1184) : error C2227: left of '->getMass' must point to class/struct/union/generic type
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2065: 'mScene' : undeclared identifier
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2227: left of '->createBody' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2061: syntax error : identifier 'CubeShape'
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2653: 'NxOgre' : is not a class or namespace name
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2665: 'Ogre::Pose::Pose' : none of the 2 overloads could convert all the argument types
c:\ogresdk\include\ogrepose.h(57): could be 'Ogre::Pose::Pose(Ogre::ushort,const Ogre::String &)'
while trying to match the argument list '(const Ogre::Vector3, const Ogre::Quaternion)'
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2143: syntax error : missing ';' before ')'
c:\nxogre\tutorials\compiler\source\cake.h(1343) : error C2143: syntax error : missing ';' before ')'
c:\nxogre\tutorials\compiler\source\cake.h(1344) : error C2181: illegal else without matching if
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2227: left of '->createBody' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2061: syntax error : identifier 'SphereShape'
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2653: 'NxOgre' : is not a class or namespace name
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2665: 'Ogre::Pose::Pose' : none of the 2 overloads could convert all the argument types
c:\ogresdk\include\ogrepose.h(57): could be 'Ogre::Pose::Pose(Ogre::ushort,const Ogre::String &)'
while trying to match the argument list '(const Ogre::Vector3, const Ogre::Quaternion)'
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2143: syntax error : missing ';' before ')'
c:\nxogre\tutorials\compiler\source\cake.h(1345) : error C2143: syntax error : missing ';' before ')'
c:\nxogre\tutorials\compiler\source\cake.h(1346) : error C2181: illegal else without matching if
c:\nxogre\tutorials\compiler\source\cake.h(1347) : error C2227: left of '->createBody' must point to class/struct/union/generic type
type is ''unknown-type''
c:\nxogre\tutorials\compiler\source\cake.h(1347) : error C2061: syntax error : identifier 'ConvexShape'
c:\nxogre\tutorials\compiler\source\cake.h(1347) : error C2653: 'NxOgre' : is not a class or namespace name
c:\nxogre\tutorials\compiler\source\cake.h(1347) : error C2665: 'Ogre::Pose::Pose' : none of the 2 overloads could convert all the argument types
c:\nxogre\tutorials\compiler\source\cake.h(1347) : fatal error C1003: error count exceeds 100; stopping compilation
Build log was saved at "file://C:\nxogre\tutorials\compiler\debug\BuildLog.htm"
Cakebox - 122 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


any ideas

SCREEN:



im not using the standard configuration, because at first i used the SDK..., and nxogre compiled fine

i tried adding $(OGRE_HOME)\include to the aditional directories, but get the same error

betajaen

17-07-2007 17:28:13

Did you create the environmental variable for "NXOGRE_DIR"?

dudeabot

17-07-2007 18:17:23

yes

i compiled nxogre without much problem

but cant compile cakebox though

betajaen

17-07-2007 19:07:01

Those errors are to do with it not loading the NxOgre.h header. Meaning it can't find the thing.

Are you positive you set up the environmental variable to c:/NxOgre and reset your computer afterwards?

dudeabot

17-07-2007 19:09:17

i noticed it has the "solution" enviroment variable, wasnt it supposed to have the nxogre one?


edit---------------------

ill try your tip =)

thanks

betajaen

17-07-2007 19:25:01

That was going to be my second question. Is the Cakebox solution in c:/nxogre/ next to the NxOgre solution and the tutorials folder within that?

dudeabot

18-07-2007 01:42:18

yes, but the tutorials folder are empty


i still have to compile those tutorials

thats must be the problem :(

Loockas

30-07-2007 18:36:31

I'm getting an error while compiling :?

------ Build started: Project: Cakebox, Configuration: Release Win32 ------
Compiling...
Cake.cpp
c:\nxogre\nxogre\tutorials\compiler\source\Cake.h(951) : error C2248: 'NxOgre::World::mScenes' : cannot access protected member declared in class 'NxOgre::World'
c:\nxogre\nxogre\include\NxOgreWorld.h(209) : see declaration of 'NxOgre::World::mScenes'
c:\nxogre\nxogre\include\NxOgreWorld.h(36) : see declaration of 'NxOgre::World'
Build log was saved at "file://C:\NxOgre\NxOgre\tutorials\compiler\release\BuildLog.htm"
Cakebox - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

betajaen

30-07-2007 19:06:37

Interface change with '33.

I believe it currently goes:

mWorld->mScenes.get(....);

Replace it with:

mWorld->getScenes()->get(....);

Loockas

30-07-2007 19:22:50

Yup, that's it, thanks! Now it compiles and runs fine, except for GUI which is not shown. I guess here is the problem (Ogre.log):
Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: icon.sphere.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4c4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5c5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: widget.edit.png: Loading 1 faces(PF_A8R8G8B8,132x32x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,132x32x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: widget.angle.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6c6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: widget.scale.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7c7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: widget.material.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8c8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
20:17:20: Texture: widget.add.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:17:20: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)

99jonathan

30-07-2007 19:31:39

there is a gui??? lol i didn't even know...

kenny.bsp

31-07-2007 22:54:01

betajaen
could you post all of your env vars and a few screens of ogre and nxogre dir trees ?
I looked thru project properties and they are kinda messy and wrong for me ...
same was with the NxOgre itself, but I corrected everything and it compiles fine.
So now I'm wondering if it's just me.

btw my vars:
NXOGRE_DIR : D:\dev\NxOgre
OGRE_HOME : D:\dev\ogrenew
PHYSX_DIR : C:\Program Files\AGEIA Technologies\AGEIA PhysX SDK\v2.7.0

the closest I got was till the error dudeabot got, will try tomorrow cuz it's late already :D

betajaen

31-07-2007 23:12:36

Your pretty close:

NXOGRE_DIR isn't needed with 0.9
OGRE_HOME -> Z:\Libraries\Ogre\Eihort\ogrenew\OgreMain
PHYSX_DIR -> z:\Libraries\PhysX\

kenny.bsp

31-07-2007 23:28:50


NXOGRE_DIR isn't needed with 0.9

I think I know what's wrong :DDd
I used http://latest.nxogre.org/nxogre/ as URL :DD woopps

kenny.bsp

01-08-2007 19:05:24

Ok, now it all compiles fine without errors ..
But when I open the app it lags for a few secs and crashes.
At first I thought there's something wrong with collision, but even if I remove the box from the scene it crashes.

Ok now I know it occurs only when I move my mouse/Press F1.

betajaen

01-08-2007 19:43:03

That's weird. It only crashes on a mouse move when there is no Scene, or no Scene named "Main" (it's to do with raycasting).

Did you modify it by any chance?

kenny.bsp

01-08-2007 19:51:16

No i didn't... umm
And the box is falling with lags. Keyboard movement is fine btw.

betajaen

01-08-2007 20:01:05

It's getting beyond silly now. I don't understand why it lags for some and not, and the lag being for an overlay which is never called.

vinvin

04-08-2007 13:17:56

I tried to make this cake work, to see if character under linux is ok, but it does not compile, and once fixed, it does not run.
The compilation fix : http://adoc.g0dsoft.com/cake.diff
Basically, the main has to be int and return 0, Vector2 and Vector3 must be preceded by Ogre:: and there is an extra Window:: in BetaGUI.h
I also had to add a plugin.cfg file or else it would not find plugins.

Once compiled I have the following error when I launch it :

Installing plugin: Octree & Terrain Scene Manager
Cake: ../../../OgreMain/include/OgreSingleton.h:66: Ogre::Singleton<T>::Singleton() [with T = Ogre::TerrainPageSourceListenerManager]: Assertion `!ms_Singleton' failed.

Any ideas ?

betajaen

04-08-2007 18:20:12

Comment the lines that load them in Cake.h, Cake doesn't use them anyway.

Thanks for the patch as well. I'll put it in with the next release of Cake.

vinvin

04-08-2007 18:54:43

Thanks betajaen, it now launches.
And it crashes. I guess it crashes at the same place our game crashes. The viewport is created and displayed, I seen a yellow box inside it if I remember right, and I get a segmentation fault. I can't know where exactly because cake has the focus, I can't ask gdb.

betajaen

04-08-2007 19:03:40

You could always do the low-tech method, which I do....Place lots of std::cout's throughout some of the expected code until you find it. It's slow and annoying but it works.

katzenjoghurt

06-08-2007 11:01:16

Hum... NxOgre compiled fine.... it just refused to copy it's dlls into the cakebox folder.

Compiling cakebox it gave me:

------ Erstellen gestartet: Projekt: Cakebox, Konfiguration: Release Win32 ------
Kompilieren...
Cake.cpp
d:\libs\ogresdk 1.4.3\nxogre\nxogre\tutorials\compiler\source\Cake.h(951) : error C2248: "NxOgre::World::mScenes": Kein Zugriff auf protected Member, dessen Deklaration in der NxOgre::World-Klasse erfolgte.
d:\libs\ogresdk 1.4.3\nxogre\nxogre\include\NxOgreWorld.h(209): Siehe Deklaration von 'NxOgre::World::mScenes'
d:\libs\ogresdk 1.4.3\nxogre\nxogre\include\NxOgreWorld.h(36): Siehe Deklaration von 'NxOgre::World'
Das Buildprotokoll wurde unter "file://D:\libs\OgreSDK 1.4.3\NxOgre\NxOgre\tutorials\compiler\release\BuildLog.htm" gespeichert.
Cakebox - 1 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========


=> No access to protected member class mScenes .... :?:

betajaen

06-08-2007 12:49:45

http://www.ogre3d.org/phpBB2addons/view ... 8519#28519

katzenjoghurt

06-08-2007 13:09:46

Ahh... okay! Thx! :D

edit: Compiled and worked! *thumbs up*

Reaction is a bit slow. Don't know if this is intended this way... but it's fun anyway. 8)

vinvin

06-08-2007 19:10:23

I finally could disable ogre keyboard and mouse focus (with the help of daedar).
This is the backtrace:

#0 0xb758a564 in ?? () from /usr/lib/PhysX/v2.7.2/libPhysXCore.so.1
#1 0x080a1300 in ?? ()
#2 0x080a1300 in ?? ()
#3 0xbfadbb08 in ?? ()
#4 0xb7b5e144 in std::deque<unsigned long, std::allocator<unsigned long> >::erase (this=0x3d3c6a7f,
__first=@0xbfadbad8, __last=@0xb7831469)
at /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/deque.tcc:151
#5 0xb765f0b7 in NpCreatePhysicsSDK () from /usr/lib/PhysX/v2.7.2/libPhysXCore.so.1
#6 0xb7831469 in NxOgre::FixedSceneController::Simulate (this=0x8c219c0, deltaTime=0.0460000001)
at source/NxOgreSceneController.cpp:155
#7 0xb7812f7d in NxOgre::Scene::simulate (this=0x8c21ab8, time=0.0460000001)
at source/NxOgreScene.cpp:564
#8 0xb7845626 in NxOgre::World::simulate (this=0x8c21108, time=0.0460000001)
at source/NxOgreWorld.cpp:142
#9 0xb7807ca7 in NxOgre::PhysXDriver::frameStarted (this=0x8c21220, evt=@0xbfadbbb4)
at source/NxOgrePhysXDriver.cpp:263
#10 0xb7b53ca5 in Ogre::Root::_fireFrameStarted (this=0x80a0f58, evt=@0xbfadbbb4) at OgreRoot.cpp:625
#11 0xb7b54346 in Ogre::Root::_fireFrameStarted (this=0x80a0f58) at OgreRoot.cpp:672
#12 0xb7b54382 in Ogre::Root::renderOneFrame (this=0x80a0f58) at OgreRoot.cpp:748
#13 0xb7b54410 in Ogre::Root::startRendering (this=0x80a0f58) at OgreRoot.cpp:741
#14 0x08052535 in Renderer::start (this=0x809bfe0) at Cake.h:721
#15 0x080525a7 in Cake::startRendering (this=0x8096070, t=0x8096070) at Cake.h:505
#16 0x0805762d in main () at Cake.cpp:53

and the lines in your code:

(gdb) up
#5 0xb765f0b7 in NpCreatePhysicsSDK () from /usr/lib/PhysX/v2.7.2/libPhysXCore.so.1
(gdb)
#6 0xb7831469 in NxOgre::FixedSceneController::Simulate (this=0x8c219c0, deltaTime=0.0460000001)
at source/NxOgreSceneController.cpp:155
155 mNxScene->simulate(mTiming_MaxStep - (mTiming_MaxStep - mTiming_CurrentStep));
(gdb)
#7 0xb7812f7d in NxOgre::Scene::simulate (this=0x8c21ab8, time=0.0460000001)
at source/NxOgreScene.cpp:564
564 void Scene::simulate(NxReal time) {
(gdb)
#8 0xb7845626 in NxOgre::World::simulate (this=0x8c21108, time=0.0460000001)
at source/NxOgreWorld.cpp:142
142 (*it).second.t->simulate(time);
(gdb)
#9 0xb7807ca7 in NxOgre::PhysXDriver::frameStarted (this=0x8c21220, evt=@0xbfadbbb4)
at source/NxOgrePhysXDriver.cpp:263
263 mWorld->simulate(evt.timeSinceLastFrame * mTimeModifier);


The summary is that it crashes in NpCreatePhysicsSDK() from the PhysX lib. WDYT betajaen ? Thanks

betajaen

06-08-2007 19:19:16

Crash with NxPhysicsSDK on Windows means the SystemSoftware is not installed, on Linux only God and Ageia knows.

AnonymousTipster

09-08-2007 19:48:46

Noticed a couple of people were mentioning lag, or slowness to react with Cakebox. I noticed this, and the problem is that there's a windowing problem in Ogre if you have DirectX, Windowed and VSynced. If you turn off VSync, the slight lag goes away.

h_ryan503

10-08-2007 19:29:41

My First post!

Anyway....So I can compile Cake with no problems, however everytime I try and run it I get an exception.

Exception:

***************

File Details:

Error #:3
Line: 32719
File: e:\prokects\ogrecvs\branches\eihort_vc8_clean\ogrenew\rendersystems\direct3d9\src\ogred3d9rendersystem.cpp

Error Details:

Function: D3D9RenderSystem::_render
Description: Failed to DrawPrimitive: Invalid Call

***************

I'm using NxOgre 0.9, Ogre 1.4.3, and Physx 2.7, and VS8
Also I have a Intel(R) 82852/82855 GM/GME Graphics Controller ( with updated drivers, in fact I tried 2 different drivers to see if either fixed the problem )

Any help would be nice, thanks!


EDIT:

So I have pretty much tracked down the problem. My graphics card sucks ( as I knew ), and they have yet to come out with drivers that work with DX 9.0c, however i can us openGl so I'm stuck with that for now, but at least it works.

frier

19-08-2007 13:40:05

Anyone successfully implemented joystick into cake?
This works with the controller fine:

if (js.buttonDown(2)){
hopper.ACCELERATE();
}


quick and easy for buttons. just stumped on the axis movement

vinvin

21-08-2007 01:05:58

I finally succeeded to make the Cake not crash on linux. See http://www.ogre3d.org/phpBB2addons/view ... 7&start=45

The new problem is that the keyboard does not seems to be recognized.
After the call
mKeyboard = static_cast<Keyboard*>(mInputManager->createInputObject( OISKeyboard, false ));

mKeyboard equals 0x10, I don't know what it means, except that it couldn't find the keyboard ! (why isn't it simply NULL?).

If I comment out the creation and the use of the keyboard and mouse, I see the yellow box falling on the ground and nothing moves.
If you have any idea, they are welcome :)

betajaen

21-08-2007 09:23:10

Well that's a problem with OIS then.

Aiursrage2k

22-08-2007 01:23:16

I was to bake the cake, but my middle mouse button doesnt work so I was unable to play eat it :cry:

betajaen

22-08-2007 10:34:14

You "wiggle" the mouse wheel up and down for it to work, not press the button. Unless you don't have a mouse wheel. :wink:

vinvin

22-08-2007 23:19:00

Finally, I have the PhysX segfault under linux with NxOgre version 33.
The OIS bug seems to be inexistant, and was a mistake from me.

betajaen

23-08-2007 00:09:43

Does the Segfault appear with previous versions of NxOgre?

betajaen

25-08-2007 12:04:20

Cake 2





Cake2 is obviously the successor to Cake, it will be released with NxOgre 1.0 (or earlier). I've implemented BetaGUI2 into Cake, which is a lot easier to work with and to bind functions to buttons. So a Spawn and Select Actor buttons and windows are always on the screen.

It can also act as a mini-editor for your game or application, using the NxOgre serialiser it can save the entire scene to a file (SceneNode/Entities included), and load them back in again. I'll even supply the loading code for your game. Not bad eh?

Quite a few other things will be added such as joint support, cloth, forcefields, scene editing, materials, and so on. But it will still retain that lovely feel just to hack and try out NxOgre as you want.

#include "Cake2Frosting.h"

using namespace NxOgre;
using namespace Ogre;
using namespace std;

class Sponge_Cake : public Cake {

public:

World* mWorld;
Scene* mScene;

//////////////////////////////////////////////////////////////////////////////////////////////////

void createPhysics() {

mWorld = new World();
mScene = mWorld->createScene("Main", mSceneMgr, "gravity: yes, floor: yes");
mScene->createBody("cube.1m.mesh", new CubeShape(1), Vector3(0,10,0), "mass: 10");

for (int i=0;i < 128;i++)
mScene->createBody("Cube; cube.1m.mesh", new CubeShape(1), Vector3(2,0.5 + i,0), "mass: 10");

}

//////////////////////////////////////////////////////////////////////////////////////////////////

void destroyPhysics() {
delete mWorld;
}

//////////////////////////////////////////////////////////////////////////////////////////////////

void onFrame(float deltaTime) {

}

//////////////////////////////////////////////////////////////////////////////////////////////////

BakeMyCake();

};

Hey_Cut_Me_Slice_Of(Sponge_Cake)



And it's still two/three files!

frier

25-08-2007 15:59:48

Is there an ETA betajaen? and will nxOgre 1.0 support Shoggoth?

Cant wait!

thanks!

-FrieR

betajaen

25-08-2007 18:18:09

Nov 1st and yes it will.

Loockas

27-08-2007 12:20:34

Great job betajean! It'll be awesome to have all the features in one 'playground' sample.

However, returning to the first Cake, I can't manage to get the GUI working, what I have mentioned some time ago here. I haven't touch it recently, nor I get any solution post here. Would you mind looking at it?

betajaen

27-08-2007 12:26:45

I get the same errors in the log with Cake2 unfortunately. I'm using BetaGUI 2.5 though. :?

When I have some I'll investigate BetaGUI2.

Loockas

27-08-2007 12:40:10

Well, these weird errors are not as annoying as the lack of GUI at all. I doubt it doesn't display due to only the sandbox errors..

twilight17

27-08-2007 15:09:37

whenever I try to compile I get this error message:

------ Build started: Project: NxOgre, Configuration: Debug Win32 ------
Linking...
Creating library C:\Documents and Settings\HP_Owner\Desktop\Ogre\Ogre Stuff\NxOgre\NxOgre\\lib\NxOgre_d.lib and object C:\Documents and Settings\HP_Owner\Desktop\Ogre\Ogre Stuff\NxOgre\NxOgre\\lib\NxOgre_d.exp
NxOgrePhysXDriver.obj : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "protected: void __thiscall NxOgre::PhysXDriver::_createSDK(void)" (?_createSDK@PhysXDriver@NxOgre@@IAEXXZ)
C:\Documents and Settings\HP_Owner\Desktop\Ogre\Ogre Stuff\NxOgre\NxOgre\\lib\NxOgre_d.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://C:\Documents and Settings\HP_Owner\Desktop\Ogre\Ogre Stuff\NxOgre\NxOgre\compiler\Windows\Debug\BuildLog.htm"
NxOgre - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I dont know whats wrong, please help?

betajaen

27-08-2007 15:19:17

Sounds like you haven't set up the PlatformSDK properly.

twilight17

27-08-2007 15:55:50

should I download and reinstall the Ageia Drivers And SDK?

thanks for help :wink:

betajaen

27-08-2007 16:19:28

No. Ageia didn't write the Windows Platform SDK, Microsoft did so the PhysX SDK and System software are unrelated.

Did you follow the 5 steps to install the PlatformSDK?

twilight17

27-08-2007 16:22:43

ohhh! The Platform SDK! i have that, now what?

it still shows the same error

betajaen

27-08-2007 16:29:31

Yes. But did you follow the instructions to install it? Specifically the setting up the three directories in your Visual Studio settings.

twilight17

27-08-2007 16:32:24

Yes. But did you follow the instructions to install it? Specifically the setting up the three directories in your Visual Studio settings.

Ohh! thank you so much! I didnt read that :oops:

stupid me

thanks a bunch

Fredrik

29-08-2007 23:22:12

The window opens but crashes when I move the mouse with a send to MS.

And I might be stupid because ncomputerm4 had the same error but i can't seem to find any reply to his post about an answer for the problem.

so here is my log of whats happens
00:10:47: Creating resource group General
00:10:47: Creating resource group Internal
00:10:47: Creating resource group Autodetect
00:10:47: SceneManagerFactory for type 'DefaultSceneManager' registered.
00:10:47: Registering ResourceManager for type Material
00:10:47: Registering ResourceManager for type Mesh
00:10:47: Registering ResourceManager for type Skeleton
00:10:47: MovableObjectFactory for type 'ParticleSystem' registered.
00:10:47: OverlayElementFactory for type Panel registered.
00:10:47: OverlayElementFactory for type BorderPanel registered.
00:10:47: OverlayElementFactory for type TextArea registered.
00:10:47: Registering ResourceManager for type Font
00:10:47: ArchiveFactory for archive type FileSystem registered.
00:10:47: ArchiveFactory for archive type Zip registered.
00:10:47: FreeImage version: 3.9.2
00:10:47: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
00:10:47: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi
00:10:47: DDS codec registering
00:10:47: Registering ResourceManager for type HighLevelGpuProgram
00:10:47: Registering ResourceManager for type Compositor
00:10:47: MovableObjectFactory for type 'Entity' registered.
00:10:47: MovableObjectFactory for type 'Light' registered.
00:10:47: MovableObjectFactory for type 'BillboardSet' registered.
00:10:47: MovableObjectFactory for type 'ManualObject' registered.
00:10:47: MovableObjectFactory for type 'BillboardChain' registered.
00:10:47: MovableObjectFactory for type 'RibbonTrail' registered.
00:10:47: *-*-* OGRE Initialising
00:10:47: *-*-* Version 1.4.4 (Eihort)
00:10:47: Creating resource group Bootstrap
00:10:47: Added resource location 'Media/Essential/Boot/' of type 'FileSystem' to resource group 'Bootstrap'
00:10:47: Added resource location 'Media/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/Essential/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/Essential/BetaGUI/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/Essential/BetaGUIExtended/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/Essential/Fonts/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/SimpleMeshes/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/ComplexMeshes/' of type 'FileSystem' to resource group 'General'
00:10:47: Added resource location 'Media/Env/' of type 'FileSystem' to resource group 'General'
00:10:47: Loading library RenderSystem_Direct3D9
00:10:47: Installing plugin: D3D9 RenderSystem
00:10:47: D3D9 : Direct3D9 Rendering Subsystem created.
00:10:47: D3D9: Driver Detection Starts
00:10:47: D3D9: Driver Detection Ends
00:10:47: Plugin successfully installed
00:10:47: Loading library RenderSystem_GL
00:10:47: Installing plugin: GL RenderSystem
00:10:47: OpenGL Rendering Subsystem created.
00:10:48: Plugin successfully installed
00:10:48: Loading library Plugin_ParticleFX
00:10:48: Installing plugin: ParticleFX
00:10:48: Particle Emitter Type 'Point' registered
00:10:48: Particle Emitter Type 'Box' registered
00:10:48: Particle Emitter Type 'Ellipsoid' registered
00:10:48: Particle Emitter Type 'Cylinder' registered
00:10:48: Particle Emitter Type 'Ring' registered
00:10:48: Particle Emitter Type 'HollowEllipsoid' registered
00:10:48: Particle Affector Type 'LinearForce' registered
00:10:48: Particle Affector Type 'ColourFader' registered
00:10:48: Particle Affector Type 'ColourFader2' registered
00:10:48: Particle Affector Type 'ColourImage' registered
00:10:48: Particle Affector Type 'ColourInterpolator' registered
00:10:48: Particle Affector Type 'Scaler' registered
00:10:48: Particle Affector Type 'Rotator' registered
00:10:48: Particle Affector Type 'DirectionRandomiser' registered
00:10:48: Particle Affector Type 'DeflectorPlane' registered
00:10:48: Plugin successfully installed
00:10:48: Loading library Plugin_OctreeSceneManager
00:10:48: Installing plugin: Octree & Terrain Scene Manager
00:10:48: Plugin successfully installed
00:10:48: Loading library Plugin_CgProgramManager
00:10:48: Installing plugin: Cg Program Manager
00:10:48: Plugin successfully installed
00:10:48: D3D9 : RenderSystem Option: Full Screen = NO
00:10:48: D3D9 : RenderSystem Option: VSync = Yes
00:10:48: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
00:10:48: D3D9 : RenderSystem Option: Anti aliasing = Level 0
00:10:48: CPU Identifier & Features
00:10:48: -------------------------
00:10:48: * CPU ID: AuthenticAMD: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
00:10:48: * SSE: yes
00:10:48: * SSE2: yes
00:10:48: * SSE3: yes
00:10:48: * MMX: yes
00:10:48: * MMXEXT: yes
00:10:48: * 3DNOW: yes
00:10:48: * 3DNOWEXT: yes
00:10:48: * CMOV: yes
00:10:48: * TSC: yes
00:10:48: * FPU: yes
00:10:48: * PRO: yes
00:10:48: * HT: no
00:10:48: -------------------------
00:10:48: D3D9 : Subsystem Initialising
00:10:48: D3D9RenderSystem::createRenderWindow "Powered by NxOgre", 1024x768 windowed miscParams: FSAA=0 FSAAQuality=0 colourDepth=32 useNVPerfHUD=false vsync=true
00:10:48: D3D9 : Created D3D9 Rendering Window 'Powered by NxOgre' : 1024x768, 32bpp
00:10:48: Registering ResourceManager for type Texture
00:10:48: Registering ResourceManager for type GpuProgram
00:10:48: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
00:10:48: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
00:10:48: D3D9: Vertex texture format supported - PF_FLOAT32_R
00:10:48: RenderSystem capabilities
00:10:48: -------------------------
00:10:48: * Hardware generation of mipmaps: yes
00:10:48: * Texture blending: yes
00:10:48: * Anisotropic texture filtering: yes
00:10:48: * Dot product texture operation: yes
00:10:48: * Cube mapping: yes
00:10:48: * Hardware stencil buffer: yes
00:10:48: - Stencil depth: 8
00:10:48: - Two sided stencil support: yes
00:10:48: - Wrap stencil values: yes
00:10:48: * Hardware vertex / index buffers: yes
00:10:48: * Vertex programs: yes
00:10:48: - Max vertex program version: vs_3_0
00:10:48: * Fragment programs: yes
00:10:48: - Max fragment program version: ps_3_0
00:10:48: * Texture Compression: yes
00:10:48: - DXT: yes
00:10:48: - VTC: no
00:10:48: * Scissor Rectangle: yes
00:10:48: * Hardware Occlusion Query: yes
00:10:48: * User clip planes: yes
00:10:48: * VET_UBYTE4 vertex element type: yes
00:10:48: * Infinite far plane projection: yes
00:10:48: * Hardware render-to-texture: yes
00:10:48: * Floating point textures: yes
00:10:48: * Non-power-of-two textures: yes
00:10:48: * Volume textures: yes
00:10:48: * Multiple Render Targets: 4
00:10:48: * Point Sprites: yes
00:10:48: * Extended point parameters: yes
00:10:48: * Max Point Size: 8192
00:10:48: * Vertex texture fetch: yes
00:10:48: - Max vertex textures: 4
00:10:48: - Vertex textures shared: no
00:10:48: ***************************************
00:10:48: *** D3D9 : Subsystem Initialised OK ***
00:10:48: ***************************************
00:10:48: ResourceBackgroundQueue - threading disabled
00:10:48: Particle Renderer Type 'billboard' registered
00:10:48: SceneManagerFactory for type 'OctreeSceneManager' registered.
00:10:48: SceneManagerFactory for type 'TerrainSceneManager' registered.
00:10:48: Creating viewport on target 'Powered by NxOgre', rendering from camera 'Main', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
00:10:48: Parsing scripts for resource group Autodetect
00:10:48: Finished parsing scripts for resource group Autodetect
00:10:48: Parsing scripts for resource group Bootstrap
00:10:48: Parsing script boot.material
00:10:48: Parsing script gui.material
00:10:48: Parsing script nx.bodyguide.material
00:10:48: Finished parsing scripts for resource group Bootstrap
00:10:48: Parsing scripts for resource group General
00:10:48: Parsing script widgets.material
00:10:48: Parsing script bgui.material
00:10:48: Parsing script editor.material.material
00:10:48: Parsing script nxbgui.material
00:10:48: Parsing script capsule.prefix.material
00:10:48: Parsing script convex.prefix.material
00:10:48: Parsing script cube.prefix.material
00:10:48: Error in material nx.cube.shadows at line 17 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
00:10:48: Error in material nx.cube.shadows at line 49 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
00:10:48: Parsing script hilight.material
00:10:48: Parsing script nx.block.material
00:10:48: Parsing script nx.convex2.material
00:10:48: Parsing script nx.sphere.material
00:10:48: Parsing script nx.tube.material
00:10:48: Parsing script racecar.material
00:10:48: Parsing script sandbox.material
00:10:48: Parsing script sphere.prefix.material
00:10:48: Parsing script wheel50cmx10cmx50cm.material
00:10:48: Parsing script cloth.material
00:10:48: Parsing script nx.floor.material
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 16 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 36 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 39 of nx.floor.material: Invalid shadow_receiver_vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 44 of nx.floor.material: Invalid fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 47 of nx.floor.material: Invalid shadow_receiver_fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
00:10:48: Error in material Gile[s]_nx.floor2.shadows at line 62 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
00:10:48: Parsing script MgOpenAsBitmap.fontdef
00:10:48: Parsing script MgOpenAsNxOgreFont.fontdef
00:10:48: Finished parsing scripts for resource group General
00:10:48: Parsing scripts for resource group Internal
00:10:48: Finished parsing scripts for resource group Internal
00:10:48: Mesh: Loading nx.floor.mesh.
00:10:48: Texture: nx.floor.png: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
00:10:48: Texture: nx.floor.shadowalpha.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
00:10:48: Mesh: Loading nx.body.axis.mesh.
00:10:48: Texture: arrow1.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name bg.mp not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,24x24x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,24x24x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.mm.png: Loading 1 faces(PF_A8R8G8B8,64x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x128x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.mm.bodies.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0c0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.mm.joints.png: Loading 1 faces(PF_A8R8G8B8,51x20x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x20x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1c1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.mm.fx.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2c2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.create.png: Loading 1 faces(PF_A8R8G8B8,128x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x256x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: icon.cube.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3c3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Font nxogrefontusing texture size 512x256
00:10:48: Info: Freetype returned null for character 127 in font nxogrefont
00:10:48: Info: Freetype returned null for character 128 in font nxogrefont
00:10:48: Info: Freetype returned null for character 129 in font nxogrefont
00:10:48: Info: Freetype returned null for character 130 in font nxogrefont
00:10:48: Info: Freetype returned null for character 131 in font nxogrefont
00:10:48: Info: Freetype returned null for character 132 in font nxogrefont
00:10:48: Info: Freetype returned null for character 133 in font nxogrefont
00:10:48: Info: Freetype returned null for character 134 in font nxogrefont
00:10:48: Info: Freetype returned null for character 135 in font nxogrefont
00:10:48: Info: Freetype returned null for character 136 in font nxogrefont
00:10:48: Info: Freetype returned null for character 137 in font nxogrefont
00:10:48: Info: Freetype returned null for character 138 in font nxogrefont
00:10:48: Info: Freetype returned null for character 139 in font nxogrefont
00:10:48: Info: Freetype returned null for character 140 in font nxogrefont
00:10:48: Info: Freetype returned null for character 141 in font nxogrefont
00:10:48: Info: Freetype returned null for character 142 in font nxogrefont
00:10:48: Info: Freetype returned null for character 143 in font nxogrefont
00:10:48: Info: Freetype returned null for character 144 in font nxogrefont
00:10:48: Info: Freetype returned null for character 145 in font nxogrefont
00:10:48: Info: Freetype returned null for character 146 in font nxogrefont
00:10:48: Info: Freetype returned null for character 147 in font nxogrefont
00:10:48: Info: Freetype returned null for character 148 in font nxogrefont
00:10:48: Info: Freetype returned null for character 149 in font nxogrefont
00:10:48: Info: Freetype returned null for character 150 in font nxogrefont
00:10:48: Info: Freetype returned null for character 151 in font nxogrefont
00:10:48: Info: Freetype returned null for character 152 in font nxogrefont
00:10:48: Info: Freetype returned null for character 153 in font nxogrefont
00:10:48: Info: Freetype returned null for character 154 in font nxogrefont
00:10:48: Info: Freetype returned null for character 155 in font nxogrefont
00:10:48: Info: Freetype returned null for character 156 in font nxogrefont
00:10:48: Info: Freetype returned null for character 157 in font nxogrefont
00:10:48: Info: Freetype returned null for character 158 in font nxogrefont
00:10:48: Info: Freetype returned null for character 159 in font nxogrefont
00:10:48: Info: Freetype returned null for character 160 in font nxogrefont
00:10:48: Info: Freetype returned null for character 161 in font nxogrefont
00:10:48: Info: Freetype returned null for character 162 in font nxogrefont
00:10:48: Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: icon.sphere.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4c4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5c5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.edit.png: Loading 1 faces(PF_A8R8G8B8,132x32x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,132x32x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.angle.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6c6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.scale.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7c7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.material.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8c8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Texture: widget.add.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
00:10:48: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
00:10:48: Mesh: Loading cube.1m.mesh.
00:10:48: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
00:10:48: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
00:10:48: WARNING: Texture instance 'Ogre/ShadowTexture1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
00:10:48: Creating viewport on target 'rtt/67369440', rendering from camera 'Ogre/ShadowTexture0Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
00:10:48: Creating viewport on target 'rtt/67369888', rendering from camera 'Ogre/ShadowTexture1Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0


Any help would be appreciated.

betajaen

29-08-2007 23:52:18

Ogre Logs don't really help much if it crashes like that.

Any chance you can supply a NxOgre.log and/or a screenshot of the debugger after it crashes? I suspect it's due to raycasting (a shoddy scene pointer) or maybe OIS.

Fredrik

30-08-2007 20:25:09

The logs you requested at least I hope it was this you asked for.
NxLog:
http://www.filebunker.net/a/displayimage.php?pos=-16881

VS debugger:
http://www.filebunker.net/a/displayimage.php?pos=-16882

And it seems like u are right about the raycast pointer so if there is a solution for it I'd appriciate the help.

kungfoomasta

30-08-2007 20:40:00

I like the GUI appearance, adds a nice touch. :wink:

Would it be possible to use a Terrain for the ground, and maybe have a ninja/robot/other character in there? Maybe he can walk around and push around boxes and various shapes. Basically I'm looking for a simple example that shows how to create a character and make him move over terrain, including creating the entity in ogre, the scene node, attaching, creating the actor (I think its an actor), and having him move around. Hopefully it doesn't require a lot of effort, and it will be a great reference to me, since I'm unfamiliar with nxOgre's API. :)

betajaen

30-08-2007 20:52:12

And it seems like u are right about the raycast pointer so if there is a solution for it I'd appriciate the help.

Looks like it too, but everything seems all up to date. Which is most puzzling.

Inside the debugger, can you goto line 950, it should read the following. Can you check if mScene and mWorld are not 0 or 0xcdcdcdcd.

mScene = mWorld->getScenes()->getFirst();
mRay = new RayCaster(mCamera->getPosition(), Vector3(0,0,0), 100, RayCaster::RCT_CLOSEST, mScene);



Oh for the record and for others who don't know this, I added a feature a while back to format the log for the forums.

mWorld = new World("log: phpbb");

You'll see an extra file in your Cake directory which you can paste into here, with it all nicely formatted. ;)



@kungfoomasta, Though I would really like to see some evidence that you are actually the master of Kung Foo

All in due time. Really it's not that hard. Terrain only takes two lines, character set up about 4-5, and the if statements to move the character around about 20. When I have some time, I'll create a thread about it.

Fredrik

30-08-2007 22:54:35

Thanx betajaen!

This line solved it.
mScene = mWorld->getScenes()->getFirst();

Now it works as a charm.

I'm impressed of the feedback u give betajaen in this forum and the lightning speed that things get answered with. Hopfully i won't post anymore help request in a while now. Now that i have something that works and which I can dissect piece by piece. Thx for the tip about loging I read about it before it just sliped my mind won't happen again.

betajaen

30-08-2007 23:08:51

I was hesitant that it was that line, as I assumed you made the changes before hand and I thought it was more drastic than that.

But your welcome.

kungfoomasta

31-08-2007 00:08:42

I'm not trying to nag, just reminding you since Cake2 is coming up. :)

I can always scour the forums for bits and pieces to help me out.

Elspin

24-10-2007 04:31:43

Alright so after a bit of debugging based on the previous pages, it compiles with no crashing or errors. But nothing works except the "bodies" icon in the menu, is this incompletion or something wrong with my compile? :oops:

dbrock

28-11-2007 05:11:43

I can't seem to compile cakebox. I was able to compile NxOgre without any issues, though.

1>------ Build started: Project: Cakebox, Configuration: Release Win32 ------
1>Compiling...
1>Cake.cpp
1>c:\programming\nxogre\nxogre\tutorials\compiler\source\Cake.h(951) : error C2248: 'NxOgre::World::mScenes' : cannot access protected member declared in class 'NxOgre::World'
1> c:\programming\nxogre\nxogre\include\NxOgreWorld.h(218) : see declaration of 'NxOgre::World::mScenes'
1> c:\programming\nxogre\nxogre\include\NxOgreWorld.h(36) : see declaration of 'NxOgre::World'
1>Cakebox - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


What I have:
- Head version of NxOgre
- 2.7.3 of PhysX (I'm downloading 2.7.2 as we speak)

Edit:
Fixed the problem by changing the line of code from:

mScene = mWorld->mScenes.get("Main");

to:

mScene = mWorld->getScenes()->get("Main");


You may want to fix that in your release of Cakebox ;).

flyrxue

02-12-2007 09:47:41

why create a box as actor, it seems right。but as cloth will lost texture? :shock:
void start() {
mWorld = new World("log: html");
mScene = mWorld->createScene("Main", mSceneMgr, "gravity: yes, floor: yes");
for (int i=0;i < 10;i++)
mScene->createBody("cube.1m.mesh", new CubeShape(1), Vector3(0,i + 2.5f,0), "mass: 10");
mScene->createBody("jelly_SB.mesh", new TriangleMeshShape("jelly_SB.mesh"), Vector3(0,i + 2.5f,0), "mass: 10");
NxOgre::Cloth* pCloth = mScene->createCloth("cloth","jelly_SB.mesh",Vector3(3,i + 2.5f,0), "mass: 10");
}

Arcanor

17-02-2008 04:12:35

I originally posted an error in building Cake, but I discovered it was a silly programmer error. Nevermind. :)

limdor

04-03-2008 10:13:46

If you see the log of Frederik there are some errors like this:
Error in material nx.cube.shadows at line 17 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
Does any people know why this error it happens?
I can run the application but in the log there are these errors.

limdor

04-03-2008 10:17:50

My Log is this:

**Log Begin**
Versions: NxOgre(NxOgre 0.9-38), Ogre(1.4.4 'Eihort'), PhysX(2.7.3)
T0F0
NxOgre::PhysXDriver::PhysXDriver#142
NxOgre (NxOgre 0.9-38) Started, working with:

- PhysX => 2.7.3
- Ogre => 1.4.4 'Eihort'
- Platform => Windows

T3.916F232
NxOgre::Scene::~Scene#443
End of scene 'Main' stats
Actors (2), Materials (1).
- Destroyed.

T3.916F232
NxOgre::PhysXDriver::~PhysXDriver#164
PhysX SDK has stopped.
**Log End**

danharibo

04-03-2008 16:32:02

If you see the log of Frederik there are some errors like this:
Error in material nx.cube.shadows at line 17 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
Does any people know why this error it happens?
I can run the application but in the log there are these errors.
It seems that the vertex program "Ogre/BasicVertexPrograms/AmbientOneTextureUnified" is missing, you could try and remove it from the material, or you could try to find it.

cstearns

01-04-2008 06:18:05

Hi, I am trying to compile the latest version of Cake, and I am getting the following linking errors when compiling. Does anyone have any insights to how this can be fixed?


1>Linking...
1>Cake.obj : error LNK2001: unresolved external symbol "protected: virtual class NxOgre::Shape * __thiscall NxOgre::CubeShape::_bindToNxActor(class NxOgre::Actor *,unsigned int)" (?_bindToNxActor@CubeShape@NxOgre@@MAEPAVShape@2@PAVActor@2@I@Z)
1>Cake.obj : error LNK2001: unresolved external symbol "protected: virtual class NxOgre::Shape * __thiscall NxOgre::SphereShape::_bindToNxActor(class NxOgre::Actor *,unsigned int)" (?_bindToNxActor@SphereShape@NxOgre@@MAEPAVShape@2@PAVActor@2@I@Z)
1>Cake.obj : error LNK2001: unresolved external symbol "protected: virtual class NxOgre::Shape * __thiscall NxOgre::ConvexShape::_bindToNxActor(class NxOgre::Actor *,unsigned int)" (?_bindToNxActor@ConvexShape@NxOgre@@MAEPAVShape@2@PAVActor@2@I@Z)


Thanks in advance!

zrixter

06-04-2008 06:54:45

Hi!

I run into problem when i try to select a body that i create from an existing entity. the program crash here:

if (mSceneMgr->hasEntity(b->getEntity()->getName() + ".hilight")) {

It seem that when i try to highlight the body it crash.

maroxe

06-05-2008 13:11:05

file Not found.

betajaen

06-05-2008 15:57:59

file Not found.

http://svn.nxogre.org/branches/Cake/

Obviously, your paying me to support you more than I would normally provide to everyone else. How about I come around to your house and setup NxOgre for you? Show you the ropes.

maroxe

06-05-2008 19:25:00

i was speaking about that: http://get.nxogre.org/Cakebox.zip

betajaen

06-05-2008 19:43:13

Yes. Yes I know.

maroxe

06-05-2008 19:44:30

change it ;)

betajaen

06-05-2008 19:59:03

Yes master.

maroxe

06-05-2008 20:20:00

no sorry, it was just a remark, not an order :)

betajaen

06-05-2008 20:22:11

And I'm not joking. If you don't read posts and/or use the search, and I'm just going to start deleting your posts.

Arcanor

06-05-2008 22:12:33

I hope this post is taken in the constructive way that it's meant.

Honestly, there is a lot of conflicting/incomplete information around here, including sticky/FAQ threads. It's pretty confusing when a sticky thread turns out to be wrong. Usually we depend on those to be our guiding light as we venture into the murky depths of learning a complex new thing like NxOgre. There's a lot to know, and it's not easy to know where to start.

Perhaps when a post (especially a sticky or FAQ post) gets out of date it could be edited to add a link to the superceding post, or simply corrected. It would make the learning process much simpler if the documentation is consistent and up-to-date. Then nobody would waste their efforts following up on bogus or conflicting information, and it would make NxOgre that much more useful and loved by the community.

On a tangential subject, I'm disappointed to see sarcasm and deletion threats in response to a user reporting a suspected inconsistency (he was trying to help), and suggesting that a sticky post with outdated information should be updated.

Fixing the reported problem (i.e. the sticky reference to the outdated download link) would take about 1 minute to do. That would head off lots of potential problems down the road (by future new users), and would be appreciated by all.

maroxe

06-05-2008 22:35:16

+1, i was just trying to help, and i regret :roll:
if in the begining, i found a good documentation up-to-date, i won't ask all this questions! + with a good lib, we mustn't search in the forum to find answers to basic questions ;)

betajaen

06-05-2008 23:04:55

@Arcanor I just thought the title of the post was a bit of a give away of where to get it. But I've changed the first post.

@maroxe There is plenty of documentation, examples and what not. Your just not willing to either read it, search for it, or browse NxOgre.org. You just keep asking me for simple questions over and over again, and it's getting tiresome not only for me, but the other users as well. Stop it.

maroxe

07-05-2008 00:02:57

sorry if i annoyed you this days, but franckly speaking i got lost.
i 've browsed NxOgre.org, and all what i found is some description of classes and the first chapiter of the starting guid :(
i've searched for examples, buf they didn't work with me att all because they were't up-to-date, so please, give me only one documentaton wich is complete and up-to-date, and i will stop asking!

mgoodman

07-05-2008 03:53:33

Heya betajaen,

You forgot the "/branches/" in your SVN link of the original post.

Cheers!

Roblers

07-05-2008 09:22:39

I think we should stop asking betajaen so much questions

he is doing a lot of work for all of us and still has things to do,but just give him time

PD:My first post!!
PD2:Sorry for my english...

mgoodman

09-05-2008 17:18:22

Sorry to bug you again betajaen, but your main link is broken because you put a capital B in Branches. I think the link should be
http://svn.nxogre.org/branches/Cake/

Just so you know, we plan to use your physics wrapper (0.9 with SDK 2.7.3 as per your suggestion) in our RTS. It's our final bachelor's project in Software Engineering, so we can't just quit halfway through.

Also, I really dig your website's design and I'm looking forward to the next updates.

maroxe

09-05-2008 17:49:48

if he has a lot to do, i don't understand why he does't recrut anyone to help him :?

mgoodman

09-05-2008 19:33:21

I'm having issues with compiling cake. Here's my setup:
- NxOgre v0.9-38
- OGRE v1.4.7
- PhysX SDK v2.7.3
- Visual Studio 2008
- Freshest Cake from http://svn.nxogre.org/branches/Cake/ (May 9, 2008)

NxOgre compiles fine. Here's the Cake compile log:


1>------ Build started: Project: Cake, Configuration: Debug Win32 ------
1>Compiling...
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>Cake.cpp
1>c:\planet2\nxogre\nxogre\cake\source\cakeogre.h(272) : error C2061: syntax error : identifier 'RenderableSource'
1>c:\planet2\nxogre\nxogre\cake\source\cakeogre.h(280) : error C2061: syntax error : identifier 'RenderableSource'
1>c:\planet2\nxogre\nxogre\cake\source\cakeogre.h(297) : error C2143: syntax error : missing ';' before '*'

(removed crapload of errors)

1>c:\planet2\nxogre\nxogre\cake\source\cake.cpp(169) : fatal error C1003: error count exceeds 100; stopping compilation
1>Build log was saved at "file://c:\PLANET2\nxogre\NxOgre\cake\source\Debug\BuildLog.htm"
1>Cake - 109 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Where exactly do I have to copy the NxOgre.dll file to?

I know you're quite busy, but I'd appreciate any help you can offer.

betajaen

09-05-2008 19:55:59

SVN is being a pain in the backside at the moment, forbidding me to upload my copy of Cake. So I moved the old cakebox.zip to the releases folder, so it can be downloaded. Use that for now, until I make a proper release of Cake.

http://get.nxogre.org/releases/

My copy of Cake is fine, it's just missing the picking up and dragging Actors around. It also uses some '22 code that isn't obviously out yet, so it would compile anyway.

Unfortantly, I think you still have to add this tiny "patch":



Find anything with this in CakeOgre.h

mWorld->mScenes.get(....);

Replace it with:

mWorld->getScenes()->get(....);

mgoodman

10-05-2008 15:58:23

I'm very close to getting it to work (the cakebox.zip version).

- I replaced the mScenes calls with getScenes().
- I had to copy all the dlls from my ogreSDK\bin directory to the NxOgre\tutorials\compiler\debug folder.
- I had to add "..\" to two cf.load() calls in Cake.cpp, or it couldn't find config.yaml and resources.cfg (is that normal?).

I was able to get the main window to pop up, but before it displayed anything I got the following error in the command prompt window:

OGRE EXCEPTION(5:ItemIdentityException): Unable to derive resource group for nx.floor.mesh automatically since the resource was not found. in ResourceGroupManager::findGroupContainingResource at f:\ogre_cvs_vc9\ogrenew_146\ogremain\src\ogreresourcegroupmanager.cpp (line 1368)

Does that mean it can't find the /media folder? I tried copying the /media folder into the /compiler/debug folder and that didn't help either.

betajaen

10-05-2008 16:25:40

The cake folder should be inside the NxOgre folder, the executable should be inside that.

mgoodman

11-05-2008 04:26:46

The cake folder should be inside the NxOgre folder, the executable should be inside that.
My setup was always configured like that...

I finally got it to work though! I started from scratch, and I moved the "config.yaml" file and "media" folder from the "tutorials" to the "tutorials\compiler" folder, if that makes any sense.

betajaen

11-05-2008 11:24:28

That'll work. When '22 comes out, my version of Cake will come out too. Just to make things easier.

Lykaios

19-05-2008 02:31:00

Okay, I tried the .zip version, and I get many errors that make me think that they were built against .9, such as: "bla is not a member function of blah" and things like that.

I get the same kind of errors from the SVN branch version. So is the leading view that we should either build it against .9 or not at all?

If someone has built it properly against bleeding, I would love it if you could detail the steps you took.

FYI, I already fixed the .mScenes->get() thingy, but am still getting errors, and have searched for these errors to no avail.

Anyone but Beta, let the man work!!

betajaen

27-05-2008 22:42:01




I'm back.

kungfoomasta

27-05-2008 23:06:50

welcome back, yo! 8) (Where'd you go?)

betajaen

27-05-2008 23:08:07

Thanks.

If you ever decide to spend 3 weeks developing a c++ tree class - Don't. ;)

xadh00m

28-05-2008 10:09:33


If you ever decide to spend 3 weeks developing a c++ tree class - Don't. ;)


Why should anybody develope code which already exists and is well tested?
There should be serious advantages to do so much work!

betajaen

28-05-2008 22:08:16

Some more cake





@xadh00m

True. But I'm not to fond of STL, and my SharedList class proved very useful in NxOgre. So I tried doing a tree for my own "map" style class.

FriedChicken

31-05-2008 07:30:23

Is the newest cake available for download?

betajaen

31-05-2008 08:57:46

No. It's coming out when '22 comes out.

Caphalor

31-05-2008 11:04:03

The shadows are nice. :D

betajaen

31-05-2008 11:11:18

It's the same shadow system that NullSquared posted.

betajaen

02-06-2008 15:55:04

Wait until '22 comes out. It comes with a brand new Cake and Flour.

nord

03-07-2008 22:58:02

Greetings.
Thank you very much for the cake application I have learned a lot while playing with it.
I am trying to understand the things you have done in cake so that I can create my own backbone of classes to make my game. Could you please briefly tell what each of these classes in cake are doing?

nord

03-07-2008 22:59:10

1 cake (backbone inits all necessary classes. Super class of spong_cake?)
2 decoration (abstract class for decoration?)
3 fps(??)
4 frosting (uses decoration class to handle betagui and other decorations?)
5 highlightqueuelistener (choosing bodies in the world?)
6 inputhandler (obviously for input handling=)
7 renderer (creates the viewport and window)
8 spong_cake (subclass of cake?, same things cane be done in also frosting::onFrame ?)
9 terrain (setting the terrain?)
10 tester (??)

11 also what is mReflectCam ? it is commented out as far as I observed.
12 and I see lots of createSceneManager() function in classes like terrain , tester fps renderer frosting etc. but they are not used except frosting's. I am confused =)

thanks in advance.

aoos

05-07-2008 02:14:38

When i try to compile Cake i get these compiler errors:

c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\cake\cake\source\CakeOgre.h(216) : error C2039: 'Identifier' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\cake\cake\source\CakeOgre.h(217) : error C2039: 'IdentifierType' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\cake\cake\source\CakeOgre.h(217) : error C2039: 'IT_CREATE' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\cake\cake\source\CakeOgre.h(217) : error C2065: 'IT_CREATE' : undeclared identifier
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\cake\cake\source\CakeOgre.h(322) : error C2065: 'NxHashes_OgreNodeRenderable' : undeclared identifier
.\Cake.cpp(100) : error C2146: syntax error : missing ';' before identifier 'Spikey'
.\Cake.cpp(162) : error C2039: 'Identifier' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(163) : error C2039: 'IdentifierType' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(163) : error C2039: 'IT_CREATE' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(164) : error C2039: 'GraphicsModel' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(165) : error C2039: 'GraphicsModelType' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(165) : error C2039: 'GMT_RESOURCE_IDENTIFIER' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(166) : error C2039: 'GraphicsModelScale' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(167) : error C2039: 'GraphicsModelMaterial' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(169) : error C2039: 'Identifier' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(169) : error C2039: 'GraphicsModelScale' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(169) : error C2228: left of '.x' must have class/struct/union
.\Cake.cpp(169) : error C2039: 'GraphicsModelScale' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(169) : error C2228: left of '.y' must have class/struct/union
.\Cake.cpp(169) : error C2039: 'GraphicsModelScale' : is not a member of 'NxOgre::NodeRenderableParams'
c:\program files\nvidia corporation\nvidia physx sdk\v2.8.1\nxogre\include\NxOgreNodeRenderable.h(36) : see declaration of 'NxOgre::NodeRenderableParams'
.\Cake.cpp(169) : error C2228: left of '.z' must have class/struct/union

What's wrong? my Nxogre works fine by the way im using NxOgre 1.0 '21 Sorry if this problem have answered previously

ciderbarrel

05-07-2008 11:19:44

I'm using Bleeding, PhysX 2.8.0 and I can complie and run Cake but I have an issue I can't fix.

1) I have no mouse pointer. I can't click on any of the cubes.
2) I can't get it to run in full screen or change the resolution, no matter how many times I edit cake.params
3) "wiggling" the middle mouse wheel does nothing.

The only thing that works in Cake is hitting keys 1-6 and seeing what they do, and ESC to quit. I scanned the CakeOgre.h and noticed that nothing calls the class MouseCursor()

Could that be an issue?

betajaen

05-07-2008 13:00:52

That cake doesn't have the mouse pointer stuff.

The next release of NxOgre will include the new Cake which will fix most of the problems listed.

driedfruit

13-08-2008 22:08:27

Hi there!

I've managed to compile Cake by using this patch.

Index: Cake.cpp
===================================================================
--- Cake.cpp (revision 21)
+++ Cake.cpp (working copy)
@@ -159,14 +159,14 @@
for (int y=0;y < 25;y++) {
NodeRenderableParams vp;
vp.setToDefault();
- vp.Identifier = "n" + Ogre::StringConverter::toString(nb);
- vp.IdentifierType = vp.IT_CREATE;
- vp.GraphicsModel = "cube.1m.mesh";
- vp.GraphicsModelType = vp.GMT_RESOURCE_IDENTIFIER;
- vp.GraphicsModelScale = NxVec3(1, 1, 4 + (NxReal(i) * 0.01f));
- vp.GraphicsModelMaterial = "t" + Ogre::StringConverter::toString(i);
+ vp.mIdentifier = "n" + Ogre::StringConverter::toString(nb);
+ vp.mIdentifierUsage = vp.IU_Create;
+ vp.mGraphicsModel = "cube.1m.mesh";
+ vp.mGraphicsModelType = vp.GMU_Resource;
+ vp.mGraphicsModelScale = NxVec3(1, 1, 4 + (NxReal(i) * 0.01f));
+ vp.mGraphicsModelMaterial = "t" + Ogre::StringConverter::toString(i);

- mScene->createBody(vp.Identifier, new Cube(Ogre::Vector3(vp.GraphicsModelScale.x,vp.GraphicsModelScale.y, vp.GraphicsModelScale.z)), Vector3(-10 + (i * 2),0.5f + y,NxMath::rand(-0.25f,0.25f)), vp, ActorParams("mass: 10"));
+ mScene->createBody(vp.mIdentifier, new Cube(Ogre::Vector3(vp.mGraphicsModelScale.x,vp.mGraphicsModelScale.y, vp.mGraphicsModelScale.z)), Vector3(-10 + (i * 2),0.5f + y,NxMath::rand(-0.25f,0.25f)), vp, ActorParams("mass: 10"));
nb++;
}
}
Index: CakeOgre.h
===================================================================
--- CakeOgre.h (revision 21)
+++ CakeOgre.h (working copy)
@@ -213,8 +213,8 @@

NodeRenderableParams renderableParams;
renderableParams.setToDefault();
- renderableParams.Identifier = "CakeSmartCamera";
- renderableParams.IdentifierType = NodeRenderableParams::IT_CREATE;
+ renderableParams.mIdentifier = "CakeSmartCamera";
+ renderableParams.mIdentifierUsage = NodeRenderableParams::IU_Create;

ActorParams actorParams;
actorParams.setToDefault();
@@ -319,7 +319,7 @@

mRenderable = actor->getUserData()->RenderPtr->getRenderable();

- if (mRenderable->getHashType() == NxHashes_OgreNodeRenderable) {
+ if (mRenderable->getHashType() == NxOgreClass_OgreNodeRenderable) {
mNodeRenderable = static_cast<OgreNodeRenderable*>(mRenderable);
mNode = mNodeRenderable->getNode();
}



Still, VS2008 is giving me problem on one single line:

shape_params.mTriggerCallback = NxNewDescribed(Spikey, "Spikey Trigger callback") Spikey();

1>d:\src\libs\nxogre\cake\source\cake.cpp(100) : error C2146: syntax error : missing ';' before identifier 'Spikey'


If someone could help me resolve the issue, I would be very gratefull :) I realise there is an upcoming release soon, but I still want to test nxOgre. And it's just 1 line..

Thanks in advance!

P.S. Ogre1.4.9, nxOgre 1.0 (todays svn), physX 2.8.1

Prophet

21-08-2008 19:24:09

Is cake completely down? I've been looking for it, but all links are dead. I don't mind an old version, I just want to peak a little to see what's going on behind the curtains, so to speak. :)

betajaen

21-08-2008 19:28:40

Still there it seems.

http://svn.nxogre.org/branches/Cake/

Prophet

21-08-2008 19:43:08

I'll be damned. Thanks!

Cronos

17-10-2008 06:13:54

After fixing the compile errors, I get: "This application has failed to start because nvcuda.dll was not found."
Well, I've tried reinstalling the system software from PhysX and also the SDK, but the same problem remains. Yes, my device isn't NVIDIA, it's a ATI Radeon, so I can't install the CUDA Driver. Someone knows what's going on?
Thanks.

edit: solved: http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=8423

totenhose

03-11-2008 12:17:50

Hi,

Why wouldn't anyone submit the fixed Cake to SVN?
It's quite annoying for newcomers to fix all these compile errors manually.