[Coin-discuss] CBC in Visual. Net 2003

J P Fasano jpfasano at us.ibm.com
Thu Feb 16 12:06:12 EST 2006


Christy,

I am able to successfully build with MS Visual Studio Ver 6 and run
Cbc/Samples/sample2.cpp with p0033.mps.

When building one needs to make sure that the /GR option is specified.
This option causes the compiler to add code to check object types at run
time.

>From the MS Development Studio V6 you can specify this option by
- click Project on menu bar
- click Settings in drop down menu
- click C/C++ Tab
- click C++ languange in category drop down list
- select Enable Run-time Type Information

There is a similar (but different) process for specifying this option with
Visual Studio .Net.

JP Fasano
jpfasano at us.ibm.com
(914)945-1324  (tie line 862-1324)
COIN-OR www.coin-or.org




More information about the Coin-discuss mailing list