How publish mogre sample

alamata

15-05-2011 17:10:13

hey ,...

i works with the Winform Mogre sample,...

everything is alright,... :D

until i try to publish it,... :oops:

when i run the exe

i have got a msgbox with

"this application has stop to function"

i dont understand why i cant run it

i dont understand what i do wrong,
because the debug is functional,...

can you explain me what is the solution,...

alamata

18-05-2011 09:35:31

...i m sorry to insist but.... :oops:

...i suppose that the question "how to publish a mogre project"
is soo "stupid" that nobody answered ... :shock:

but can you give me some directions that i can take to find a possibility
to publish a mogre project,... :arrow: :?:

Meharin

19-05-2011 06:37:50

Can you provide the exact error message? There should be a more informative error message than "this application has stop to function".

How are you publishing it?

alamata

19-05-2011 15:09:52

hey Meharin,... :)

first i would like say thanks to you for the interest you bring to this post,... :wink:

i have only a error message when i try to run the published .exe

""en francais dans le texte""

"l'application a cesser de fonctionner"

i dont have any other error message
when i debug or build the solution



and for publishing i go in the "build" menu and click on publish,....

and i have that as result

------ Publish started: Project: Tutorial, Configuration: Debug x86 ------
Tutorial -> C:\MogreSDK\Samples\TuTO\01\WindowsFormsApplication7\bin\Debug\WindowsFormsApplication7.exe
Connecting to 'C:\MogreSDK\bin\Publish\'...
Publishing files...
Publish success.
C:\MogreSDK\bin\Publish\


i believe that i have all the necessary files in the ""Publish"" folder,...

i dont understand why my .exe dont run,... :?

one more time,.. thx to you for your comprehension,... :wink:

Meharin

19-05-2011 19:08:35

Is there an Ogre.log in the Publish directory?

Have you checked to see if any exe or dll or cfg files are missing in the Publish directory that are in the Bin\Debug directory?

alamata

19-05-2011 19:58:39

Is there an Ogre.log in the Publish directory?

i dont have a Ogre.log in the Publish directory,... :shock:

but i have in de debug diretcory

here is

20:51:17: Creating resource group General
20:51:17: Creating resource group Internal
20:51:17: Creating resource group Autodetect
20:51:17: SceneManagerFactory for type 'DefaultSceneManager' registered.
20:51:17: Registering ResourceManager for type Material
20:51:17: Registering ResourceManager for type Mesh
20:51:17: Registering ResourceManager for type Skeleton
20:51:17: MovableObjectFactory for type 'ParticleSystem' registered.
20:51:17: OverlayElementFactory for type Panel registered.
20:51:17: OverlayElementFactory for type BorderPanel registered.
20:51:17: OverlayElementFactory for type TextArea registered.
20:51:17: Registering ResourceManager for type Font
20:51:17: ArchiveFactory for archive type FileSystem registered.
20:51:17: ArchiveFactory for archive type Zip registered.
20:51:17: DDS codec registering
20:51:17: FreeImage version: 3.13.1
20:51:17: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
20:51:17: 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,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
20:51:17: PVRTC codec registering
20:51:17: Registering ResourceManager for type HighLevelGpuProgram
20:51:17: Registering ResourceManager for type Compositor
20:51:17: MovableObjectFactory for type 'Entity' registered.
20:51:17: MovableObjectFactory for type 'Light' registered.
20:51:17: MovableObjectFactory for type 'BillboardSet' registered.
20:51:17: MovableObjectFactory for type 'ManualObject' registered.
20:51:17: MovableObjectFactory for type 'BillboardChain' registered.
20:51:17: MovableObjectFactory for type 'RibbonTrail' registered.
20:51:17: Loading library .\RenderSystem_Direct3D9
20:51:17: Installing plugin: D3D9 RenderSystem
20:51:17: D3D9 : Direct3D9 Rendering Subsystem created.
20:51:17: D3D9: Driver Detection Starts
20:51:17: D3D9: Driver Detection Ends
20:51:17: Plugin successfully installed
20:51:17: Loading library .\RenderSystem_GL
20:51:17: Installing plugin: GL RenderSystem
20:51:17: OpenGL Rendering Subsystem created.
20:51:17: Plugin successfully installed
20:51:17: Loading library .\Plugin_OctreeSceneManager
20:51:17: Installing plugin: Octree & Terrain Scene Manager
20:51:17: Plugin successfully installed
20:51:17: *-*-* OGRE Initialising
20:51:17: *-*-* Version 1.7.1 (Cthugha)
20:51:17: Creating resource group Bootstrap
20:51:17: Added resource location '../../Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
20:51:17: Added resource location '../../Media' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/fonts' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/materials/programs' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/materials/scripts' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/materials/textures' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/models' of type 'FileSystem' to resource group 'General'
20:51:17: Added resource location '../../Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
20:51:17: Added resource location '../../Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
20:51:17: D3D9 : RenderSystem Option: Full Screen = No
20:51:17: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
20:51:17: CPU Identifier & Features
20:51:17: -------------------------
20:51:17: * CPU ID: GenuineIntel: Intel(R) Core(TM) i7 CPU 940 @ 2.93GHz
20:51:17: * SSE: yes
20:51:17: * SSE2: yes
20:51:17: * SSE3: yes
20:51:17: * MMX: yes
20:51:17: * MMXEXT: yes
20:51:17: * 3DNOW: no
20:51:17: * 3DNOWEXT: no
20:51:17: * CMOV: yes
20:51:17: * TSC: yes
20:51:17: * FPU: yes
20:51:17: * PRO: yes
20:51:17: * HT: no
20:51:17: -------------------------
20:51:17: D3D9 : Subsystem Initialising
20:51:17: Registering ResourceManager for type Texture
20:51:17: Registering ResourceManager for type GpuProgram
20:51:17: ***************************************
20:51:17: *** D3D9 : Subsystem Initialised OK ***
20:51:17: ***************************************
20:51:17: D3D9RenderSystem::_createRenderWindow "Main RenderWindow", 800x600 windowed miscParams: externalWindowHandle=2229688
20:51:17: D3D9 : Created D3D9 Rendering Window 'Main RenderWindow' : 784x562, 32bpp
20:51:17: D3D9 : WARNING - disabling VSync in windowed mode can cause timing issues at lower frame rates, turn VSync on if you observe this problem.
20:51:17: D3D9: Vertex texture format supported - PF_L8
20:51:17: D3D9: Vertex texture format supported - PF_L16
20:51:17: D3D9: Vertex texture format supported - PF_A8
20:51:17: D3D9: Vertex texture format supported - PF_A4L4
20:51:17: D3D9: Vertex texture format supported - PF_BYTE_LA
20:51:17: D3D9: Vertex texture format supported - PF_R5G6B5
20:51:17: D3D9: Vertex texture format supported - PF_B5G6R5
20:51:17: D3D9: Vertex texture format supported - PF_A4R4G4B4
20:51:17: D3D9: Vertex texture format supported - PF_A1R5G5B5
20:51:17: D3D9: Vertex texture format supported - PF_A8R8G8B8
20:51:17: D3D9: Vertex texture format supported - PF_B8G8R8A8
20:51:17: D3D9: Vertex texture format supported - PF_A2R10G10B10
20:51:17: D3D9: Vertex texture format supported - PF_A2B10G10R10
20:51:17: D3D9: Vertex texture format supported - PF_DXT1
20:51:17: D3D9: Vertex texture format supported - PF_DXT2
20:51:17: D3D9: Vertex texture format supported - PF_DXT3
20:51:17: D3D9: Vertex texture format supported - PF_DXT4
20:51:17: D3D9: Vertex texture format supported - PF_DXT5
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
20:51:17: D3D9: Vertex texture format supported - PF_X8R8G8B8
20:51:17: D3D9: Vertex texture format supported - PF_X8B8G8R8
20:51:17: D3D9: Vertex texture format supported - PF_R8G8B8A8
20:51:17: D3D9: Vertex texture format supported - PF_DEPTH
20:51:17: D3D9: Vertex texture format supported - PF_SHORT_RGBA
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT16_R
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT32_R
20:51:17: D3D9: Vertex texture format supported - PF_SHORT_GR
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT16_GR
20:51:17: D3D9: Vertex texture format supported - PF_FLOAT32_GR
20:51:17: D3D9: Vertex texture format supported - PF_SHORT_RGB
20:51:17: D3D9: Vertex texture format supported - PF_PVRTC_RGB2
20:51:17: D3D9: Vertex texture format supported - PF_PVRTC_RGBA2
20:51:17: D3D9: Vertex texture format supported - PF_PVRTC_RGB4
20:51:17: D3D9: Vertex texture format supported - PF_PVRTC_RGBA4
20:51:17: RenderSystem capabilities
20:51:17: -------------------------
20:51:17: RenderSystem Name: Direct3D9 Rendering Subsystem
20:51:17: GPU Vendor: ati
20:51:17: Device Name: Monitor-1-ATI Radeon HD 4800 Series
20:51:17: Driver Version: 8.14.10.678
20:51:17: * Fixed function pipeline: yes
20:51:17: * Hardware generation of mipmaps: yes
20:51:17: * Texture blending: yes
20:51:17: * Anisotropic texture filtering: yes
20:51:17: * Dot product texture operation: yes
20:51:17: * Cube mapping: yes
20:51:17: * Hardware stencil buffer: yes
20:51:17: - Stencil depth: 8
20:51:17: - Two sided stencil support: yes
20:51:17: - Wrap stencil values: yes
20:51:17: * Hardware vertex / index buffers: yes
20:51:17: * Vertex programs: yes
20:51:17: * Number of floating-point constants for vertex programs: 256
20:51:17: * Number of integer constants for vertex programs: 16
20:51:17: * Number of boolean constants for vertex programs: 16
20:51:17: * Fragment programs: yes
20:51:17: * Number of floating-point constants for fragment programs: 224
20:51:17: * Number of integer constants for fragment programs: 16
20:51:17: * Number of boolean constants for fragment programs: 16
20:51:17: * Geometry programs: no
20:51:17: * Number of floating-point constants for geometry programs: 0
20:51:17: * Number of integer constants for geometry programs: 0
20:51:17: * Number of boolean constants for geometry programs: 0
20:51:17: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
20:51:17: * Texture Compression: yes
20:51:17: - DXT: yes
20:51:17: - VTC: no
20:51:17: - PVRTC: no
20:51:17: * Scissor Rectangle: yes
20:51:17: * Hardware Occlusion Query: yes
20:51:17: * User clip planes: yes
20:51:17: * VET_UBYTE4 vertex element type: yes
20:51:17: * Infinite far plane projection: yes
20:51:17: * Hardware render-to-texture: yes
20:51:17: * Floating point textures: yes
20:51:17: * Non-power-of-two textures: yes
20:51:17: * Volume textures: yes
20:51:17: * Multiple Render Targets: 4
20:51:17: - With different bit depths: yes
20:51:17: * Point Sprites: yes
20:51:17: * Extended point parameters: yes
20:51:17: * Max Point Size: 10
20:51:17: * Vertex texture fetch: yes
20:51:17: * Number of world matrices: 0
20:51:17: * Number of texture units: 8
20:51:17: * Stencil buffer depth: 8
20:51:17: * Number of vertex blend matrices: 0
20:51:17: - Max vertex textures: 4
20:51:17: - Vertex textures shared: no
20:51:17: * Render to Vertex Buffer : no
20:51:17: * DirectX per stage constants: yes
20:51:17: DefaultWorkQueue('Root') initialising on thread main.
20:51:17: Particle Renderer Type 'billboard' registered
20:51:17: SceneManagerFactory for type 'OctreeSceneManager' registered.
20:51:17: SceneManagerFactory for type 'TerrainSceneManager' registered.
20:51:17: Parsing scripts for resource group Autodetect
20:51:17: Finished parsing scripts for resource group Autodetect
20:51:17: Parsing scripts for resource group Bootstrap
20:51:17: Parsing script OgreCore.material
20:51:17: Parsing script OgreProfiler.material
20:51:17: Parsing script Ogre.fontdef
20:51:17: Parsing script OgreDebugPanel.overlay
20:51:17: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:51:17: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
20:51:17: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
20:51:17: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
20:51:17: Parsing script OgreLoadingPanel.overlay
20:51:17: Finished parsing scripts for resource group Bootstrap
20:51:17: Parsing scripts for resource group General
20:51:17: Parsing script Examples.program
20:51:17: Parsing script StdQuad_vp.program
20:51:17: Parsing script BlackAndWhite.material
20:51:17: Parsing script Bloom.material
20:51:17: Parsing script DepthShadowmap.material
20:51:17: Parsing script DOF.material
20:51:17: Compiler error: object name expected in DOF.material(55)
20:51:17: Parsing script Embossed.material
20:51:17: Parsing script Example-DynTex.material
20:51:17: Parsing script Example-Water.material
20:51:17: Parsing script Example.material
20:51:17: Parsing script Examples-Advanced.material
20:51:17: Parsing script facial.material
20:51:17: Parsing script Glass.material
20:51:17: Parsing script hdr.material
20:51:18: Parsing script HeatVision.material
20:51:18: Parsing script Hurt.material
20:51:18: Parsing script instancing.material
20:51:18: Parsing script Invert.material
20:51:18: Parsing script Laplace.material
20:51:18: Parsing script MotionBlur.material
20:51:18: Parsing script Ocean.material
20:51:18: Parsing script OffsetMapping.material
20:51:18: Parsing script Ogre.material
20:51:18: Parsing script OgreNewt_Example.material
20:51:18: Compiler error: unknown error in OgreNewt_Example.material(8): token "#ambient" is not recognized
20:51:18: Parsing script OldMovie.material
20:51:18: Parsing script OldTV.material
20:51:18: Parsing script Posterize.material
20:51:18: Parsing script RZR-002.material
20:51:18: Parsing script SharpenEdges.material
20:51:18: Parsing script smoke.material
20:51:18: Parsing script Tiling.material
20:51:18: Parsing script VarianceShadowmap.material
20:51:18: Parsing script Examples.compositor
20:51:18: Finished parsing scripts for resource group General
20:51:18: Parsing scripts for resource group Internal
20:51:18: Finished parsing scripts for resource group Internal
20:51:18: Mesh: Loading ninja.mesh.
20:51:18: Skeleton: Loading ninja.skeleton
20:51:18: Texture: nskingr.jpg: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
20:51:19: DefaultWorkQueue('Root') shutting down on thread main.
20:51:19: *-*-* OGRE Shutdown
20:51:19: Unregistering ResourceManager for type Compositor
20:51:19: Unregistering ResourceManager for type Font
20:51:19: Unregistering ResourceManager for type Skeleton
20:51:19: Unregistering ResourceManager for type Mesh
20:51:19: Unregistering ResourceManager for type HighLevelGpuProgram
20:51:19: Uninstalling plugin: Octree & Terrain Scene Manager
20:51:19: Plugin successfully uninstalled
20:51:19: Unloading library .\Plugin_OctreeSceneManager
20:51:19: Uninstalling plugin: GL RenderSystem
20:51:19: *** Stopping Win32GL Subsystem ***
20:51:19: Plugin successfully uninstalled
20:51:19: Unloading library .\RenderSystem_GL
20:51:19: Uninstalling plugin: D3D9 RenderSystem
20:51:19: D3D9 : Shutting down cleanly.
20:51:19: Unregistering ResourceManager for type Texture
20:51:19: Unregistering ResourceManager for type GpuProgram
20:51:19: D3D9 : Direct3D9 Rendering Subsystem destroyed.
20:51:19: Plugin successfully uninstalled
20:51:19: Unloading library .\RenderSystem_Direct3D9
20:51:19: Unregistering ResourceManager for type Material


i have copy the debug folder, renamed it and put in the correct position in the folder's architecture,...
and publish in it but no Ogre.log

Tutorial -> C:\MogreSDK\Samples\TuTO\01\WindowsFormsApplication7\bin\Debug\WindowsFormsApplication7.exe
Building Tutorial...
------ Publish started: Project: Tutorial, Configuration: Debug x86 ------
Tutorial -> C:\MogreSDK\Samples\TuTO\01\WindowsFormsApplication7\bin\Debug\WindowsFormsApplication7.exe
Connecting to 'C:\MogreSDK\Samples\TuTO\01\WindowsFormsApplication7\bin Publish\Publish\'...
Publishing files...
Publish success.
C:\MogreSDK\Samples\TuTO\01\WindowsFormsApplication7\bin Publish\Publish\
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========



.... :arrow: :( :arrow: :?: