creating binaries
  • Hello:

    I have compiled ember (after a hard battle, thank erik for yopur help) and it works well. I am trying to create the rpm. I have 2 PC and a laptop to which I want to install the ember.

    How can I create an installer with what already I have compiled?
    Is it possible to include all the dependences?

    In other words, I want to create an installer who includes everything (to the style windows)

    Thanks
  • If you want to create a rpm, that will be specific for your particular distro and will use shared libs for all dependencies. I.e. you won't include any other libs than the Ember app in the rpm, instead specifying that the Ember rpm is dependent on other rpms being installed.
    This is the preferred and in many different ways superior way of providing packages that is default on almost all linux distributions. The Windows world doesn't have anything resembling this and instead provides large installers where all dependent libs are included in the installer. This is also the way that we do in our .package format, though some libs there are installed by the system (sdl, libpng etc.).
    We already provides the .package which is installable on pretty much all Linux distros, but if you want to do an rpm package you might find some pointers in the spec files used by http://packman.links2linux.de/package/ember
  • I understand what you say to me on the modules of rpm. It seems to me to be brilliant that are like that.
    As I commented, I have other machines with the same configuration and distro. I wanted to avoid to install all the sources and to compile again. Apart from the fact that I have changed the directory of installation and other things. I do not want to return to do everything again. It was difficult.

    I have tried the package. There goes out for me the message of which I have not the sdl. Already I installed all the versions that come with MDV, my distro. Always the same mistake.

    I am going to check the spec to see if I find what happens.

    Thank you
  • Note that the package is for 32-bit system. It will work just fine on 64 bit systems, but you need to install the 32-bit version of libSDL1.2. I use 64 bit Mandriva myself and with the latest version 2008.1 it automatically sets up the 32-bit repositories. With earlier versions I had to do that manually though, for example through http://easyurpmi.zarb.org/

    If you have other machines with the exact same distro you can just install to a certain place and then just copy that whole directory to the other machine. For example, if you do "configure --prefix=/opt/worldforge" when you compile Ogre, CEGUI, the WF libs and Ember, and then copy /opt/worldforge to your other machine, you should be able to run it, as long as /opt/worldforge/lib is in your LD_LIBRARY_PATH.
  • Yes, it work with 32-bit version of libSDL1.2, but, ember crash after select the user. Exactly after select ¨male¨ and send ok.

    This is the message in console:
    Crashed with signal 11, will try to shut down SDL gracefully.


    Thanks
  • What's in ~/.ember/ember.log?
  • Thesse are the last lines:
    [17:44:50] INFO Setting up foliage system.
    [17:44:50] INFO (Ogre) WARNING: Mesh instance 'grassblades' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
    [17:44:50] INFO (Ogre) Can't assign material Examples/GrassBlades to SubEntity of 1 because this Material does not exist. Have you forgotten to define it in a .material script?
    [17:44:50] INFO (Ogre) Mesh: Loading placeholder.mesh.
    [17:44:50] INFO (Ogre) Mesh: Loading environment/field/small_plant/heartblood/normal.mesh.
    [17:44:50] INFO (Ogre) Mesh: Loading environment/field/small_plant/teardrops/normal.mesh.
    [17:44:50] INFO (Ogre) Can't assign material Field/Teardrops to SubEntity of environment/field/teardrops because this Material does not exist. Have you forgotten to define it in a .material script?
    [17:44:50] INFO (Ogre) Mesh: Loading environment/field/small_plant/thingrass/normal.mesh.
    [17:44:50] INFO (Ogre) Can't assign material Field/Thingrass to SubEntity of environment/field/thingrass because this Material does not exist. Have you forgotten to define it in a .material script?
    [17:44:50] FAILURE (Ogre) OGRE EXCEPTION(5:ItemIdentityException): Unable to derive resource group for 3d_objects/plants/tussock/models/small_plant/simplegrass.mesh automatically since the resource was not found. in ResourceGroupManager::findGroupContainingResource at ../../../OgreMain/src/OgreResourceGroupManager.cpp (line 1368)
    [17:44:50] INFO Registering: set_caelumtime
    [17:44:50] INFO Registering: set_time
    [17:44:50] INFO Registering: set_fogdensity
    [17:44:50] INFO Registering: setambientlight
    [17:44:50] INFO (Ogre) Initialising Caelum system...
    [17:44:50] INFO (Ogre) System attributes set up.
    [17:44:50] INFO (Ogre) Generating sky dome material...
    [17:44:50] INFO (Ogre) Material not found; creating...
    [17:44:50] INFO (Ogre) Material [OK]
    [17:44:50] INFO (Ogre) Pass [OK]
    [17:44:50] INFO (Ogre) TextureUnit [OK]
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Creating CaelumSphericDome sphere mesh resource...
    [17:44:50] INFO (Ogre) WARNING: Mesh instance 'CaelumSphericDome' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Sky Dome created.
    [17:44:50] INFO (Ogre) Generating sun material...
    [17:44:50] INFO (Ogre) Material not found; creating...
    [17:44:50] INFO (Ogre) Material [OK]
    [17:44:50] INFO (Ogre) Pass [OK]
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Mesh: Loading 3d_objects/environment/sky/models/sphere/sphere.mesh.
    [17:44:50] INFO (Ogre) Sun created.
    [17:44:50] INFO (Ogre) Generating starfield material...
    [17:44:50] INFO (Ogre) Material not found; creating...
    [17:44:50] INFO (Ogre) Material [OK]
    [17:44:50] INFO (Ogre) Pass [OK]
    [17:44:50] INFO (Ogre) TextureUnit [OK]
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Creating CaelumStarfieldDome sphere mesh resource...
    [17:44:50] INFO (Ogre) WARNING: Mesh instance 'CaelumStarfieldDome' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Starfield created.
    [17:44:50] INFO (Ogre) Texture: Starfield.jpg: Loading 1 faces(PF_B8G8R8,1024x1024x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
    [17:44:50] INFO (Ogre) DONE
    [17:44:50] INFO (Ogre) Texture: EarthClearSky2.png: Loading 1 faces(PF_A8B8G8R8,64x64x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
    [17:44:50] INFO (Ogre) Texture: CloudLayer.png: Loading 1 faces(PF_B8G8R8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
    [17:44:51] INFO (Ogre) Texture: CirrusDetail.png: Loading 1 faces(PF_A8B8G8R8,1024x1024x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,1024x1024x1.
    [17:44:51] INFO (Ogre) Texture: CloudNoise1.png: Loading 1 faces(PF_L8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_L8,128x128x1.


    Before, all are info.

    Thanks
  • Hmm, could you try to move your ~/.ember directory (perhaps by renaming it) and then rerun it?
  • Well, renamed the directory and the same type of errors in the log.

    thanks

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID