27 Jun 2012 02:07
build wt on osx lion (wrong arch)
Hi All,
i'm tring to build WT-3.2.1 on a mac osx lion
i installed boost using port
sudo port install boost
then i tried to build wt :
cmake -DBOOST_DIR=/opt/local -DBOOST_VERSION=1_49 -DCMAKE_OSX_ARCHITECTURES=x86_64
but i received this error :
2 warnings generated.
[ 77%] Building C object src/CMakeFiles/wt.dir/Wt/Auth/bcrypt/wrapper.o
Linking CXX shared library libwt.dylib
Undefined symbols for architecture x86_64:
"boost::filesystem3::detail::file_size(boost::filesystem3::path const&,
boost::system::error_code*)", referenced from:
Wt::FileUtils::size(std::string const&) in FileUtils.o
"boost::filesystem3::detail::last_write_time(boost::filesystem3::path const&,
boost::system::error_code*)", referenced from:
Wt::FileUtils::lastWriteTime(std::string const&) in FileUtils.o
"boost::filesystem3::detail::status(boost::filesystem3::path const&,
boost::system::error_code*)", referenced from:
Wt::FileUtils::exists(std::string const&) in FileUtils.o
Wt::FileUtils::isDirectory(std::string const&) in FileUtils.o
Wt::FileUtils::listFiles(std::string const&, std::vector<std::string,
std::allocator<std::string> >&) in FileUtils.o
"boost::filesystem3::path::filename() const", referenced from:
(Continue reading)
RSS Feed