wdu / pywt

Python bindings for Wt
Other
6 stars 4 forks source link

debian wheezy build - error on llvm build #8

Open epifanio opened 10 years ago

epifanio commented 10 years ago

Hi, I'm tring to build PyWt on a debian stable 64 bit. I followed the procedure :

git clone pywt
cd pywt
git clone http://github.com/wdu/llvm.git
cd llvm/tools
git clone http://github.com/wdu/clang.git
cd ../../
cd src
git clone git://github.com/kdeforche/wt.git
cd ../
mkdir build
cd build
ccmake ..
# c - configure
# g - generate
make

cmake seems to find all the needed dependencies, this the llvm build log :

Linking CXX static library ../../libLLVMJIT.a
[ 31%] Built target LLVMJIT
Scanning dependencies of target LLVMMCJIT
[ 31%] Building CXX object lib/ExecutionEngine/MCJIT/CMakeFiles/LLVMMCJIT.dir/MCJIT.cpp.o
[ 31%] Building CXX object lib/ExecutionEngine/MCJIT/CMakeFiles/LLVMMCJIT.dir/SectionMemoryManager.cpp.o
Linking CXX static library ../../libLLVMMCJIT.a
[ 31%] Built target LLVMMCJIT
Scanning dependencies of target LLVMAArch64Utils
make[5]: *** No rule to make target `lib/Target/AArch64/AArch64GenSubtargetInfo.inc', needed by `lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/AArch64BaseInfo.cpp.o'.  Stop.
make[4]: *** [lib/Target/AArch64/Utils/CMakeFiles/LLVMAArch64Utils.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [llvm-prefix/src/llvm-stamp/llvm-build] Error 2
make[1]: *** [CMakeFiles/llvm.dir/all] Error 2
make: *** [all] Error 2

Thanks a lot to look into this!

rashadkm commented 10 years ago

I followed the same and not getting any issues related to llvm but I am getting these

In file included from /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gwt_includeShellImpl.h:162:0, from /home/rashad/code/wdu.pywt/src/wt/WtShells.cpp:29: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWAbstractItemView_shell.inc: In static member function ‘static Wt::EventSignalWt::WScrollEvent& WAbstractItemView_shell::staticscrolled(PyCPPClassInstance)’: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWAbstractItemView_shell.inc:196:44: error: ‘ret’ is not a member of ‘Python2CWt::EventSignal<Wt::WScrollEvent&>’ Wt::EventSignalWt::WScrollEvent & r = Python2C< Wt::EventSignalWt::WScrollEvent & >::ret(pyr); ^ In file included from /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gwt_includeShellImpl.h:171:0, from /home/rashad/code/wdu.pywt/src/wt/WtShells.cpp:29: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWTableView_shell.inc: In static member function ‘static Wt::EventSignalWt::WScrollEvent& WTableView_shell::staticscrolled(PyCPPClassInstance)’: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWTableView_shell.inc:112:44: error: ‘ret’ is not a member of ‘Python2CWt::EventSignal<Wt::WScrollEvent&>’ Wt::EventSignalWt::WScrollEvent & r = Python2C< Wt::EventSignalWt::WScrollEvent & >::ret(pyr); ^ In file included from /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gwt_includeShellImpl.h:173:0, from /home/rashad/code/wdu.pywt/src/wt/WtShells.cpp:29: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWTreeView_shell.inc: In static member function ‘static Wt::EventSignalWt::WScrollEvent& WTreeView_shell::static_scrolled(PyCPPClassInstance*)’: /home/rashad/code/wdu.pywt/src/wt/../generated/wt/gWTreeView_shell.inc:84:44: error: ‘ret’ is not a member of ‘Python2CWt::EventSignal<Wt::WScrollEvent&>’ Wt::EventSignalWt::WScrollEvent & r = Python2C< Wt::EventSignalWt::WScrollEvent & >::ret(pyr);

@wdu I am having boost 1.55 Do you think I need to downgrade boost to a different version?