On Mon, May 25, 2009 at 3:31 PM, Koen Deforche <[email protected]> wrote: > Hey Richard, > > 2009/5/20 Richard Dale <[email protected]>: >> I'm trying to build the current git version of Wt and I get this error: >> >> [ 7%] Building CXX object src/CMakeFiles/wt.dir/web/WebSession.o >> /home/rdale/src/wt/src/web/WebSession.C:62: error: >> ‘Wt::WebSession::Handler* Wt::WebSession::Handler::threadHandler_’ is >> not a static member of ‘class Wt::WebSession::Handler’ >> make[2]: *** [src/CMakeFiles/wt.dir/web/WebSession.o] Error 1 >> make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2 >> >> I'm building non-threaded version of Wt. The header and source file >> look fine to me: >> >> header: >> #if defined(WT_THREADED) || defined(WT_TARGET_JAVA) >> boost::mutex mutex_; >> static boost::thread_specific_ptr<Handler> threadHandler_; >> #else >> static Handler *threadHandler_; >> #endif // WT_TARGET_JAVA >> >> src: >> #if defined(WT_THREADED) || defined(WT_TARGET_JAVA) >> boost::thread_specific_ptr<WebSession::Handler> WebSession::threadHandler_; >> #else >> WebSession::Handler * WebSession::Handler::threadHandler_; >> #endif > > Are you sure this is the latest git? That should read: > > #if defined(WT_THREADED) || defined(WT_TARGET_JAVA) > boost::thread_specific_ptr<WebSession::Handler> WebSession::threadHandler_; > #else > WebSession::Handler * WebSession::threadHandler_; > #endif
Yes, it all builds fine with the current git thanks - my mail message took a while to arrive on the mailing list and so was a bit out of date. I did report that WAbstractTableModel header is installed, but the corresponding code for it isn't compiled a few weeks ago, and it looks as though it is still the same in the current git: diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9cf7e86..889346a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,6 +62,7 @@ Wt/WAbstractArea.C Wt/WAbstractItemModel.C Wt/WAbstractListModel.C Wt/WAbstractProxyModel.C +Wt/WAbstractTableModel.C Wt/WAbstractToggleButton.C Wt/WAccordionLayout.C -- Richard ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
