Newbie question: Where is python23_bcpp.lib?

De La Maza Michael A GS-11 AFSPC/XPYS Michael.DeLaMaza at PETERSON.af.mil
Mon Apr 26 15:01:46 EDT 2004


Under Windows, I'm trying to make a program (Gambit Python APIs) using
Borland (i.e., "make -f borland").
 
The Borland make file, shown below, wants python23_bcpp.lib in
$(PYTHONDIR)\libs\.
 
Unfortunately, there is no such file (error shown below).  There is a
python23.lib file but simply substituting python23_bcpp.lib with
python23.lib does not work.
 
Can anyone help?  Is this a problem with the borland.mak file or is it a
problem with my install of Python?  (I can run a "Hello World" program in
Python so Python is not completely broken).
 
Thanks,
Michael de la Maza
 
 
===Make file===
 
#
# $Source: /cvsroot/gambit/gambit/sources/python/borland.mak,v $
# $Date: 2004/04/09 18:25:47 $
# $Revision: 1.2 $
#
# DESCRIPTION:
# Makefile for Borland C++ 5.5 for Python interface
#
 
.AUTODEPEND
 
!include ..\makedef.bcc
 
PYTHONDIR = c:\python23
 
EXTRACPPFLAGS = -v -I$(PYTHONDIR)\include -I$(BCCDIR)\include -I..
-D__BCC55__
EXTRALINKFLAGS = 
 
CFG = ..\gambit32.cfg
 
OPT = -Od
 
.cxx.obj:
      bcc32 $(CPPFLAGS) -P -c {$< }
 
LIBS=gambit $(PYTHONDIR)\libs\python23_bcpp.lib import32 cw32mt
 
LINKFLAGS= /Tpd /Gn /q /x  /L$(BCCDIR)\lib;.. $(EXTRALINKFLAGS)
OPT = -Od
DEBUG_FLAGS=
 
CPPFLAGS= $(WXINC) $(EXTRACPPFLAGS) $(OPT) @$(CFG)
 
all:  gbt
 
gbt:    gbt_wrap.obj 
  ilink32 $(LINKFLAGS) @&&!
c0d32.obj gbt_wrap.obj
_gbt.pyd
nul
$(LIBS)
gbt.def
 
!
 
SWIGFILES = \
    behav.i \
    game.i \
    gbt.i \
    infoset.i \
    mixed.i \
    nash.i \
    node.i \
    outcome.i \
    player.i \
    rational.i
 
gbt_wrap.cxx:   $(SWIGFILES)
        swig -c++ -python gbt.i
 
 
clean:
        -erase *.obj
        -erase *.exe
        -erase *.res
        -erase *.map
        -erase *.rws
 
 
==Error=====
 
C:\Temp\Gambit 09712\gambit-0.97.1.2\sources\python>make -f borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
        ilink32 /Tpd /Gn /q /x /LC:\BORLAND\BCC55\lib;..  @MAKE0000.@@@
Fatal: Unable to open file 'PYTHON23_BCPP.LIB'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040426/1dd3c9d7/attachment.html>


More information about the Python-list mailing list