Can't compile basic boost.python program
I'm following the Boost.python tutorial, and having some problems with
compiling, of all things. Here's the file I'm trying to compile:
#include
Derakon wrote:
I'm following the Boost.python tutorial, and having some problems with compiling, of all things. Here's the file I'm trying to compile:
#include
As near as I can figure, my install of Boost got screwed up. Does anyone else have a different interpretation?
Your addition of the Boost include path is wrong. If it where correct
the above would be:
#include
Rene Rivera wrote:
Derakon wrote:
I'm following the Boost.python tutorial, and having some problems with compiling, of all things. Here's the file I'm trying to compile:
#include
As near as I can figure, my install of Boost got screwed up. Does anyone else have a different interpretation?
Your addition of the Boost include path is wrong. If it where correct the above would be:
#include
You need to add the ../include/boost-1_32 directory, not the ../include directory.
Oops.. replied a bit too fast there :-) Read you message again and noticed you did include the correct path. So two things I can see wrong.. 1. The above #include problem I mentioned. 2. You need to tell GCC where to find the Python headers. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
participants (2)
-
Derakon
-
Rene Rivera