[ptx] Unable to compile libpano on Ubuntu 6.06

JP jpok at freemail.hu
Wed Jun 7 13:59:58 BST 2006


Paul Atreides a écrit :
> Paul Atreides a écrit :
>> Bruno Postle a écrit :
>>> Paul Atreides wrote:
>>>>
>>>> I've just download the cvs version.
>>>> Unfortunately, it generates the same errors with this output :
>>>>
>>>> Have I forget something ???
>>>
>>> I just looked and Pablo added the fix to libpano CVS three days ago. 
>>>  Can you check that you have this function in both PTcommon.c and 
>>> PTcommon.h:
>>>
>>>   void InsertFileName( fullPath *fp, char *fname )
>>>
>> As said in 
>> http://sourceforge.net/tracker/index.php?func=detail&aid=1487709&group_id=96188&atid=613954 
>> <http://sourceforge.net/tracker/index.php?func=detail&aid=1487709&group_id=96188&atid=613954> 
>>
>> I modified the libpano/javastub.c file adding the line :
>>
>> void InsertFileName ( char* text ) {
>> }
>>
>> This modification solves the problem and compilation of libpano goes 
>> to the end without any errors.
>> Thanks a lot Bruno and Pablo for so fast answer (I'm impressed !!!) 
>> and thanks for Hugin, a must have !
>>
>> (...)
>>
>> Unfortunately, the compilation of Hugin generates also errors. Could 
>> you help me to solve it ?
>> Here is the output :
>>
>> (...)
>> if g++ -DHAVE_CONFIG_H "-I." -I../../src/include -I../../src/foreign 
>> -I../../src/include -I.. 
>> -I/usr/local/lib/wx/include/gtk2-unicode-release-2.6 
>> -I/usr/local/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
>> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 
>> -DNO_GCC_PRAGMA    -I/usr/local/include -DHasPANO -pthread 
>> -I/usr/include -g -O2 -MT UniversalCursor.o -MD -MP -MF 
>> ".deps/UniversalCursor.Tpo" \
>>          -c -o UniversalCursor.o `test -f 'UniversalCursor.cpp' || 
>> echo './'`UniversalCursor.cpp; \
>>        then mv -f ".deps/UniversalCursor.Tpo" 
>> ".deps/UniversalCursor.Po"; \
>>        else rm -f ".deps/UniversalCursor.Tpo"; exit 1; \
>>        fi
>> UniversalCursor.cpp:68:21: erreur: gdk/gdk.h : Aucun fichier ou 
>> répertoire de ce type
>> UniversalCursor.cpp:69:21: erreur: gtk/gtk.h : Aucun fichier ou 
>> répertoire de ce type
>> UniversalCursor.cpp: In constructor 
>> «UniversalCursor::UniversalCursor(const wxImage&)»:
>> UniversalCursor.cpp:224: erreur: invalid use of undefined type 
>> «struct _GtkWidget»
>> /usr/local/include/wx-2.6/wx/defs.h:2733: erreur: forward declaration 
>> of «struct _GtkWidget»
>> UniversalCursor.cpp:225: erreur: «gdk_bitmap_create_from_data» was 
>> not declared in this scope
>> UniversalCursor.cpp:226: erreur: invalid use of undefined type 
>> «struct _GtkWidget»
>> /usr/local/include/wx-2.6/wx/defs.h:2733: erreur: forward declaration 
>> of «struct _GtkWidget»
>> UniversalCursor.cpp:237: erreur: «gdk_cursor_new_from_pixmap» was not 
>> declared in this scope
>> UniversalCursor.cpp:239: erreur: «gdk_bitmap_unref» was not declared 
>> in this scope
>> make[3]: *** [UniversalCursor.o] Erreur 1
>> make[3]: quittant le répertoire « /home/jp/hugin/src/hugin »
>> make[2]: *** [all-recursive] Erreur 1
>> make[2]: quittant le répertoire « /home/jp/hugin/src/hugin »
>> make[1]: *** [all-recursive] Erreur 1
>> make[1]: quittant le répertoire « /home/jp/hugin/src »
>> make: *** [all-recursive] Erreur 1
>>
>> Sorry, but I need any more help...
>> JP
>>
>>
>>
> I've tried to install many libraries related to gtk but always have an 
> error on ./configure  --with-unicode=yes :
>
> checking for wx-config... /usr/bin/wx-config
> checking for wxWindows version >= 2.4.2 (--unicode=yes)... yes 
> (version 2.6.1)
> checking if wxWindows was linked with GTK2... yes
> checking for pkg-config... /usr/bin/pkg-config
> checking for GTK+ - version >= 2.0.3... no
> *** Could not run GTK+ test program, checking why...
> *** The test program failed to compile or link. See the file 
> config.log for the
> *** exact error that occured. This usually means GTK+ is incorrectly 
> installed.
>
> The error in Hugin compilation seems to be related to this faulty GTK+ 
> but I don't know how to solve this.
> JP
>
>
>
Here is the config.log...
JP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 47363 bytes
Desc: not available
Url : https://www.email-lists.org/pipermail/ptx/attachments/20060607/c50fbc49/config-0001.bin


More information about the ptx mailing list