Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index


Hi,

On Mon, Oct 13, 2014 at 01:47:56PM -0430, PICCORO McKAY Lenz wrote:
I have error building the etonyek library, i enabled on config script the
--disable-weffc option at configure, and also i used the lasted 0.0.4 with
compatibility patch for boost, or i have a missing library in my boost
instalation?

how i can made built with glib 2.24, boost 1.42 and libc 2.7, here the
build error here:

Noone has ever tried to build with boost that old. The oldest version
that is known to work is 1.47.


libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I../../inc
-I/usr/include/libwpd-0.9 -I/usr/include/libxml2 -DNDEBUG -g -O2 -Wall
-Wextra -Wshadow -pedantic -c KEYShape.cpp  -fPIC -DPIC -o .libs/KEYShape.o
KEYShape.cpp: In function 'std::deque<libetonyek::<unnamed>::Point,
std::allocator<libetonyek::<unnamed>::Point> >
libetonyek::<unnamed>::rotatePoint(const libetonyek::<unnamed>::Point&,
unsigned int)':
KEYShape.cpp:140: error: 'two_pi' is not a member of 'm'

That is because the Math.Constants module in 1.42 does not contain that
constant yet. You need to update your boost. Alternatively, you can try
commit 26e7262646fa221c0aebfd47881ec34f063980e6 from master (but I have
no idea if it applies cleanly on libetonyek-0-0 branch). Or you can
patch the code to replace m::two_pi by 2 * m::pi.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.