wdu / pywt

Python bindings for Wt
Other
6 stars 4 forks source link

build error : c++config.h not found #6

Open epifanio opened 11 years ago

epifanio commented 11 years ago

cmake seems not able to find c++config.h

a locate c++config.h shows it is here :

/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/iostream:39:10: fatal error: 'bits/c++config.h' file not found

(linux 64bit - ubuntu 13.04)

error temporary fixed with a sim link in /usr/local/include :

sudo ln -s /usr/include/x86_64-linux-gnu/c++/4.7/bits /usr/local/include/

wdu commented 11 years ago

And when exactly does this happen?

epifanio commented 11 years ago

from a fresh pywt checkout :

(i removed the previous sim.link)

wdu commented 11 years ago

That looks like a bad compiler installation on ubuntu 13.04. What compiler are you using?

google links me to this: https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1095357 but that talks about clang.

epifanio commented 11 years ago

gcc --version gcc (Ubuntu 4.7.2-22ubuntu1) 4.7.2

p.s. can be of any help, if i switch to a 12.04 version, i'm on osx using VM's

wdu commented 11 years ago

I developed on OSX (with portage gcc compilers for Wt/boost, clang for python_dump) and ubuntu 12.04.2 LTS

epifanio commented 11 years ago