Project

General

Profile

SAWT running great on WinXP, now help is needed to build WT 3.0.0 on Linux

Added by Sev Ax over 16 years ago

Hi,
I have built WT on Windows and it's working fine.
I have created a small app using Visual Studio and now I want to publish it on the web.
Because I don't want to use my PC as a web server, I thought it would be better to use a hosting
account I have, which appears to offer several facilities. But I'll need to port everything to Linux.
So I did those :

- Installed Cmake 2.8 --- OK

- Installed boost 1.41 --- OK

- Built boost --- OK

- Ran ccmake and cmake for WT as required --- OK

  • Attempted to "make"....here is that I get problems. (not so OK)
    I get an error and I can't figure out what's wrong. Here is the message :

Building CXX object src/CMakeFiles/wt.dir/Wt/WApplication.o
In file included from /home/jdevelop/progs/boost_1_41_0/include/boost/thread/future.hpp:12,
from /home/jdevelop/progs/boost_1_41_0/include/boost/thread.hpp:24,
from /home/jdevelop/progs/WT/src/web/WebSession.h:14,
from /home/jdevelop/progs/WT/src/Wt/WApplication.C:18:
/home/jdevelop/progs/boost_1_41_0/include/boost/exception_ptr.hpp:43: error: looser throw specifier for `virtual boost::exception_ptr::~exception_ptr()'
/home/jdevelop/progs/boost_1_41_0/include/boost/exception/detail/exception_ptr_base.hpp:27: error: overriding `virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()'
make[2]: * [src/CMakeFiles/wt.dir/Wt/WApplication.o] Error 1
make[1]: * [src/CMakeFiles/wt.dir/all] Error 2
make: * [all] Error 2

Unfortunately my experience with Linux is limited.
I would appreciate it if some knowledgeable people would be kind enough to help me out.


Replies (2)

KD RE: WT running great on WinXP, now help is needed to build WT 3.0.0 on Linux - Added by Koen Deforche over 16 years ago

Hey,

We hadn't seen that error yet, and apparently, it is an error in boost 1.41.
http://old.nabble.com/looser-throw-specifier-for-virtual-boost::exception_ptr::\~exception_ptr()-td26730067.html

It seems you will need a different version of boost as there is no workaround for it ?

Regards,
koen

SA RE: WT running great on WinXP, now help is needed to build WT 3.0.0 on Linux - Added by Sev Ax over 16 years ago

You are right : I installed boost 1.40 instead, and it works !
Thanks for the help, Koen !

    (1-2/2)