again .. i added my src code into the cmake settings to build it and i got the 
same error :


Linking CXX executable charts.wt
Undefined symbols for architecture x86_64:
  "ColorPickDialog::ColorPickDialog(Wt::WColor*)", referenced from:
      ChartConfig::func() in ChartConfig.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]: *** [examples/webapp/charts.wt] Error 1
make[1]: *** [examples/webapp/CMakeFiles/charts.wt.dir/all] Error 2
make: *** [all] Error 2



i guess i should adjust my code applying the same fix that was applied to the 
git version.

can you help me ?

the src code is available here :

http://geohab.org/trac/browser/code/webapp


thanks!!!




Il giorno Jun 26, 2012, alle ore 9:04 PM, Massimo Di Stefano ha scritto:

> Sorry,
> 
> i saw only now this issue was posted on the readmine.
> 
> the GIT version build fine on lion using both homebrew or macports to install 
> boost 
> 
> 
> Thanks,
> 
> Massimo.
> 
> 
> Il giorno Jun 26, 2012, alle ore 8:07 PM, Massimo Di Stefano ha scritto:
> 
>> 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