[gecode-users] Linking with Visual Studio 2008

Christian Schulte cschulte at kth.se
Wed Jan 4 11:52:44 CET 2012


Hi,

 

I think you might profit from re-reading the whole of Section 2.3.1. There
is in fact a complete example using the command line with all options.

 

For the MSVC IDE, please consult Microsofts documentation, this is hardly a
Gecode matter.

 

Best

Christian

 

--

Christian Schulte, www.ict.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Wajid Hassan
Sent: Monday, January 02, 2012 2:17 PM
To: users at gecode.org
Subject: [gecode-users] Linking with Visual Studio 2008

 

Hi,

 

I am trying to run Gecode for the first time. If I want to use the VS 2008
IDE, the guide "Modeling and Programing with Gecode" states on pg. 19 that
all necessary settings can be configured in the properties dialog of the
solution. Can any one please help me in doing the following:

 

* You must use dynamic linking against a mutithreaded library. That is,
either /MD or /MDd. Depending on which one is used, corresponding libraries
and DLLs will be used automatically. (How do I do this? Using command line
or can it be set in the properties dialog of the solution?)

 

* You have to enable /EHsc option (How?)

 

* You have to switch off assertions by defining /DNDEBUG (where do I do
that?) 

 

Thanks.

 

BR/ Wajid

 

 

 

l

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20120104/0ae83d4d/attachment.htm>


More information about the users mailing list