Hi all,<br><br> I have just downloaded the Ipopt-3.2.1 codes and tried to compile it on my windows machine. I use Visual studio .net 2003 to open the MSVC solution file provided in the codes. Then I found the following error while compiling the library:
<br><br>IpCompoundSymMatrix.cpp<br>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1112) : error C2065: '_Myoff' : undeclared identifier<br> c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1102) : while compiling class-template member function 'std::vector<_Ty,_Ax>::const_iterator &std::vector<_Ty,_Ax>::const_iterator::operator +=(std::vector<_Ty,_Ax>::const_iterator::difference_type)'
<br> with<br> [<br> _Ty=bool,<br> _Ax=std::allocator<bool><br> ]<br> c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1455) : see reference to class template instantiation 'std::vector<_Ty,_Ax>::const_iterator' being compiled
<br> with<br> [<br> _Ty=bool,<br> _Ax=std::allocator<bool><br> ]<br> c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\vector(1454) : while compiling class-template member function 'std::vector<_Ty,_Ax>::const_reference std::vector<_Ty,_Ax>::operator [](std::vector<_Ty,_Ax>::size_type) const'
<br> with<br> [<br> _Ty=bool,<br> _Ax=std::allocator<bool><br> ]<br> f:\Documents\Visual Studio Projects\Ipopt-3.2.1\Ipopt\src\LinAlg\IpCompoundSymMatrix.cpp(228) : see reference to class template instantiation 'std::vector<_Ty,_Ax>' being compiled
<br> with<br> [<br> _Ty=bool,<br> _Ax=std::allocator<bool><br> ]<br><br><br>It happens when the compiling is dealing with the following line of codes:<br><br>std::vector< bool > allocate_row(irow+1, false);
<br><br><br>Does anyone encounter the similar problem? How can I get rid of this error? Thank you for your help!<br>