libann-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile problems (was Re: [libann-users] Where to download libann?)


From: Zbynek Winkler
Subject: compile problems (was Re: [libann-users] Where to download libann?)
Date: Fri, 20 Feb 2004 19:36:44 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208

John Darrington wrote:

I have verified the integrity of the libann-1.4.tar.gz tarball
following the November crack of Savannah, and uploaded it again to the
server.

It's now again available for download.  Sorry for the delay in doing
this.
Thanks.

Please post to this list if there are any problems.
I am using cygwin and I am having some troubles compiling.

'make demo' fails saying:
g++ -c -I /usr/local/include -I . -I . -I ./demos/common -I ./demos -I demos -g demos/main.cc -o de
mos/main.o
demos/main.cc:40: error: syntax error before `/' token
demos/main.cc: In function `int main(int, char**)':
demos/main.cc:78: error: call of overloaded `log(int&)' is ambiguous
/usr/include/math.h:58: error: candidates are: double log(double)
/usr/include/c++/3.3.1/cmath:422: error:                 long double
  std::log(long double)
/usr/include/c++/3.3.1/cmath:411: error: float std::log(float)
make: *** [demos/main.o] Error 1

I do not understand the error since there is no 'log(int&)' call in the main.cc file. It could be some macro magic though.

I am also not able to create the documentation. What are the steps to do so? Just 'make' in the 'doc' directory tells me make: *** No rule to make target `doc/libann.texinfo', needed by `doc/libann.d'. Stop.

Zbynek

--
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]