Ok, in DlgManageEntities.cpp replace "slopy = atan2( ( src_y - dst_y ), ( src_x - dst_x ) );" by "slopy = atan2( (double)( src_y - dst_y ), (double)( src_x - dst_x ) );"
I advise you to use beta4.
Regards, -- Fr�d�ric Giudicelli http://www.newpki.org
Guy COSTE wrote:
Hi Fr�d�ric,
Message du 30/11/04 09:38
De : "Fr�d�ric Giudicelli" <[EMAIL PROTECTED]>
A : [EMAIL PROTECTED]
Copie à : Objet : Re: Client compilation error
Hi,
Which OS do yo use and what's your compiler ?
I am using Novell Linux Desktop which is based on SuSE Linux Entreprise Server 9, Kernel Version is 2.6.5-7.109.5-default (more information is available here :http://www.novell.com/products/desktop/index.html?sourceidint=productsmenu_nld_top)
$ gcc -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux Thread model: posix gcc version 3.3.3 (SuSE Linux)
Regards, Guy
Regards, -- Fr�d�ric Giudicelli http://www.newpki.org
Guy COSTE wrote:
Hi,
I have the following problem when compiling client either with beta3 or beta 4 :
c++ -DHAVE_CONFIG_H -I. -I. -I./.. -I../../Includes -DLOCALEDIR= \"/usr/local/share/locale\" -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DWXINTL_NO_GETTEXT_MACRO -I/usr/include/libxml2 -fexceptions -Wall -g -O2 -c -o newpki_client-DlgManageEntities.o `test -f '../DlgManageEntities.cpp' || echo './'`../DlgManageEntities.cpp ../DlgManageEntities.cpp: In function `void DrawArrow(wxDC&, int, int, int, int, const wxColour&, bool)': ../DlgManageEntities.cpp:1017: error: call of overloaded `atan2(int, int)' is ambiguous /usr/include/bits/mathinline.h:425: error: candidates are: double atan2(double, double) /usr/include/g++/cmath:249: error: long double std::atan2(long double, long double) /usr/include/g++/cmath:240: error: float std::atan2(float, float) make: *** [newpki_client-DlgManageEntities.o] Erreur 1
any suggestions ?
Thanks in advance, Guy
_____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
_____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
_____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
_____________________________________________________________________ NewPKI http://www.newpki.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
