yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00023
Re: Help for another compilation error on Fedora Core 3, gcc 3.4.4
Feng, Chen said: (by the date of Mon, 3 Oct 2005 02:23:28 -0400)
> Hi,
> Because the FC4 does not accept the nvidia driver, I have to change to FC3 and
> with gcc 3.4, however, I got the error in ptime.hpp, here is the error
> message:
> //============================================================================
> =
> g++ -c -pipe -Wall -W -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
> -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT
> -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
> -I/usr/lib/qt-3.3/include -o Omega.o Omega.cpp
> In file included from
> /usr/include/boost/date_time/posix_time/posix_time.hpp:14,
> from Omega.hpp:30,
> from Omega.cpp:24:
> /usr/include/boost/date_time/posix_time/ptime.hpp: In constructor
> `boost::posix_time::ptime::ptime(boost::date_time::special_values)':
> /usr/include/boost/date_time/posix_time/ptime.hpp:50: error: no matching
> function for call to `boost::date_time::base_time<boost::posix_time::ptime,
> boost::posix_time::posix_time_system>::base_time(const
> boost::date_time::special_values&)'
you must use boost 1.32, above error occurs with boost 1.31
(another thing to put to FAQ)
--
Janek Kozicki |
References