[gecode-users] Linking with Visual Studio 2008

Wajid Hassan wajidhassan at gmail.com
Wed Jan 4 12:01:54 CET 2012


Hi Christian,

Thank you for the answer.

For now, I am able to run Gecode examples on VS 2008 without doing those 3
steps that I mentioned. I am not certain of how vital these steps are when
one is using the IDE ('Modeling and Programming with Gecode' asks one to do
those on Pg. 19) but I will just skip them for now as everything seems to
be working. Thanks again.

BR/ Wajid


On Wed, Jan 4, 2012 at 11:52 AM, Christian Schulte <cschulte at kth.se> wrote:

> 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/013095fe/attachment.htm>


More information about the users mailing list