[ptx] vigra included in sourcecode again

Stewart C. Russell scruss at sympatico.ca
Sun Jul 4 03:09:39 BST 2004


Pablo d'Angelo wrote:
> 
> I decided to include the patched vigra headers + the enhanced vigra image load/save
> routines completely into the source dir.

Hi Pablo,

Thanks for this -- it means I got Hugin built under Gentoo without major 
strife. I did need to fix your configure script, 'cos it was very broken 
for gtk2. I hardcoded some changes:

*** configure.bak       Sat Jul  3 21:09:32 2004
--- configure   Sat Jul  3 21:12:28 2004
***************
*** 44,50 ****
   }

   if (!$gtk_vers) {
!     $gtk_vers=1;
   }

   if (!($platform eq "unix" || $platform eq "win32")) {
--- 44,50 ----
   }

   if (!$gtk_vers) {
!     $gtk_vers=2;
   }

   if (!($platform eq "unix" || $platform eq "win32")) {
***************
*** 83,89 ****
   if ($platform eq "win32") {
       $XRC_LFLAGS="-lwx_msw_xrc-2.4";
   } elsif ($platform eq "unix") {
!     $XRC_LFLAGS="-lwx_gtk_xrc-2.4";
       # add gtk path.
       if ($gtk_vers == 1) {
           $WXWIN_CFLAGS = $WXWIN_CFLAGS . " " . `gtk-config --cflags`;
--- 83,89 ----
   if ($platform eq "win32") {
       $XRC_LFLAGS="-lwx_msw_xrc-2.4";
   } elsif ($platform eq "unix") {
!     $XRC_LFLAGS="-lwx_gtk2_xrc-2.4";
       # add gtk path.
       if ($gtk_vers == 1) {
           $WXWIN_CFLAGS = $WXWIN_CFLAGS . " " . `gtk-config --cflags`;

This worked with:

* hugin_2004_07_03-17_50.tgz
* wxGTK 2.4.2-1
* fftw 3.0.1
* boost 1.31.0
* panotools rpm converted with rpm2targz, then installed from /

I'm really glad this works now, as I can use it for windfarm 
visualisation for my job.

cheers,
  Stewart


More information about the ptX mailing list