<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all:<br><br>I have previously reported some problems in finding out the errors in my program. I was unable to determine the location and cause of the errors as I had compiled the code as a windows application using the Microsoft Foundation Class. Because of this I was unable to obtain any console output.<br><br>To rectify this, I rewrote the entire application as a console application, substituting the STL string class for the MFC CString etc. When I try to link this to IpOpt library, there is a clash of libraries - IpOpt was linked to (I believe libcmt.lib ) using the MTd option as a default. This causes a conflict with libraries such as msvcrt. I tried suppressing a bunch of MSVC libraries, but have been unlucky so far. In some cases I find that
something present in one library is present in another library, or in the extreme case I am unable to find ostream and the stl string class.<br><br>Can anyone well versed in the peculiarites of Visual C help? What are the libraries I should exclude since IpOpt was linked with MTd? How can I ensure I will pull in ostream and stl::basic_string?<br><br>Thanks a lot<br>Krish<br></div></div><br>
</body></html>