ivanmunguia / vdrift-ogre

Automatically exported from code.google.com/p/vdrift-ogre
0 stars 0 forks source link

Compilation error #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checkout latest git (as of 16 apr, 11.45 GMT)
2. Run CMake
3. Run make

What is the expected output? What do you see instead?
The error I get is

/home/user/StuntRally/source/editor/OgreApp.h:262: error: ‘Message’ has not 
been declared
/home/user/StuntRally/source/editor/OgreApp.h:262: error: ‘MessageBoxStyle’ 
has not been declared
In file included from /home/user/StuntRally/source/editor/StartPos.cpp:2:
/home/user/StuntRally/source/editor/OgreApp.h:262: error: ‘Message’ has not 
been declared
/home/user/StuntRally/source/editor/OgreApp.h:262: error: ‘MessageBoxStyle’ 
has not been declared

What version are you using? On what operating system?
Latest git as of 16 apr, 11.45 GMT, Kubuntu 10.10 64-bit.

Please pick any relevant labels like Component or OpSys related to problem.
* If game crashed please inculde log files: game.cfg, log.txt, ogre.log,
MyGUI.log (editor.cfg, ogre_ed.log for Editor) right after crash, found in
game's user folder (see section Config in Wiki page Paths).

Please provide any additional information below.
The compilation process actually produces an executable; here is the output I 
get when running it (it crashes at once)

$ ./stuntrally
INFO: Ogre plugin directory: 
INFO: Home directory: /home/ocirne94
INFO: Config defaults directory: 
/home/ocirne94/Scrivania/Racing/StuntRally/config
INFO: User config directory: /home/ocirne94/.config/stuntrally
INFO: Data directory: /home/ocirne94/Scrivania/Racing/StuntRally/data
INFO: User data directory: /home/ocirne94/.local/share/games/stuntrally
INFO: Cache directory: /home/ocirne94/.cache/stuntrally
INFO: Log directory: /home/ocirne94/.config/stuntrally
INFO: Starting VDrift-Ogre: 2010-05-01, O/S: Unix-like
INFO: 0 joysticks found.
INFO: Loading car controls from: /home/ocirne94/.config/stuntrally/controls.cfg
INFO: Sound initialization information:
INFO: Obtained audio device:
      Frequency: 44100
      Format: 32784
      Bits per sample: 16
      Channels: 2
      Silence: 0
      Samples: 1024
      Size: 4096
      Sound initialization successful
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
DDS codec registering
FreeImage version: 3.13.1
This program uses FreeImage, a free, open source image library supporting all 
common bitmap formats. See http://freeimage.sourceforge.net for 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,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
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
*-*-* OGRE Initialising
*-*-* Version 1.7.2 (Cthugha)
Loading library /RenderSystem_GL
An exception has occured: OGRE EXCEPTION(7:InternalErrorException): Could not 
load dynamic library /RenderSystem_GL.  System Error: /RenderSystem_GL.so: 
cannot open shared object file: No such file or directory in DynLib::load at 
/home/ocirne94/ror-deps/ogre_src_v1-7-2/OgreMain/src/OgreDynLib.cpp (line 91)
INFO: Exiting
*-*-* OGRE Shutdown
Unregistering ResourceManager for type Compositor
Unregistering ResourceManager for type Font
Unregistering ResourceManager for type Skeleton
Unregistering ResourceManager for type Mesh
Unregistering ResourceManager for type HighLevelGpuProgram
Unregistering ResourceManager for type Material

Original issue reported on code.google.com by ocirn...@gmail.com on 16 Apr 2011 at 10:53

GoogleCodeExporter commented 9 years ago
There are two separate issues here:
1. The compilation error is a duplicate of already existing issue #38 - i.e. 
you are either using too new MyGUI or you have several MyGUI installations. 
Uninstall MyGUI and install the latest stable release of it, 3.0.1. The error 
seems to only be produced by the editor, which is why the game exe is still 
produced.
2. The OGRE plugins are not found. This means that you have probably installed 
OGRE to some weird location. Either install it to standard /usr or /usr/local 
prefix (so that the plugins are in /usr/lib/OGRE or /usr/local/lib/OGRE) or 
start the game with environment variable OGRE_PLUGIN_DIR set to the correct 
location. You can also check issue #48 which relates to this.

Original comment by tapiovie...@gmail.com on 16 Apr 2011 at 11:36