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:
      Wt::FileUtils::listFiles(std::string const&, std::vector<std::string, 
std::allocator<std::string> >&) in FileUtils.o
  
"boost::filesystem3::detail::directory_iterator_increment(boost::filesystem3::directory_iterator&,
 boost::system::error_code*)", referenced from:
      Wt::FileUtils::listFiles(std::string const&, std::vector<std::string, 
std::allocator<std::string> >&) in FileUtils.o
  
"boost::filesystem3::detail::directory_iterator_construct(boost::filesystem3::directory_iterator&,
 boost::filesystem3::path const&, boost::system::error_code*)", referenced from:
      
boost::filesystem3::directory_iterator::directory_iterator(boost::filesystem3::path
 const&) in FileUtils.o
  "boost::filesystem3::detail::dir_itr_close(void*&, void*&)", referenced from:
      boost::filesystem3::detail::dir_itr_imp::~dir_itr_imp() in FileUtils.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/libwt.3.2.1.dylib] Error 1
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
MacBook-Pro-di-Massimo:wt-3.2.1 epifanio$ 


thanks!!!

Massimo.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to