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/external/cpptcl/changes_orxonox.diff

    r5781 r8351  
    1 --- cpptcl.cc   So Feb  8 23:14:34 2009
    2 +++ cpptcl.cc   So Feb  8 23:13:07 2009
    3 @@ -320,7 +320,7 @@
     1--- cpptcl.cc   Fri Apr 22 12:18:47 2011
     2+++ cpptcl.cc   Fri Apr 22 12:20:02 2011
     3@@ -16,7 +16,8 @@
     4 using namespace Tcl;
     5 using namespace Tcl::details;
     6 using namespace std;
     7-using namespace boost;
     8+// boost::shared_ptr conflicts with the new std::shared_ptr
     9+//using namespace boost;
     10 
     11 
     12 result::result(Tcl_Interp *interp) : interp_(interp) {}
     13@@ -166,7 +167,7 @@
     14 {
     15 
     16 // map of polymorphic callbacks
     17-typedef map<string, shared_ptr<callback_base> > callback_interp_map;
     18+typedef map<string, boost::shared_ptr<callback_base> > callback_interp_map;
     19 typedef map<Tcl_Interp *, callback_interp_map> callback_map;
     20 
     21 callback_map callbacks;
     22@@ -179,7 +180,7 @@
     23 policies_map call_policies;
     24 
     25 // map of object handlers
     26-typedef map<string, shared_ptr<class_handler_base> > class_interp_map;
     27+typedef map<string, boost::shared_ptr<class_handler_base> > class_interp_map;
     28 typedef map<Tcl_Interp *, class_interp_map> class_handlers_map;
     29 
     30 class_handlers_map class_handlers;
     31@@ -320,7 +321,7 @@
    432 
    533           post_process_policies(interp, pol, objv, false);
     
    1038           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    1139           return TCL_ERROR;
    12 @@ -363,7 +363,7 @@
     40@@ -363,7 +364,7 @@
    1341 
    1442           post_process_policies(interp, pol, objv, true);
     
    1947           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    2048           return TCL_ERROR;
    21 @@ -430,7 +430,7 @@
     49@@ -430,7 +431,7 @@
    2250                Tcl_GetString(Tcl_GetObjResult(interp)),
    2351                object_handler, static_cast<ClientData>(chb), 0);
     
    2856           Tcl_SetResult(interp, const_cast<char*>(e.what()), TCL_VOLATILE);
    2957           return TCL_ERROR;
     58@@ -490,7 +491,7 @@
     59 }
     60 
     61 void class_handler_base::register_method(string const &name,
     62-     shared_ptr<object_cmd_base> ocb, policies const &p)
     63+     boost::shared_ptr<object_cmd_base> ocb, policies const &p)
     64 {
     65      methods_[name] = ocb;
     66      policies_[name] = p;
     67@@ -989,7 +990,7 @@
     68 }
     69 
     70 void interpreter::add_function(string const &name,
     71-     shared_ptr<callback_base> cb, policies const &p)
     72+     boost::shared_ptr<callback_base> cb, policies const &p)
     73 {
     74      Tcl_CreateObjCommand(interp_, name.c_str(),
     75           callback_handler, 0, 0);
     76@@ -999,13 +1000,13 @@
     77 }
     78 
     79 void interpreter::add_class(string const &name,
     80-     shared_ptr<class_handler_base> chb)
     81+     boost::shared_ptr<class_handler_base> chb)
     82 {
     83      class_handlers[interp_][name] = chb;
     84 }
     85 
     86 void interpreter::add_constructor(string const &name,
     87-     shared_ptr<class_handler_base> chb, shared_ptr<callback_base> cb,
     88+     boost::shared_ptr<class_handler_base> chb, boost::shared_ptr<callback_base> cb,
     89      policies const &p)
     90 {
     91      Tcl_CreateObjCommand(interp_, name.c_str(),
Note: See TracChangeset for help on using the changeset viewer.