I am on Ubuntu 14.04, trying to use clang with boost and wt. boost was successfully compiled with
Select clang as default in system: sudo update-alternatives --config cc sudo update-alternatives --config c++ then: ./bootstrap.sh --with-toolset=clang ./b2 \ --layout=versioned \ toolset=clang \ cxxflags="-stdlib=libc++ -std=c++11 \ -I/usr/local/include \ -I/usr/include \ -I/usr/include/c++/4.8 \ -I/usr/include/x86_64-linux-gnu \ -I/usr/include/x86_64-linux-gnu/c++/4.8" \ variant=debug \ link=shared threading=multi runtime-link=shared address-model=64 install ln -s /usr/local/include/boost-1_57/boost /usr/local/include/boost in wt, I am attempting a build with: cmake \ -D CMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++11\ -I/usr/local/include \ -I/usr/include \ -I/usr/include/c++/4.8 \ -I/usr/include/x86_64-linux-gnu \ -I/usr/include/x86_64-linux-gnu/c++/4.8" \ -D WT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick \ -D CMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" \ -D CMAKE_MODULE_LINKER_FLAGS="-stdlib=libc++" \ -D WT_CPP_11_MODE="-std=c++11" \ -D MULTI_THREADED=ON \ -D RUNDIR=/var/www/wt \ -D WEBUSER=www-data \ -D WEBGROUP=www-data \ -D BOOST_ROOT=/usr/local \ -D BOOST_LIBRARYDIR=/usr/local/lib \ -D BOOST_INCLUDEDIR=/usr/local/include/boost \ -D SHARED_LIBS=ON \ -D CONNECTOR_FCGI=OFF \ -D CONNECTOR_HTTP=ON \ -D USERLIB_PREFIX=lib \ -D Boost_USE_STATIC_LIBS=OFF \ -D Boost_USE_STATIC_RUNTIME=OFF \ -D CONFIGDIR=/etc/wt \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D Boost_ADDITIONAL_VERSIONS=1.57 \ -D Boost_COMPILER=-clang34 \ ../ I get something like: [ 1%] Building CXX object src/CMakeFiles/wt.dir/Wt/PopupWindow.o In file included from /usr/src/wt/src/Wt/PopupWindow.C:7: In file included from /usr/src/wt/src/Wt/WApplication:25: In file included from /usr/src/wt/src/Wt/WObject:136: /usr/local/include/boost-1_57/boost/signals2/trackable.hpp:48:43: error: implicit instantiation of undefined template 'boost::weak_ptr<boost::signals2::detail::trackable_pointee>' weak_ptr<detail::trackable_pointee> get_weak_ptr() const ^ Is clang 3.4 usable with Wt and boost 1.57? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest