I used this command:

cmake -DBOOST_DIR=/opt/local -DBOOST_INCLUDE_DIRS=/opt/local/include
-DBOOST_VERSION=1_42 -DBOOST_COMPILER=xgcc42 ../

On Tue, May 4, 2010 at 1:53 AM, Dmitriy Igrishin <[email protected]> wrote:
> Hey Alexei,
>
> Did you try to pass BOOST_DIR and BOOST_VERSION to cmake?
>
> Regards,
> Dmitriy
>
> 2010/5/3 Alexei Vinidiktov <[email protected]>
>>
>> Thanks for your input, Dmitriy.
>>
>> I have libboost_date_time-mt.a, libboost_date_time-mt.dylib in
>> /opt/local/lib, and date_time and date_time.hpp in
>> /opt/local/include/boost
>>
>> All the other boost libs and hpp files are in the same directories.
>> They've got to be visible to the linker.
>>
>> Any thoughts?
>>
>> On Mon, May 3, 2010 at 9:35 PM, Dmitriy Igrishin <[email protected]>
>> wrote:
>> > Hey Alexei,
>> >
>> > Seems to Boost.Date_Time library not present on you system
>> > or not visible to linker.
>> >
>> > Regards,
>> > Dmitriy
>> >
>> > 2010/5/3 Alexei Vinidiktov <[email protected]>
>> >>
>> >> Hello,
>> >>
>> >> I'm trying to compile Wt on Snow Leopard. I'm using boost and cmake
>> >> from MacPorts.
>> >>
>> >> I've successfully built two libraries (libwt.3.1.2.dylib and
>> >> libwtdbo.3.1.2.dylib), but when it came to building
>> >> libwtdbosqlite3.dylib, I got the following error:
>> >>
>> >> Linking CXX shared library libwtdbosqlite3.dylib
>> >> Undefined symbols:
>> >>  "boost::gregorian::greg_month::get_month_map_ptr()", referenced from:
>> >>      boost::gregorian::date
>> >>
>> >>
>> >> boost::date_time::parse_date<boost::gregorian::date>(std::basic_string<char,
>> >> std::char_traits<char>, std::allocator<char> > const&, int)in
>> >> Sqlite3.o
>> >> ld: symbol(s) not found
>> >> collect2: ld returned 1 exit status
>> >> make[2]: *** [src/Wt/Dbo/backend/libwtdbosqlite3.3.1.2.dylib] Error 1
>> >> make[1]: *** [src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/all] Error
>> >> 2
>> >> make: *** [all] Error 2
>> >>
>> >> --
>> >> Alexei Vinidiktov
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> _______________________________________________
>> >> witty-interest mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/witty-interest
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > witty-interest mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/witty-interest
>> >
>> >
>>
>>
>>
>> --
>> Alexei Vinidiktov
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>



-- 
Alexei Vinidiktov

------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to