Hi,

 

The auto-linking is controlled by which headers your programs include. So as
long as your program include <gecode/flatzinc.hh> the corresponding DLL will
be picked up for linking.

 

But I do not really understand what you mean by building fz.exe as
standalone: it requires the flatzinc DLL and you can't build fz.exe without
it.

 

Disabling auto linking is quite tricky as it is an all-or-nothing thing:
switching off autolinking would require that you manually link against all
the other Gecode DLLs.

 

Cheers

Christian

 

--

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

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Tripti Saxena
Sent: Tuesday, January 10, 2012 10:21 PM
To: [email protected]
Subject: [gecode-users] Autolinking to Flatzinc library

 

Hi,
  I am trying to make some minor changes to the flatzinc to gecode
interpreter and want to turn off the autolinking for the purpose (since
autolinking tries to link to flatzinc library as well).  If there a
particular way to turn off the autolinking. I built the gecode source
disabling the flatzinc and then tried to build fz as a standalone but it
still is searching for flatzinc library. Not sure how to get around it.


Thanks, 
Tripti

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to