[ptx] Problems compiling hugin with libpano from sourceforge
project
douglas wilkins
dgswilkins at yahoo.co.uk
Sat Feb 19 17:08:41 GMT 2005
Hi there,
--- Edouard Gomez <ed.gomez at free.fr> wrote:
> Hello,
>
> It's now been a few months i didn't compile hugin
> from sources, and
> yesterday i wanted to update the complete toolchain
> as i had some free
> time.
>
> So i grabed the wxwidgets 2.5.3 sources again from
> wxwidgets. Compiled/installed flawlessly.
>
> Then i got the sources of the libpano project from
> http://panotools.sourceforge.net/, configured with:
> ./configure --prefix=/mnt/vrac/opt/hugin
> --with-java=/mnt/vrac/opt/java
>
> Then compiled/installed flawlessly
>
> So finally i checkout'ed a fresh version of hugin
> CVS, configured with:
> ./configure --with-pano=/mnt/vrac/opt/hugin
> --prefix=/mnt/vrac/opt/hugin
>
> Tried to compile and i got:
> g++ -DHAVE_CONFIG_H -I. -I../../src/include
> -I../../src/foreign
> -I../../src/include
> -I..
>
-I/mnt/vrac/opt/wxwidgets/lib/wx/include/gtk2-ansi-release-2.5
> -I/mnt/vrac/opt/wxwidgets/include/wx-2.5
> -DGTK_NO_CHECK_CASTS
> -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> -D_LARGEFILE_SOURCE=1
> -DXTHREADS -pthread -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include
> -I/usr/X11R6/include -I/usr/include/atk-1.0
> -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include
> -I/mnt/vrac/opt/hugin/include -DHasPANO -g
> -O2 -MT ImageCache.lo -MD -MP -MF
> .deps/ImageCache.Tpo -c
> ImageCache.cpp -o ImageCache.o
> In file included from
> ../../src/include/PT/PanoToolsInterface.h:38,
> from
> ../../src/include/panoinc.h:81,
> from ImageCache.cpp:30:
> /mnt/vrac/opt/hugin/include/pano12/panorama.h:69:92:
> windows.h: No such
> file or directory
This is a bit strange. The relevant part from
panorama.h:
#ifdef __Win__
#ifndef __NO_SYSTEM__
#include <windows.h> // including this
causes problems with libjpeg
#endif
#define MAX_PATH_LENGTH 260
// was MAX_PATH
#undef PATH_SEP
#define PATH_SEP
'\\'
#else
#define MAX_PATH_LENGTH 512
#endif
As you can see, the include is only triggered if
__Win__ is defined (and __NO_SYSTEM__ is not), and you
are using a linux platform with GTK2. Perhaps you
could send me the config.log from both panotools and
hugin?
>
> Is that a known problem, or did i do something wrong
> compiling other
> stuff ?
Not a known problem - the "config.log"'s will tell me
more :-)
regards,
Doug
___________________________________________________________
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com
More information about the ptX
mailing list