On Mon, 27 Dec 1999, Seth Gibson wrote:
> On Mon, 27 Dec 1999, Jim Ockers wrote:
> > Okay, thanks for the .bash_profile hints. I have successfully configured and
> > "make"(d) the QT Toolkit. Now trying to run through the "Hello World" tutorial.
> > 
> > Checked many times for syntax errors but I still get the following error
> > when I try to compile with "g++ hello.cc":
> > 
> > /tmp/ccz3wtnp.o: In function `main':
> > /tmp/ccz3wtnp.o(.text+0x17): undefined reference to `QApplication::QApplication(
> > /tmp/ccz3wtnp.o(.text+0x2b): undefined reference to `QString::QString(char const 
>*)'
> > /tmp/ccz3wtnp.o(.text+0x47): undefined reference to 
>`QPushButton::QPushButton(QString const &, QWidget *, char const *)'
> > /tmp/ccz3wtnp.o(.text+0x72): undefined reference to `QPushButton::resize(int, int)'
> > /tmp/ccz3wtnp.o(.text+0x85): undefined reference to 
>`QApplication::setMainWidget(QWidget *)' 
> > ..<clipped the remainder>
> > 
> > Any more hints?
> > 
> > Thanks,
> > -Jim Ockers
> 
> that sounds like a missing or incorrect include statement. . .if you dont mind
> posting or emailing me your code i can sift through it and see if i find
> anything. . .


The undefined reference in the message is pointing back to an object file, more
likely the problem is a missing library in your link path.  




 -- 
Alex
(Go easy on me, I'm a COBOL programmer in real life)

Reply via email to