Opened 18 years ago

Closed 18 years ago

#267 closed Bugs (Fixed)

Build Boost.Python from mingw gcc

Reported by: shura_zam Owned by: René Rivera
Milestone: Component: python USE GITHUB
Version: None Severity:
Keywords: Cc:

Description

I try compile Boost.Python from minwg, and i recive 
compile error.

Boost: CVS HEAD 2004-05-12
Os: WinXP
Compiler: gcc (GCC) 3.2.3 (mingw special 20030504-1) 
(MinGW-3.1.0-1.exe)
bjam: Boost.Jam  Version 3.1.9. OS=NT.

command line:
c:>boost\libs\python\build>bjam -sTOOLS=mingw -
sPYTHON_ROOT=C:/Lang/Python23 -
sPYTHON_VERSION=2.3

Full output in attached file.

Some output lines:
gcc-C++-
action ..\..\..\bin\boost\libs\python\build\boost_python.dl
l\mingw\release\slice.obj
In file included from 
C:/Lang/sf.net/boost/libs/python/src/slice.cpp:1:
C:/Lang/sf.net/boost/boost/python/slice.hpp:29: 
warning: `dllexport' attribute 
   ignored
C:/Lang/sf.net/boost/boost/python/slice.hpp:29: 
declaration does not declare 
   anything
C:/Lang/sf.net/boost/boost/python/slice.hpp:29: parse 
error before `)' token
C:/Lang/sf.net/boost/libs/python/src/slice.cpp:18: 
prototype for `
   boost::python::slice::slice()' does not match any in 
class `
   boost::python::slice'


Change History (3)

comment:1 by shura_zam, 18 years ago

Logged In: YES 
user_id=980085

If in file slice.hpp insert BOOST_PYTHON_DECL before class 
name, and remove other pos - compile ok.

comment:2 by shura_zam, 18 years ago

Summary: Build Boost.Python from minwg gccBuild Boost.Python from mingw gcc

comment:3 by René Rivera, 18 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.