[ptx] New features in current hugin CVS

Jean-Luc Coulon (f5ibh) jean-luc.coulon at wanadoo.fr
Fri Sep 10 17:04:09 BST 2004


Le 09.09.2004 16:12:54, Jean-Luc Coulon (f5ibh) a écrit :
> Le 09.09.2004 00:46:11, Pablo d'Angelo a écrit :
>> Hi!
>> 
>> I've got internet at home again...
> 
> [ ... ]
> 
> I got a compile  error:
> 
> g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk-2.4 - 
> DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES  
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/ 
> include -I../  -I../foreign  -c -o .obj/MainFrame.o MainFrame.cpp
> In file included from MainFrame.cpp:36:
> ../include/vigra_ext/Correlation.h: In function  
> `vigra_ext::CorrelationResult vigra_ext::PointFineTune(const IMAGE&,  
> vigra::Diff2D, int, const IMAGE&, vigra::Diff2D, int)':
> ../include/vigra_ext/Correlation.h:246: error: there are no arguments  
> to `correlateImageFast' that depend on a template parameter, so a  
> declaration of `correlateImageFast' must be available
> ../include/vigra_ext/Correlation.h:246: error: (if you use `- 
> fpermissive', G++ will accept your code, but allowing the use of an  
> undeclared name is deprecated)
> ../include/vigra_ext/Correlation.h: In function  
> `vigra_ext::CorrelationResult vigra_ext::PointFineTuneRotSearch(const  
> IMAGE&, vigra::Diff2D, int, const IMAGE&, vigra::Diff2D, int, double,  
> double, int)':
> ../include/vigra_ext/Correlation.h:419: error: there are no arguments  
> to `correlateImageFast' that depend on a template parameter, so a  
> declaration of `correlateImageFast' must be available
> make[3]: *** [.obj/MainFrame.o] Error 1

I have done what it asked in the error messaeg: I have addded the
-fpermissive flag and managed to compile the package.

Regards

Jean-luc
> 
> Regards
> 
> Jean-Luc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.email-lists.org/pipermail/ptx/attachments/20040910/c1f0bcb8/attachment.bin


More information about the ptX mailing list