#132 CVS code will not build - missing file/files?

open
nobody
None
5
2007-01-08
2007-01-08
No

The file src/bltPictDraw.c around line 473 contains the following preprocessor directive:

#include "bltPaintDraw.c"

There is no file bltPaintDraw.c in cvs. So the code will not build.

Discussion

  • Bill Northcott

    Bill Northcott - 2007-02-18

    Logged In: YES
    user_id=108591
    Originator: YES

    I now discover that bltPaintDraw.c is just an existing file renamed.

    There are three platform specific files: bltWinPainter.c, bltUNIXPainter.c and bltMacOSXPainter.c.

    By renamine the appropriate one to bltPaintDraw.c I got the package to build, and I could launch a wish shell. It crashed as soon as I tried run a demo but it is progress.

     
  • Nobody/Anonymous

    Logged In: NO

    After "touch" the above file the resulting library failed with missing symbols.

    BTW. The following changed TCL/TK-stubs part in configure.in works also with builds
    outside the source tree:

    if test "${blt_enable_stubs}" = "yes" ; then
    AC_DEFINE_UNQUOTED([USE_TCL_STUBS], [1], [Define if Tcl stubs are used.])
    AC_DEFINE_UNQUOTED([USE_TK_STUBS], [1], [Define if Tk stubs are used.])
    if test "x${TCL_STUB_LIB_SPEC}" = "x" ; then
    TCL_STUBS_SPEC="-L${TCL_LIB_DIR} -ltclstub${TCL_LIB_VERSION}"
    else
    TCL_STUBS_SPEC="${TCL_STUB_LIB_SPEC}"
    fi
    AC_SUBST(TCL_STUBS_SPEC)
    if test "x${TK_STUB_LIB_SPEC}" = "x" ; then
    TK_STUBS_SPEC="-L${TK_LIB_DIR} -ltkstub${TK_LIB_VERSION}"
    else
    TK_STUBS_SPEC="${TK_STUB_LIB_SPEC}"
    fi
    AC_SUBST(TK_STUBS_SPEC)
    fi

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks