Cannot find python/Python.h when compiling pyconfig/Object.cpp

Bug #298028 reported by Daniel Bültmann
2
Affects Status Importance Assigned to Milestone
openWNS Library
Fix Committed
High
Karsten Klagges

Bug Description

When building on intrepid g++ reports the following error:

g++ -o .build/dbg/openwns-library/openwns-library--series--0.9/src/pyconfig/Object.os -c -g -O0 -fno-inline -fPIC -Iinclude -I/usr/include/python2.5 .build/dbg/openwns-library/openwns-library--series--0.9/src/pyconfig/Object.cpp
In file included from .build/dbg/openwns-library/openwns-library--series--0.9/src/pyconfig/Object.cpp:28:
include/WNS/Python.hpp:31:27: error: python/Python.h: No such file or directory

Python.h is located at /usr/include/python2.5/Python.h

This is correctly added to the compilers include path, but the include statement should not have the python/ prefix

Changed in openwns-library:
milestone: none → openwns-library-0.9beta2
importance: Undecided → Critical
Changed in openwns-library:
assignee: nobody → karsten.klagges
importance: Critical → High
status: New → Confirmed
Changed in openwns-library:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.