Fwd: Re: [ptx] Problems compiling hugin with libpano from sourceforge project

Edouard Gomez edouard.gomez at gmail.com
Sun Feb 20 10:50:36 GMT 2005


Here is the list of defines  used by gcc when reaching panorama.h I used
gcc -dM -E /mnt/vrac/opt/hugin/include/pano12/panorama.h

With the define lines  disabled in panorama.h, ImageCache.c compiles w/o
much  problem, but  hugin segfaults  on startup  right after  the splash
screen,  ltrace and  strace  don't  show any  "big"  error. The  program
receives sigsegv but nothing strange  is done in system calls or library
calls

The define list:
#define __DBL_MIN_EXP__ (-1021)
#define __FLT_MIN__ 1.17549435e-38F
#define PTVERSION_FILEVERSION "2.7.0.8\0"
#define PTVERSION_NAME_LONG "LongVersion"
#define PANORAMA_H 
#define __CHAR_BIT__ 8
#define __WCHAR_MAX__ 2147483647
#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
#define __FLT_EVAL_METHOD__ 2
#define __unix__ 1
#define __i486__ 1
#define unix 1
#define __i386__ 1
#define __SIZE_TYPE__ unsigned int
#define __ELF__ 1
#define __DBL_MIN_10_EXP__ (-307)
#define __FINITE_MATH_ONLY__ 0
#define PTVERSION_FILEVERSIONNUMBER 2,7,0,8
#define __GNUC_PATCHLEVEL__ 5
#define __FLT_RADIX__ 2
#define __LDBL_EPSILON__ 1.08420217248550443401e-19L
#define __SHRT_MAX__ 32767
#define __LDBL_MAX__ 1.18973149535723176502e+4932L
#define LONGVERSION "2.7.0.8 , Copyright � 1998-2001, H. Dersch, der at fh-furtwangen.de"
#define VERS1 0x2
#define VERS2 0x00
#define __linux 1
#define __unix 1
#define __LDBL_MAX_EXP__ 16384
#define __LONG_MAX__ 2147483647L
#define __linux__ 1
#define PTVERSION_LEGALCOPYRIGHT "Copyright � 1999, 2000, 2001 Helmut Dersch\0"
#define __SCHAR_MAX__ 127
#define __DBL_DIG__ 15
#define __USER_LABEL_PREFIX__ 
#define linux 1
#define __STDC_HOSTED__ 1
#define __LDBL_MANT_DIG__ 64
#define __FLT_EPSILON__ 1.19209290e-7F
#define __tune_i686__ 1
#define __LDBL_MIN__ 3.36210314311209350626e-4932L
#define __WCHAR_TYPE__ long int
#define __FLT_DIG__ 6
#define __FLT_MAX_10_EXP__ 38
#define __INT_MAX__ 2147483647
#define __i486 1
#define __gnu_linux__ 1
#define __FLT_MAX_EXP__ 128
#define __DECIMAL_DIG__ 21
#define __DBL_MANT_DIG__ 53
#define __WINT_TYPE__ unsigned int
#define __GNUC__ 3
#define __LDBL_MIN_EXP__ (-16381)
#define __LDBL_MAX_10_EXP__ 4932
#define __DBL_EPSILON__ 2.2204460492503131e-16
#define __DBL_MAX__ 1.7976931348623157e+308
#define __tune_pentiumpro__ 1
#define __DBL_MAX_EXP__ 1024
#define LOOP_IMAGE(image,action) { int x,y,bpp=(image)->bitsPerPixel/8; unsigned char *idata; for(y=0; y<(image)->height; y++){ idata = *((image)->data) + y * (image)->bytesPerLine; for(x=0; x<(image)->width;x++, idata+=bpp){ action;} } }
#define __FLT_DENORM_MIN__ 1.40129846e-45F
#define PATH_SEP '/'
#define __LONG_LONG_MAX__ 9223372036854775807LL
#define __FLT_MAX__ 3.40282347e+38F
#define MAX_PATH_LENGTH 512
#define __GXX_ABI_VERSION 102
#define __FLT_MIN_10_EXP__ (-37)
#define __FLT_MIN_EXP__ (-125)
#define i386 1
#define PTVERSION_NAME_LEGALCOPYRIGHT "LegalCopyright"
#define PTVERSION_NAME_FILEVERSION "FileVersion"
#define __GNUC_MINOR__ 3
#define __DBL_MAX_10_EXP__ 308
#define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
#define __DBL_MIN__ 2.2250738585072014e-308
#define __PTRDIFF_TYPE__ int
#define PTVERSION_NAME_COMMENT "Comments"
#define __LDBL_MIN_10_EXP__ (-4931)
#define VERSION "2.6.b1 "
#define __REGISTER_PREFIX__ 
#define __LDBL_DIG__ 18
#define PTVERSION_COMMENT "Fastest\0"
#define __NO_INLINE__ 1
#define __i386 1
#define __FLT_MANT_DIG__ 24
#define __VERSION__ "3.3.5 (Debian 1:3.3.5-8)"

-- 
Edouard Gomez


More information about the ptX mailing list