c++ - Ogre Tutorial project compiles but no render window displayed -


thank taking time @ question. resort stackoverflow when there seems no other recourse problem, , indeed i've spent on 2 days wrangling on installation , set of ogre3d.

i'm running windows 7 64 bit system , using visual studio 2010 compile ogre libraries. have fair bit of programming experience.

the problem pretty aptly summed title, give little more detail, i've managed point of compiling source code of tutorial application provided on ogre website:

http://www.ogre3d.org/tikiwiki/tiki-index.php?page=setting+up+an+application

i've gone through every inch of it, pages leading it, , have checked off everything. instructions have been followed letter.

the problem is, code seems compile fine render window won't display no matter try do.

when try "start debugging" happens application process started runs in background no gui initializing. i've tried in both debug , release mode , seems make no visible difference except release mode compiles , executes faster.

what doing wrong?

thank time!

edit : i've looked @ error log in ogre directory , found no evidence of errors or failure in installation. narrows down somewhat.

edit 2 : spacegaier has been kind me out, , suggested delete ogre.cfg in order allow recreated. thinks perhaps settings used on website not work machine.

the code not seem reach point configuration display launched, though source code compiles successfully.

edit 3: debug log:

'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\ogre_project.exe', symbols loaded.
'ogre_project.exe': loaded 'c:\windows\syswow64\ntdll.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\kernel32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\kernelbase.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\ogremain_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\user32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\gdi32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\lpk.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\usp10.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\msvcrt.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\advapi32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\sechost.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\rpcrt4.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\sspicli.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\cryptbase.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\shell32.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\shlwapi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\msvcp110d.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\msvcr110d.dll', symbols loaded.
'ogre_project.exe': loaded 'c:\windows\syswow64\ws2_32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\nsi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\ois_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\dinput8.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\ogreoverlay_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\msvcp100d.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\msvcr100d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\imm32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\msctf.dll', symbols loaded (source information stripped).
creating resource group general
creating resource group internal
creating resource group autodetect
scenemanagerfactory type 'defaultscenemanager' registered.
registering resourcemanager type material
registering resourcemanager type mesh
registering resourcemanager type skeleton
movableobjectfactory type 'particlesystem' registered.
archivefactory archive type filesystem registered.
archivefactory archive type zip registered.
archivefactory archive type embeddedzip registered.
dds codec registering
freeimage version: 3.15.3
program uses freeimage, free, open source image library supporting common bitmap formats. see http://freeimage.sourceforge.net details
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,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti
registering resourcemanager type highlevelgpuprogram
registering resourcemanager type compositor
movableobjectfactory type 'entity' registered.
movableobjectfactory type 'light' registered.
movableobjectfactory type 'billboardset' registered.
movableobjectfactory type 'manualobject' registered.
movableobjectfactory type 'billboardchain' registered.
movableobjectfactory type 'ribbontrail' registered.
loading library .\rendersystem_direct3d9_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\rendersystem_direct3d9_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\d3d9.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\version.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\d3d8thk.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\dwmapi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\d3dx9_43.dll', symbols loaded (source information stripped).
installing plugin: d3d9 rendersystem
d3d9 : direct3d9 rendering subsystem created.
'ogre_project.exe': loaded 'c:\windows\syswow64\uxtheme.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\nvd3dum.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\psapi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\ole32.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\nvspcap.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\oleaut32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\setupapi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\cfgmgr32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\devobj.dll', symbols loaded (source information stripped).
thread 'win32 thread' (0x23f0) has exited code 0 (0x0).
d3d9: driver detection starts
d3d9: driver detection ends
plugin installed
loading library .\rendersystem_direct3d11_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\rendersystem_direct3d11_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\d3d11.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\dxgi.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\d3dcompiler_43.dll', cannot find or open pdb file
installing plugin: d3d11 rendersystem
d3d11 : direct3d11 rendering subsystem created.
'ogre_project.exe': loaded 'c:\windows\syswow64\dxgidebug.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\wintrust.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\crypt32.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\msasn1.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\nvwgf2um.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\bcrypt.dll', symbols loaded (source information stripped).
thread 'win32 thread' (0x2f4c) has exited code 0 (0x0).
d3d11: driver detection starts
d3d11: driver detection ends
plugin installed
loading library .\rendersystem_gl_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\rendersystem_gl_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\glu32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\opengl32.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\ddraw.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\dciman32.dll', symbols loaded (source information stripped).
installing plugin: gl rendersystem
opengl rendering subsystem created.
'ogre_project.exe': loaded 'c:\windows\syswow64\nvoglv32.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\windows\syswow64\wtsapi32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\ntmarta.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\wldap32.dll', symbols loaded (source information stripped).
'ogre_project.exe': loaded 'c:\windows\syswow64\powrprof.dll', symbols loaded (source information stripped).
thread 'win32 thread' (0x2f34) has exited code 0 (0x0).
'ogre_project.exe': unloaded 'c:\windows\syswow64\powrprof.dll'
'ogre_project.exe': loaded 'c:\windows\syswow64\winsta.dll', symbols loaded (source information stripped).
thread 'win32 thread' (0x2598) has exited code 0 (0x0).
thread 'win32 thread' (0x33e4) has exited code 0 (0x0).
thread 'win32 thread' (0xf1c) has exited code 0 (0x0).
plugin installed
loading library .\plugin_particlefx_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_particlefx_d.dll', cannot find or open pdb file
installing plugin: particlefx
particle emitter type 'point' registered
particle emitter type 'box' registered
particle emitter type 'ellipsoid' registered
particle emitter type 'cylinder' registered
particle emitter type 'ring' registered
particle emitter type 'hollowellipsoid' registered
particle affector type 'linearforce' registered
particle affector type 'colourfader' registered
particle affector type 'colourfader2' registered
particle affector type 'colourimage' registered
particle affector type 'colourinterpolator' registered
particle affector type 'scaler' registered
particle affector type 'rotator' registered
particle affector type 'directionrandomiser' registered
particle affector type 'deflectorplane' registered
plugin installed
loading library .\plugin_bspscenemanager_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_bspscenemanager_d.dll', cannot find or open pdb file
installing plugin: bsp scene manager
plugin installed
loading library .\plugin_cgprogrammanager_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_cgprogrammanager_d.dll', cannot find or open pdb file
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\cg.dll', cannot find or open pdb file
installing plugin: cg program manager
plugin installed
loading library .\plugin_pczscenemanager_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_pczscenemanager_d.dll', cannot find or open pdb file
installing plugin: portal connected zone scene manager
pczone factory type 'zonetype_default' registered
plugin installed
loading library .\plugin_octreezone_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_octreezone_d.dll', cannot find or open pdb file
installing plugin: octree zone factory
plugin installed
loading library .\plugin_octreescenemanager_d
'ogre_project.exe': loaded 'c:\users\nightmask3\cworkspace\ogresdk\bin\debug\plugin_octreescenemanager_d.dll', cannot find or open pdb file
installing plugin: octree scene manager
plugin installed
--* ogre initialising
--* version 1.9.0 (ghadamon)
thread 'win32 thread' (0x22f8) has exited code 0 (0x0).
thread 'win32 thread' (0x3010) has exited code 0 (0x0).

edit 4:

alright, problem solved. switched environment visual studio 2013 , used same settings pre - built binaries made lothar here: ogre3d.org/forums/viewtopic.php?f=9&t=79550&start=25 man deserves award.

posting answer clarity.

i've seen multiple occurrences of problem during search answer, makes me think might happens regularity. if else runs similar situation, here's how fixed it:

1) problem seems have been caused tied visual studio 2010, i'm not sure if specific environment, or error in project settings or other issue that. triple checked settings i'm confident may linked vs 2010, on machine @ least.

2) running windows 7 64 bit system potential cause problem. unsure of whether or not had use 64 bit prebuilt binaries provided on website or 32 bit version. stood sense should use stable 1.9 32 bit version did installation, , did not work @ all. if have 64 bit system, might answer looking for.

2) install microsoft visual studio 2013 if don't have it. ide recognized unreal engine 4, @ least provides unified work environment.

3) download prebuilt binaries of ogre v1.9 kindly compiled user called lothar on ogre3d forums. these meant used on 64 bit system , expressly compiled vs2013, doubt they'll work on other configuration.

http://www.ogre3d.org/forums/viewtopic.php?f=27&t=79550&p=504669&hilit=2013#p504699

4) use guide provided on ogre3d site configure project environment in vs 2013 needs to work ogre.

http://www.ogre3d.org/tikiwiki/tiki-index.php?page=installing+the+ogre+sdk

5) download tutorial framework files , include them in project.

6) set target machine type 'x86' 'x64' in visual studio.

7) compile , run, lo , behold! application executes successfully. (hopefully)

hope of use someone! spacegaier time in helping me out.


Comments