Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: compilation error: new project from scratch

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: compilation error: new project from scratch


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: compilation error: new project from scratch
  • Date: Mon, 27 Jun 2011 18:24:02 +0200
  • Organization: GeometryFactory

On lundi 27 juin 2011 18:08:41 vanimurarka wrote:
> Hi,
>
> I managed to remove the errors being generated from moc_Viewer.obj by
> including QGLViewerd2.lib and psapi.lib in the Linker->Input->Additional
> Dependencies setting in my VS project settings. I cannot see how to remove
> the following error that remains:
>
> Error 1 error LNK2019: unresolved external symbol "public: __thiscall
> Viewer::Viewer(class QWidget *,bool)"
> (??0Viewer@@QAE@PAVQWidget@@_N@Z)
> referenced in function "public: void __thiscall
> Ui_qttrialClass::setupUi(class QMainWindow *)"
> (?setupUi@Ui_qttrialClass@@QAEXPAVQMainWindow@@@Z)
> qttrial.obj

You should include Viewer.cpp in your project. That is probably in that file
that the constructor of Viewer is defined.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page