<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                        BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}                        body{FONT-SIZE:12.1pt; COLOR:#001; FONT-FAMILY:宋体,serif;}                </STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.23588"><BASE
target=_blank></HEAD>
<BODY
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0"><STATIONERY>
<DIV><FONT color=#000000 size=3 face=宋体>Hi</FONT></DIV>
<DIV><FONT color=#000000 size=3> I am trying to compile the project
Ipopt-vc8 (which belongs to the solution IpOpt-ifort.sln in
$Ipopt_Install_Dir\Ipopt\MSVisualStudio\v8-ifort) in MSVS8.0, and get the
following errors when perform linking:</FONT></DIV>
<DIV><FONT color=#000000 size=3></FONT> </DIV>
<DIV><FONT color=#000000 size=3>...</FONT></DIV>
<DIV><FONT color=#000000 size=3>... (compiling OK!)</FONT></DIV>
<DIV>Linking...(errors hereafter!)<BR>1> Creating library
D:\ipopt\Ipopt-3.11.8\Ipopt\MSVisualStudio\v8-ifort\Debug\Ipopt-vc8.lib and
object
D:\ipopt\Ipopt-3.11.8\Ipopt\MSVisualStudio\v8-ifort\Debug\Ipopt-vc8.exp<BR>1>IpZeroMatrix.obj
: error LNK2001: unresolved external symbol "private: static unsigned int
Ipopt::TaggedObject::unique_tag_" (<A
href="mailto:?unique_tag_@TaggedObject@Ipopt@@0IA">?unique_tag_@TaggedObject@Ipopt@@0IA</A>)<BR>1>IpGenTMatrix.obj
: error LNK2001: unresolved external symbol "private: static unsigned int
Ipopt::TaggedObject::unique_tag_" (<A
href="mailto:?unique_tag_@TaggedObject@Ipopt@@0IA">?unique_tag_@TaggedObject@Ipopt@@0IA</A>)<BR>1>IpSymTMatrix.obj
: error LNK2001: unresolved external symbol "private: static unsigned int
Ipopt::TaggedObject::unique_tag_" (<A
href="mailto:?unique_tag_@TaggedObject@Ipopt@@0IA">?unique_tag_@TaggedObject@Ipopt@@0IA</A>)<BR>1>IpTripletHelper.obj
: error LNK2001: unresolved external symbol "private: static unsigned int
Ipopt::TaggedObject::unique_tag_" (<A
href="mailto:?unique_tag_@TaggedObject@Ipopt@@0IA">?unique_tag_@TaggedObject@Ipopt@@0IA</A>)<BR>1>IpSumSymMatrix.obj
: error LNK2001: unresolved external symbol "private: static unsigned int
Ipopt::TaggedObject::unique_tag_" (<A
href="mailto:?unique_tag_@TaggedObject@Ipopt@@0IA">?unique_tag_@TaggedObject@Ipopt@@0IA</A>)</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV> </DIV>
<DIV>As far as I know, the errors are most likely caused by the uninitialization
of the static class member "TaggedObject::unique_tag_", however,it is defined in
iptaggedobject.hpp and initialized in iptaggedobject.cpp exactly! </DIV>
<DIV>Why? I have no idea, Can you give me some hint to settle these
problems?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>peckham</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2
face=Verdana>2014-06-01</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN
id=_FlashSignName></SPAN></FONT></DIV></STATIONERY></BODY></HTML>