On 16 Okt., 21:58, Dale Beams <[email protected]> wrote:
> I've had an exhausting week, and have decided to rest before i collapse.  I 
> do know that hugin will build.  Make sure > you have gettext and look through 
> the list of wx stuff ... "sudo aptitude search wx"

Hi Dale!
Please don't stress yourself because I'm moaning about my build
problems, since so far this is only my private endeavour to get to a
state where I can start looking at the sources (I've been trying for
some time now, first on Windows/minGW, where I managed to build
libpano13, but had to give up on hugin, and now on Ubuntu, where I
succeeded to build on plain Ubuntu 10.4, but I couldn't get my camera
to work there. So I migrated to Kubuntu 10.10 where the EOS 450D works
fine, but now I can't build...) so it's just me, no need to hurry.
Rest well, thanks for the good work!

> Towards the bottom of the page is PanoGLView.  
> http://www.tatteredmoons.org/hugin/deb/ubuntu/10.10/20101015/panoglvi...

I can't get your panoglview package to work for me, neither on my
clean-ish vm [see below] nor on my normal Kubuntu 10.10 environment
[see also below], but I tried to build it myself, too:
It failed spectacularly, also with wxWidgets-related code, which is
one reason for my suspicions about the wxWidgets code used per default
by Kubuntu 10.10. Look at this:

make[1]: Betrete Verzeichnis '/home/kfj/src/panoglview/pglv.hg/src'
if g++ -DPACKAGE_NAME=\"panoglview\" -DPACKAGE_TARNAME=\"panoglview\" -
DPACKAGE_VERSION=\"0.2.2\" -DPACKAGE_STRING=\"panoglview\ 0.2.2\" -
DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.    -I/usr/lib/wx/
include/base-unicode-release-2.8 -I/usr/include/wx-2.8 -
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread -g -O2 -MT
panoglview-panoapp.o -MD -MP -MF ".deps/panoglview-panoapp.Tpo" -c -o
panoglview-panoapp.o `test -f 'panoapp.cpp' || echo './'`panoapp.cpp;
\
        then mv -f ".deps/panoglview-panoapp.Tpo" ".deps/panoglview-
panoapp.Po"; else rm -f ".deps/panoglview-panoapp.Tpo"; exit 1; fi
In file included from panointeractivecanvas.h:16,
                 from panoframe.h:22,
                 from panoapp.cpp:35:
panocanvas.h:146: error: expected class-name before ‘{’ token
panocanvas.h:148: error: ISO C++ forbids declaration of ‘wxPoint’ with
no type
panocanvas.h:148: error: expected ‘,’ or ‘...’ before ‘&’ token
panocanvas.h:150: error: ‘wxPaintEvent’ has not been declared
panocanvas.h:151: error: ‘wxSizeEvent’ has not been declared
panocanvas.h:152: error: ‘wxEraseEvent’ has not been declared
panocanvas.h:159: error: ISO C++ forbids declaration of ‘wxImage’ with
no type
panocanvas.h:159: error: expected ‘,’ or ‘...’ before ‘&’ token
panocanvas.h:181: error: ‘wxSize’ does not name a type
panocanvas.h:184: error: ‘wxPoint’ does not name a type
panocanvas.h:185: error: ‘wxPoint’ does not name a type
panocanvas.h:186: error: ‘wxPoint’ does not name a type
In file included from panoframe.h:22,
                 from panoapp.cpp:35:
panointeractivecanvas.h:25: error: expected class-name before ‘{’
token
panointeractivecanvas.h:36: error: ISO C++ forbids declaration of
‘wxPoint’ with no type
panointeractivecanvas.h:36: error: expected ‘,’ or ‘...’ before ‘&’
token
panointeractivecanvas.h:37: error: ‘wxKeyEvent’ has not been declared
panointeractivecanvas.h:38: error: ‘wxKeyEvent’ has not been declared
panointeractivecanvas.h:39: error: ‘wxMouseEvent’ has not been
declared
panointeractivecanvas.h:40: error: ‘wxTimerEvent’ has not been
declared
panointeractivecanvas.h:41: error: ‘wxPaintEvent’ has not been
declared
panointeractivecanvas.h:42: error: ‘wxSizeEvent’ has not been declared
panointeractivecanvas.h:79: error: ISO C++ forbids declaration of
‘wxPoint’ with no type
panointeractivecanvas.h:79: error: expected ‘,’ or ‘...’ before ‘&’
token
panointeractivecanvas.h:92: error: ‘wxPoint’ does not name a type
panointeractivecanvas.h:93: error: ‘wxPoint’ does not name a type
panointeractivecanvas.h:94: error: ‘wxPoint’ does not name a type
panointeractivecanvas.h:95: error: ‘wxTimer’ does not name a type
In file included from panoapp.cpp:35:
panoframe.h:51: error: invalid use of incomplete type ‘struct wxFrame’
/usr/include/wx-2.8/wx/utils.h:50: error: forward declaration of
‘struct wxFrame’
panoframe.h:53: error: ISO C++ forbids declaration of ‘wxPoint’ with
no type
panoframe.h:53: error: expected ‘,’ or ‘...’ before ‘&’ token
panoframe.h:58: error: ‘wxCommandEvent’ has not been declared
panoframe.h:59: error: ‘wxCommandEvent’ has not been declared
panoframe.h:60: error: ‘wxCommandEvent’ has not been declared
panoframe.h:61: error: ‘wxCommandEvent’ has not been declared
panoframe.h:62: error: ‘wxCommandEvent’ has not been declared
panoframe.h:63: error: ‘wxCommandEvent’ has not been declared
panoframe.h:64: error: ‘wxCommandEvent’ has not been declared
panoframe.h:65: error: ‘wxCommandEvent’ has not been declared
panoframe.h:66: error: ‘wxCommandEvent’ has not been declared
panoframe.h:67: error: ‘wxCommandEvent’ has not been declared
panoframe.h:68: error: ‘wxCommandEvent’ has not been declared
panoframe.h:69: error: ‘wxCommandEvent’ has not been declared
panoframe.h:70: error: ‘wxTimerEvent’ has not been declared
panoframe.h:71: error: ‘wxCommandEvent’ has not been declared
panoframe.h:81: error: ‘wxTimer’ does not name a type
panoapp.cpp: In member function ‘virtual bool panoApp::OnInit()’:
panoapp.cpp:41: error: ‘wxInitAllImageHandlers’ was not declared in
this scope
panoapp.cpp:42: error: ‘wxDefaultPosition’ was not declared in this
scope
panoapp.cpp:42: error: ‘wxSize’ was not declared in this scope
panoapp.cpp:44: error: ‘class panoFrame’ has no member named ‘Show’
panoapp.cpp:50: error: ‘SetTopWindow’ was not declared in this scope
panoapp.cpp: In function ‘wxAppConsole* wxCreateApp()’:
panoapp.cpp:54: error: cannot allocate an object of abstract type
‘panoApp’
panoapp.h:27: note:   because the following virtual functions are pure
within ‘panoApp’:
/usr/include/wx-2.8/wx/app.h:89: note:  virtual int
wxAppConsole::OnRun()
make[1]: *** [panoglview-panoapp.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/kfj/src/panoglview/pglv.hg/src'
make: *** [all-recursive] Fehler 1

When I install your package on my clean-sh vm and try and run it, this
happens:

k...@vb-k1010:~$ panoglview
panoglview: error while loading shared libraries:
libwx_gtk2u_richtext-2.8.so.0: cannot open shared object file: No such
file or
directory

so I tried to install libwxgtk:

k...@vb-k1010:~$ sudo apt-get install libwxgtk2.8-0
Paketlisten werden gelesen...
Fertig
Abhängigkeitsbaum wird
aufgebaut
Statusinformationen werden eingelesen... Fertig
Vorgeschlagene
Pakete:
 
libgnomeprintui2.2-0
Die folgenden NEUEN Pakete werden
installiert:
  libwxgtk2.8-0
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht
aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen noch 0B von 3.347kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 9.306kB Plattenplatz zusätzlich benutzt.
(Lese Datenbank ... 125014 Dateien und Verzeichnisse sind derzeit
installiert.)
Entpacke libwxgtk2.8-0 (aus .../
libwxgtk2.8-0_2.8.11.0-0ubuntu4_i386.deb) ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/
libwxgtk2.8-0_2.8.11.0-0ubuntu4_i386.deb (--unpack):
 defektes Tar-Dateisystem - Paketarchiv ist
defekt                               <<<<<<<<< worrying. KFJ
dpkg-deb: Unterprozess einfügen mit Signal (Broken pipe) getötet
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/libwxgtk2.8-0_2.8.11.0-0ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
k...@vb-k1010:~$

If I run the package on my normal Kubuntu 10.10, I run into different
problems:

k...@anja:~$ panoglview
The program 'panoglview' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 345 error_code 9 request_code 137 minor_code 8)
  (Note to programmers: normally, X errors are reported
asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error()
function.)
k...@anja:~$

hmmmm... this is all quite frustrating. Sorry to bother you with my
tedious difficulties, but maybe one of the error messages rings a
bell. If the german output of my systems is a problem, I can try and
provide the same in english, but I think the error messages should be
comprehensible just the same.

with regards
KFJ

-- 
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

Reply via email to