Menu

#46 Windows build problems

open
nobody
None
5
2002-06-08
2002-06-08
No

I'm trying to build BLT (latest source from CVS 86/2002) using
VC6 on Windows XP and have encountered the following
problems:

1) src/blt.mak uses sed to create bltHash.h
from blHash.h.in - this can be worked around by editing
bltHash.h.in
#ifndef WIN32
#ifndef
BLT_INT_H
#ifndef SIZEOF_LONG
#define
SIZEOF_LONG @SIZEOF_LONG@
#endif
#ifndef
SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG
@SIZEOF_LONG_LONG@
#endif
#ifndef
SIZEOF_INT
#define SIZEOF_INT
@SIZEOF_INT@
#endif
#ifndef
SIZEOF_VOID_P
#define SIZEOF_VOID_P
@SIZEOF_VOID_P@
#endif
#ifndef
HAVE_INTTYPES_H
#if
@HAVE_INTTYPES_H@
#define HAVE_INTTYPES_H
1
#endif
#endif
#endif /* !BLT_INT_H
*/

#else
#ifndef BLT_INT_H
#ifndef
SIZEOF_LONG
#define
SIZEOF_LONG4
#endif
#ifndef
SIZEOF_LONG_LONG
#define SIZEOF_LONG_LONG
8
#endif
#ifndef SIZEOF_INT
#define SIZEOF_INT
4
#endif
#ifndef SIZEOF_VOID_P
#define
SIZEOF_VOID_P 4
#endif
#ifndef
HAVE_INTTYPES_H
#if 0
#define
HAVE_INTTYPES_H 1
#endif
#endif
#endif /*
!BLT_INT_H */
#endif /* WIN32 */

2)
bltUnixPipe.c fails to compile - see attached log file
from

nmake -f blt.mak >log

I do not have a fix for this
yet...

Discussion

  • Julian H J Loaring

    Make log file

     
  • Julian H J Loaring

    Logged In: YES
    user_id=112120

    I tried again today and have made better progress

    1) I still
    can't use nmake -f makefile.vc because makefile.vc seems to
    be unix make compatible not nmake compatible.

    2) The
    good news is that using cygwin's make gets much further but I
    get a line error due to the __ftol2 symbol not being resolved. I've
    so far been unable to locate what this is, what is requiring it nor
    which library will statisfy it...

     
  • Julian H J Loaring

    make -f makefile.vc >log 2>&1 output

     
  • Julian H J Loaring

    make -f makefile.vc >log 2>&1 output

     
  • Julian H J Loaring

    Logged In: YES
    user_id=112120

    I tried again today and have made better progress

    1) I still
    can't use nmake -f makefile.vc because makefile.vc seems to
    be unix make compatible not nmake compatible.

    2) The
    good news is that using cygwin's make gets much further but I
    get a line error due to the __ftol2 symbol not being resolved. I've
    so far been unable to locate what this is, what is requiring it nor
    which library will statisfy it...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.