<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2><SPAN class=ul-threaded
style="MARGIN: 0.5em 0pt 0pt -20px"><SPAN class=text-cell> I
build qgis 1.1.0 with msvc successfully . <BR>But when I tried to build
hello_world application in tutorial , I received several link errors.
<BR><BR>main.obj : error LNK2001: unresolved external symbol "public: static
struct QMetaObject const QgsVectorLayer::staticMetaObject"
(?staticMetaObject@QgsVectorLayer@@2UQMetaObject@@B) <BR>1>main.obj : error
LNK2001: unresolved external symbol "public: static struct QMetaObject const
QgsApplication::staticMetaObject"
(?staticMetaObject@QgsApplication@@2UQMetaObject@@B) <BR>1>main.obj : error
LNK2001: unresolved external symbol "public: static struct QMetaObject const
QgsMapLayerRegistry::staticMetaObject"
(?staticMetaObject@QgsMapLayerRegistry@@2UQMetaObject@@B) <BR>1>main.obj :
error LNK2001: unresolved external symbol "public: static struct QMetaObject
const QgsMapLayer::staticMetaObject"
(?staticMetaObject@QgsMapLayer@@2UQMetaObject@@B) <BR><BR>I have add
qgis_core.lib qgis_gui.lib to Additional Dependencies . These two file are built
by myself. <BR><BR>Any help £¿ I have no idea now . Thanks .
</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2009-03-24
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0
size=2><SPAN>rawu</SPAN></FONT></DIV></FONT></BODY></HTML>