IBM Support

Linker errors involving ostream functions when building my C++ program under MSVC

Question & Answer


Question

You receive ostream errors while linking a C++ program under MSVC6 or later:unresolved external symbol "public: virtual void __thiscallIloException::print(class ostream &)const "(?print@IloException@@UBEXAAVostream@@@Z) What do you need to make it work?

[{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Compiling and Linking","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.2;9.1.3;9.1.2;9.1;9.0;8.1;8.0;7.5;7.1;7.0;12.4;12.3;12.2;12.1;12.0;11.2.1;11.2;11.1.1;11.1;11.0.1;11.0;10.3;10.2.1;10.2;10.1.1;10.1;10.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF017","label":"Mac OS"}],"Version":"12.2","Edition":"All Editions","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSUTDB","label":"ILOG CPLEX Optimization Studio Subscription"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

cplex/FAQ/65

Document Information

More support for:
IBM ILOG CPLEX Optimization Studio

Software version:
9.2, 9.1.3, 9.1.2, 9.1, 9.0, 8.1, 8.0, 7.5, 7.1, 7.0, 12.4, 12.3, 12.2, 12.1, 12.0, 11.2.1, 11.2, 11.1.1, 11.1, 11.0.1, 11.0, 10.3, 10.2.1, 10.2, 10.1.1, 10.1, 10.0

Document number:
397049

Modified date:
16 June 2018

UID

swg21399983

Manage My Notification Subscriptions