Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 27, 2008, 5:14:22 PM (16 years ago)
Author:
rgrieder
Message:

tolua seems to be created correctly. I the existing toluabind.c file to create a tolua application that creates the actual pimped tolua application. But be aware that modifying the *.lua files will not cause a recompile. You need to tell iit manually.

There was quite a stupid issue with static initialisation (I'm really wondering how that could even work with msvc).

However things don't seem to work yet on tardis, at least not remotely. It seems like Ogre can't initialise when using a vnc session. I'll have to look into that locally at ETZ.

Location:
code/branches/gui/src/orxonox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/CMakeLists.txt

    r1645 r1651  
    6060  OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/tolua/tolua_bind.cc
    6161  COMMAND ${TOLUA_EXE} -n Orxonox -o ../../src/orxonox/tolua/tolua_bind.cc -H ../../src/orxonox/tolua/tolua_bind.h ../../src/orxonox/tolua/tolua.pkg
    62   DEPENDS tolua
     62  DEPENDS tolua ${CMAKE_SOURCE_DIR}/src/orxonox/tolua/tolua.pkg
    6363  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/bin/lib
    6464)
  • code/branches/gui/src/orxonox/GraphicsEngine.cc

    r1641 r1651  
    293293            this->renderWindow_ = root_->initialise(true, "OrxonoxV2");
    294294        }
    295         catch (...)
     295        catch (std::exception& ex)
    296296        {
    297297            COUT(2) << "Error: There was an exception when initialising Ogre Root." << std::endl;
     298                        COUT(1) << ex.what() << std::endl;
    298299            return false;
    299300        }
  • code/branches/gui/src/orxonox/Settings.cc

    r1638 r1651  
    6464    {
    6565        RegisterRootObject(Settings);
    66         gameMode_ = GameMode::GM_Unspecified;
     66        gameMode_ = GameMode::GM_None;
    6767        setConfigValues();
    6868    }
Note: See TracChangeset for help on using the changeset viewer.