Hey Tobias, 2010/10/11 Tobias Wahl <[email protected]>: > Hi! > > I get the following error compiling the git-version of Wt. > Wt 3.1.5 was installed bevore without errors. > > I tried it with boost version 1.34.1 and 1.43.0 and also the Winst > installation script, always the same error. > > /home/kwest/wt/src/Wt/WResource.C: In member function »void > Wt::WResource::handle(Wt::WebRequest*, Wt::WebResponse*, > Wt::Http::ResponseContinuation*)«: > /home/kwest/wt/src/Wt/WResource.C:87: Fehler: »class > boost::detail::thread::scoped_lock<boost::mutex>« hat kein Element namens > »owns_lock« > make[2]: *** [src/CMakeFiles/wt.dir/Wt/WResource.o] Fehler 1 > make[1]: *** [src/CMakeFiles/wt.dir/all] Fehler 2 > make: *** [all] Fehler 2
Odd enough, that code has not changed since a long time (several months). I verified and this could builds for me using boost 1.37 or 1.43. I also double checked boost reference documentation and according to: http://www.boost.org/doc/libs/1_39_0/doc/html/thread/synchronization.html#thread.synchronization.locks.unique_lock.owns_lock owns_lock() is a method of a UniqueLock concept, and mutex::scoped_lock implements a unique_lock. So, I have no idea why you get this error. Note that boost 1.34.1 is no longer supported by Wt -- you need at least boost >= 1.36. Perhaps 1.34.1 header files are still somewhere in the include path ? Regards, koen ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
