CVS stuff
  • I am trying to get into CVS with the password and I think I have it wrong. I just want access to the ember branch. Can someone give me a walkthrough and also how to do updates and how it works? I am only a little familiar with the CVS process and exporting. I am using LinCVS.

    Thanks
  • Did you check this page: http://worldforge.org/doc/faq/cvs ?

    Basically, it's easier if you just entered into console mode and placed yourself in the root directory of where you want the worldforge sources, a good place might perhaps be ~/worldforge.
    Then enter this commands:

    cvs -d :pserver:cvsanon@cvs.worldforge.org:/home/cvspsrv/worldforge login

    It will ask for a password, enter "cvsanon".
    After that, enter this comman:

    cvs -d :pserver:cvsanon@cvs.worldforge.org:/home/cvspsrv/worldforge co forge/clients/ember


    It will then fetch the ember part from cvs.
  • Everything seems fine. I see I have to export about 6 directories to get it to run.

    Also I like the UI of the new .package files but you can't choose where to install as well as other options that the .run file offers. Both are quite nice.
  • I noticed that I was only getting it to run becase I had the .package installed as well. So when I run it from the CVS directory it seems to run the package version, not the CVS version. So I uninstalled the package and ran it from CVS getting this error.

    KDEInit could not launch 'ember'.:
    Could not find 'ember' executable.


    What would I have to download from CVS to get it to run? I have cyphesis and ember so far. Sorry for all the trouble[/code]
  • I have to first ask you what experience you have of building from source before I better know how to answer your question.
  • A little in a Linux environment.

    EDIT: I see I have to make install. It''s been a while since I learned to compile natively.
  • I really haven't done much so far. Just put together an Inventory.layout in the CEGUI UI editor but now I'm using Mepis/Ubuntu so I can't use that editor but i don't think I need it.

    I have worked on the Inventory.lua script though and am at the part of figuring out what events to use and how to use them to get the DETAILS window to register and be able to drag and drop the Items or Objects AKA draggedContainers.

    I also have to look at that post about positioning the containers I saw on CEGUI.

    Currently I am stuck at just trying to compile CVS. With that I need OGRE 1.2 that was nicely compiled by elendrim

    http://ea-orome.dyndns.org/tmp/ogrenew_1.2.1-1_i386.deb

    I am currently updating Eris to 1.311

    After it all makes, I can get back to the Inventory.

    If you do want the files still, just ask
  • I am getting an error in configure that says that it can't find Makefile.in so I am changing the Makefiles from .am to .in and that seems to be working.

    EDIT: Well that didnt work Now make doesnt work
  • Do you see this help : http://wiki.worldforge.org/wiki/CVS#Configure_and_make

    Check your version of automake
    automake --version


    To change your version of automake if you have to, use this command :
    sudo update-alternatives --config automake
  • Ah that link isnt working and the WIKI is not linked from the front page of worldfoge.org so I couldn't find the WIKI.

    Here is the link:

    http://wiki.worldforge.org/wiki/CVS#How ... ldForge.3F
  • Is there a quicker way to compile ember? Currently it's taking about 20 minutes. Like some XML to precompile what's been compiled?
    Probably first compile is the longest.
  • Well, "make" only compiles those files that have been changed (sort of), so unless you've changed files subsequent compilations should go much quicker.

    There's an utility called "ccache" that can help with compilation times too.

    Since Ember uses so many different third party components it requires a lot of memory during compilation. If you're low on memory it will need to swap to the hard disc which will slow it down.

    Btw., did you run "autogen.sh"?
  • Yah I had to upgrade my versions

    I am getting errors at CVS ember startup

    Mark@1[ember]$ ./ember
    According to my calculations Ember should be installed in /home/Mark/Projects/WorldForge/forge/clients/ember/..
    Updating data from the server, this might take some time on a slow connection (circa 30 Mb of data)
    Warning: Cannot convert string "vlines2" to type Pixmap
    Starting Ember....
    ./ember: line 102: /home/Mark/Projects/WorldForge/forge/clients/ember/../bin/ember.bin: No such file or directory


    Mark@1[ember]$ sh ember.desktop
    ember.desktop: line 1: [Desktop: command not found
    ember.desktop: line 7: client: command not found
    ember.desktop: line 8: client: command not found
    ember.desktop: line 18: X-DCOP-ServiceType=: command not found
    ember.desktop: line 19: X-KDE-StartupNotify=true: command not found
    ember.desktop: line 20: X-KDE-SubstituteUID=false: command not found
    ember.desktop: line 21: X-KDE-Username=: command not found



    Did you get the files I sent?

    Maybe I have to install and configure Cyphesis but the Cyphesis .5.8 .package is not working:

    Checking for required C library versions … failed
    Error: Your copy of glibc, a core system library, is too old for this package.
    You need at least the following symbols in glibc: GLIBC_2.4.

    This error normally means that whoever built the package did not build it correctly.
    Please report the contents of this message to the provider of this package, and
    ask them to rebuild it using apbuild.

    Upgrading glibc is highly dangerous, so we recommend in this situation that you
    compile the app you want to install from the sources if possible. Sorry :(

    Error: Unable to prepare package Cyphesis.
  • I have it running now with the ember.package installed but I am using the CVS version for gameplay

    I will post another thread about running Cyphesis.
  • I have gotten CVS ember to successfully compile but it's not running with the errors listed above. It looks like the CVS version of Ember is not linking to paths properly. I wouldn't know where to change all that to make it work.

    I am not going to work with the .package version of Ember becase I need to compile the whole thing in CVS. If noone is maintaining it should I work on SEAR?
  • If you're compiling the code yourself (i.e. getting it from the cvs repository and then compiling it) you need to install it first before you can run it. By default "configure" will try to put stuff you compile into /usr/local. This works well for system wide applications, but if you want to develop you will instead want to install it somewhere where you have better control over it (and don't need to go into superuser mode whenever you want to change something in the installed directories).

    You therefore at "configure" time specify another "prefix" under which it should be installed. Perhaps "--prefix=$HOME/opt" (.i.e "./configure --prefix=$HOME/opt"). In your case this will install it into /home/Mark/opt. The directory structure in Ember is different in the source code than in the installed location. That's why you _must_ install it first and then run the installed binary. In this case it would be /home/Mark/opt/bin/ember
  • OK got it. I was running the wrong binarys the whole time.
  • I am getiing this error:

    Starting Ember....
    /home/Mark/Projects/WorldForge/forge/clients/ember/opt/bin/../bin/ember.bin: error while loading shared libraries: libCg.so: cannot open shared object file: No such file or directory


    I can't find the CG library in Synaptic.
  • If Ogre didn't install it you will have to download it from the Nvidia site. Since it's not FOSS it can't be put into the repositories.
    You can find a rpm at http://download.nvidia.com/developer/cg ... 1.i386.rpm.
    The site: http://developer.nvidia.com/object/cg_toolkit.html
  • Wow thanks, this is like a little mini game here. But I think testing is what moves a project the fastest. Also this info is probably in the WIki too I think.
  • ERROR:

    Mark@0[bin]$ ./ember
    According to my calculations Ember should be installed in /home/Mark/Projects/WorldForge/forge/clients/ember/opt/bin/..
    Using Java WFUT
    Warning: Cannot convert string "vlines2" to type Pixmap
    Starting Ember....
    Starting Ember version 0.4.1
    Initializing Ember services
    Setting home directory to /home/Mark/.ember
    An exception has occured: An exception has been thrown!

    -----------------------------------
    Details:
    -----------------------------------
    Error #: 9
    Function: DynLib::load
    Description: Could not load dynamic library /home/Mark/Projects/WorldForge/forge/clients/ember/opt/lib/ember/OGRE/Plugin_ParticleFX.so. System Error: /home/Mark/Projects/WorldForge/forge/clients/ember/opt/lib/ember/OGRE/Plugin_ParticleFX.so: cannot open shared object file: No such file or directory.
    File: OgreDynLib.cpp
    Line: 82
    Stack unwinding: <<beginning of stack>>
  • Just didint install those files in opt for some reason. I will try again since I have Cg installed now. If it gets to hard maybe I go back to XP. Theres all this outdated garbage in the OGRE linux readme as well.
  • If you run it by using the ember shell script (as opposed to the ember.bin command) it will default to using the binreloc functionality. By this, it ignores the plugin.cfg file and instead tries to find the plugins in a catalog relative to the ember.bin (it seraches for ../lib/ember/OGRE).

    Instead, make sure that all of the ember media is downloaded to the correct place (to ~/.ember). You can do this by either running the ember shell script, since that will invoke the WFUT command to download it all, or by getting the media from http://amber.worldforge.org/WFUT/ember- ... .1.tar.bz2 and unpacking it into ~/.ember. Then run the ember.bin command. It will parse the plugin.cfg file and load the plugins defined in there (you might need to edit that to make sure that it really point to the directory where Ogre installed its plugins; if you've compiled and installed from source it should be /usr/local/lib/OGRE).

    However, it might all be easier to install the autopackage version (install it as user, i.e. don't supply any password when it asks) found at http://amber.worldforge.org/ember/relea ... 86.package.
  • Those links are not working.

    I am walking away with head down and installing the package file from the download section.
  • Yes, amber has been down this weekend (physical movement of the server). I'll fix it on monday.
  • It's up and running now.
  • ok thanks. I see only the amber server is going now where last month there were 3 servers.

    Also I have CVS successfully running. I just installed it without changing directories as the INSTALL script still wants to put OGRE stuff in the 'usr/local...' and the binaries are looking for it in the opt dirctory. Maybe there is a way to fix that but I want to get to other stuff first.

    Even before that I would like to work on the physics first but I understand that will be in Indri. I almost would rather wait until that is done before I start doing a UI. I'll see. Also I'm not getting textures on the charecter models.

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