Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2011, 7:15:14 AM (13 years ago)
Author:
rgrieder
Message:

Merged kicklib2 branch back to trunk (includes former branches ois_update, mac_osx and kicklib).

Notes for updating

Linux:
You don't need an extra package for CEGUILua and Tolua, it's already shipped with CEGUI.
However you do need to make sure that the OgreRenderer is installed too with CEGUI 0.7 (may be a separate package).
Also, Orxonox now recognises if you install the CgProgramManager (a separate package available on newer Ubuntu on Debian systems).

Windows:
Download the new dependency packages versioned 6.0 and use these. If you have problems with that or if you don't like the in game console problem mentioned below, you can download the new 4.3 version of the packages (only available for Visual Studio 2005/2008).

Key new features:

  • *Support for Mac OS X*
  • Visual Studio 2010 support
  • Bullet library update to 2.77
  • OIS library update to 1.3
  • Support for CEGUI 0.7 —> Support for Arch Linux and even SuSE
  • Improved install target
  • Compiles now with GCC 4.6
  • Ogre Cg Shader plugin activated for Linux if available
  • And of course lots of bug fixes

There are also some regressions:

  • No support for CEGUI 0.5, Ogre 1.4 and boost 1.35 - 1.39 any more
  • In game console is not working in main menu for CEGUI 0.7
  • Tolua (just the C lib, not the application) and CEGUILua libraries are no longer in our repository. —> You will need to get these as well when compiling Orxonox
  • And of course lots of new bugs we don't yet know about
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/sound/SoundManager.cc

    r7858 r8351  
    3131#include "SoundManager.h"
    3232
    33 #include <AL/alut.h>
    3433#include <utility>
     34#include <alut.h>
    3535#include <loki/ScopeGuard.h>
    3636
     
    7373        this->bDestructorCalled_ = false;
    7474
     75        // Clear error messages (might be problematic on some systems)
     76        alGetError();
     77        alutGetError();
     78
    7579        // See whether we even want to load
    7680        bool bDisableSound_ = false;
     
    7882        if (bDisableSound_)
    7983            ThrowException(InitialisationAborted, "Sound: Not loading at all");
    80 
    8184        if (!alutInitWithoutContext(NULL, NULL))
    8285            ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError()));
     
    107110        this->device_ = alcOpenDevice(NULL);
    108111        if (this->device_ == NULL)
    109         {
    110             COUT(1) << "Sound: Could not open sound device. Have you installed OpenAL?" << std::endl;
    111 #ifdef ORXONOX_PLATFORM_WINDOWS
    112             COUT(1) << "Sound: Just getting the DLL with the dependencies is not enough for Windows (esp. Windows 7)!" << std::endl;
    113 #endif
    114112            ThrowException(InitialisationFailed, "Sound Error: Could not open sound device.");
    115         }
    116113        Loki::ScopeGuard closeDeviceGuard = Loki::MakeGuard(&alcCloseDevice, this->device_);
    117114
     
    327324        ALenum error = alGetError();
    328325        if (error == AL_INVALID_VALUE)
     326            // @TODO: Follow this constantly appearing, nerve-racking warning
    329327            COUT(2) << "Sound: OpenAL: Invalid listener position" << std::endl;
    330328    }
Note: See TracChangeset for help on using the changeset viewer.