On Tue, 2009-08-25 at 20:40 -0400, Yuval Levy wrote: > Hi all > > I wanted to check out James' new addition. Am I the only one who get > build errors? > > [ 83%] Building CXX object > src/hugin1/hugin/CMakeFiles/hugin.dir/PreviewControlPointTool.cpp.o > /home/yuv/src/hugin/src/hugin1/hugin/PreviewControlPointTool.cpp:29:48: > error: hugin_base/panodata/ControlPoint.h: No such file or directory > make[2]: *** > [src/hugin1/hugin/CMakeFiles/hugin.dir/PreviewControlPointTool.cpp.o] > Error 1 > make[1]: *** [src/hugin1/hugin/CMakeFiles/hugin.dir/all] Error 2 > make: *** [all] Error 2 > > this happens consistently on both 32 bit Ubuntu 9.04 and 64 bit Ubuntu > 9.10 (development version) with SVN 4282
I assume Harry van der Wolf had this problem on OSX and commited a platform specific patch for it: http://hugin.svn.sourceforge.net/viewvc/hugin?view=rev&revision=4278 Does it work for everybody's build system if this patch is used? Index: src/hugin1/hugin/PreviewControlPointTool.cpp =================================================================== --- src/hugin1/hugin/PreviewControlPointTool.cpp (revision 4282) +++ src/hugin1/hugin/PreviewControlPointTool.cpp (working copy) @@ -21,13 +21,8 @@ * */ -#ifdef __WXMAC__ - #include <hugin/PreviewControlPointTool.h> - #include <panodata/ControlPoint.h> -#else - #include "PreviewControlPointTool.h" - #include <hugin_base/panodata/ControlPoint.h> -#endif +#include <hugin/PreviewControlPointTool.h> +#include <panodata/ControlPoint.h> #include <wx/platform.h> It works for me and it should work for Harry. James --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx -~----------~----~----~----~------~----~------~--~---
