Hi Tim,

Try "qmake pvQt.pro" then "make clean" then "make".

It builds fine on my Ubuntu (amd64).

-- Tom

On Oct 10, 9:28 pm, "Tim Nugent" <[EMAIL PROTECTED]> wrote:
> Any tips on building in Ubuntu?
>
> Installed qtopengl-dev e
>
> I got:
>
> [EMAIL PROTECTED]:~/src/pvqt$ make
> g++ -Wl,--no-undefined -o bin/pvQt build/main.o build/pvQtPic.o
> build/pvQtView.o build/MainWindow.o build/GLwindow.o build/pvQt_QTVR.o
> build/picTypeDialog.o build/pictureTypes.o build/moc_pvQtPic.o
> build/moc_pvQtView.o build/moc_MainWindow.o build/moc_GLwindow.o
> build/moc_picTypeDialog.o build/moc_pictureTypes.o    -L/usr/lib
> -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
> build/GLwindow.o: In function `GLwindow::equi_file(QStringList)':
> /home/tnugent/src/pvqt/src/GLwindow.cpp:114: undefined reference to
> `pvQtView::showPic(pvQtPic*)'
> build/GLwindow.o: In function `GLwindow::cube_files(QStringList)':
> /home/tnugent/src/pvqt/src/GLwindow.cpp:137: undefined reference to
> `pvQtView::showPic(pvQtPic*)'
> build/GLwindow.o: In function `GLwindow::QTVR_file(QString)':
> /home/tnugent/src/pvqt/src/GLwindow.cpp:90: undefined reference to
> `pvQtView::showPic(pvQtPic*)'
> build/GLwindow.o: In function `GLwindow':
> /home/tnugent/src/pvqt/src/GLwindow.cpp:13: undefined reference to
> `pvQtView::pvQtView(QWidget*)'
> /home/tnugent/src/pvqt/src/GLwindow.cpp:13: undefined reference to
> `pvQtView::pvQtView(QWidget*)'
> build/moc_pvQtView.o: In function `pvQtView::qt_metacall(QMetaObject::Call,
> int, void**)':
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:92: undefined reference to
> `pvQtView::setPan(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:93: undefined reference to
> `pvQtView::setTilt(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:94: undefined reference to
> `pvQtView::setSpin(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:95: undefined reference to
> `pvQtView::setZoom(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:96: undefined reference to
> `pvQtView::setDist(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:97: undefined reference to
> `pvQtView::step_pan(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:98: undefined reference to
> `pvQtView::step_tilt(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:99: undefined reference to
> `pvQtView::step_zoom(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:100: undefined reference to
> `pvQtView::step_roll(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:101: undefined reference to
> `pvQtView::step_dist(int)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:102: undefined reference to
> `pvQtView::reset_view()'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:103: undefined reference to
> `pvQtView::home_view()'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:104: undefined reference to
> `pvQtView::full_frame()'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:105: undefined reference to
> `pvQtView::super_fish()'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:106: undefined reference to
> `pvQtView::showPic(pvQtPic*)'
> /home/tnugent/src/pvqt/build/moc_pvQtView.cpp:107: undefined reference to
> `pvQtView::picChanged()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x14):
> undefined reference to `pvQtView::~pvQtView()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x18):
> undefined reference to `pvQtView::~pvQtView()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x40):
> undefined reference to `pvQtView::sizeHint() const'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x44):
> undefined reference to `pvQtView::minimumSizeHint() const'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x50):
> undefined reference to `pvQtView::mousePressEvent(QMouseEvent*)'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x5c):
> undefined reference to `pvQtView::mouseMoveEvent(QMouseEvent*)'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0xe8):
> undefined reference to `pvQtView::initializeGL()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0xec):
> undefined reference to `pvQtView::resizeGL(int, int)'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0xf0):
> undefined reference to `pvQtView::paintGL()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x110):
> undefined reference to `non-virtual thunk to pvQtView::~pvQtView()'
> build/moc_pvQtView.o:(.rodata._ZTV8pvQtView[vtable for pvQtView]+0x114):
> undefined reference to `non-virtual thunk to pvQtView::~pvQtView()'
> collect2: ld returned 1 exit status
> make: *** [bin/pvQt] Error 1
>
> 2008/10/10 mike watson <[EMAIL PROTECTED]>
>
>
>
> > Tom Sharpless wrote:
>
> > > Building pvQt requires the Qt development framework, which is huge but
> > > reliable and easy to use, and zlib, which is tiny and ubiquitous.
> > > There  is a prebuilt win32 (MinGW) executable on SF, along with the
> > > needed MinGW and Qt DLLs.  It is in a self extractor that only runs on
> > > Windows, but soon there will be a source tar too.  And you can check
> > > out the source tree with "svn co
> >https://pvqt.svn.sourceforge.net/svnroot/pvqt
> > > pvqt ".
> > Built on ubuntu intrepid (well once I realised my default ws qt3). Seems
> > to work fine and proved to be an amusing distraction this evening.
--~--~---------~--~----~------------~-------~--~----~
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