Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9391 in orxonox.OLD


Ignore:
Timestamp:
Jul 23, 2006, 2:41:44 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: compiles perfectly on windows from here
had to: switch from AC_PREFQ(2.59 → 2.56)
reinvent the lua-lib-stuff, as including liblua in liblualib is mandatory in f windows
remove some unportable line in the md3_animation
@patrick: please can you have a look at md3-animation, the part i have commented out is most possibly the whole readin process

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/acinclude.m4

    r8844 r9391  
    282282     [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"  AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base],
    283283dnl liblualib found
    284       [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"],,
    285       [http://www.lua.org],, [${LUA_LIBS} -ldl -lm])],
     284      [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"], [LUA_LIBS="${LUA_LIBS} -llualib"],
     285      [http://www.lua.org],, [-llua ${LUA_LIBS} -ldl -lm])],
    286286dnl liblua not found (download it)
    287287       [AX_GET_INSTALL_NECESSARY_LIB([http://switch.dl.sourceforge.net/sourceforge/gtksql], [lua-5.0.tar.gz], [lua-5.0], [extern_libs/], [include/*.h lib/*.a])
  • trunk/configure.ac

    r9237 r9391  
    2828## AUTOCONF INIT PHASE ##
    2929#########################
    30 AC_PREREQ(2.59)
     30AC_PREREQ(2.56)
    3131AC_INIT([orxonox], [0.3.5_alpha], [orxonox-dev at mail.datacore.ch])
    3232
     
    604604AM_CONDITIONAL(HAVE_CURL, test "x$have_curl" = "xyes")
    605605
     606
     607 AX_CHECK_REQUIRED_HEADER_LIB([zlib.h], [z], [zlibVersion],,, [http://www.zlib.net])
     608 AX_CHECK_REQUIRED_HEADER_LIB([math.h], [m], [sqrt])
     609
     610
    606611#-----#
    607612# LUA #
     
    619624   fi
    620625fi
    621 
    622 # FIXME: Replace `main' with a function in `-lm':
    623  AX_CHECK_REQUIRED_HEADER_LIB([math.h], [m], [sqrt])
    624  AX_CHECK_REQUIRED_HEADER_LIB([zlib.h], [z], [zlibVersion],,, [http://www.zlib.net])
    625626
    626627# Checks for header files.
  • trunk/src/lib/graphics/importer/md3/md3_animation_cfg.cc

    r8724 r9391  
    8787
    8888    // parse file
    89     while( (read = getline(&cLine, &len, pFile)) != -1) { /*( !this->dataStream.eof()) {*/
     89    /// @FIXME FIXME bensch took this out, cause: not portable
     90      //    while( (read = getline(&cLine, &len, pFile)) != -1) { /*( !this->dataStream.eof()) {*/
     91      /*
    9092      std::string line(cLine);
    9193
     
    175177          this->putAnimation(animation);
    176178        }
    177       }
     179        }
    178180    }
     181      */
    179182  }
    180183
Note: See TracChangeset for help on using the changeset viewer.