Newbie question: Where is python23_bcpp.lib?
Tonio
notarangelotonio at tiscali.it
Tue Apr 27 14:52:53 EDT 2004
"De La Maza Michael A GS-11 AFSPC/XPYS" <Michael.DeLaMaza at PETERSON.af.mil> ha scritto nel messaggio news:mailman.28.1083006128.25742.python-list at python.org...
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'
see here or in the site:
http://www.tismer.com/research/stackless/binaries-pc/python23_d.dll.zip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040427/f114623d/attachment.html>
More information about the Python-list
mailing list