[gecode-users] Installation on Windows w/ or wo/ Cygwin

Jose A Magaña jose_a_magana at hotmail.com
Fri Nov 15 15:07:24 CET 2013


Thanks Christian.
Coming back to my first question. Could you confirm?
   1) On a Windows installation, using the .msi packages. Is it required to do something else? I understand not but want to be sure. I don’t want to start working and then finding that the installation was not properly completed. 

        I have missed a Test.exe that validates that the installation is OK as it exists for Linux although I also understand that if nothing needs to be done after msi install, then the test would be very simple (if any needed).

        Does this means that I can use Gecode on a 100% Windows environment (no cygwin at all)? Section 2.3.1 indicates in other direction and combines VSstudio with Cygwin. Is that required or just an option? I understand I have all the .h* and libs in the installation folder.

        The documentation(section 2.6.1) refers to pre-compiled binaries... are those the .msi or do you refer to the .tar.gz?





Regards

Jose


From: Christian Schulte 
Sent: Friday, 15 November, 2013 13:58
To: 'Christian Schulte' ; 'Jose A Magaña' ; users at gecode.org 
Subject: RE: [gecode-users] Installation on Windows w/ or wo/ Cygwin

Sorry that is incorrect. There is indeed some nonsense which I did not write ;-( It'll be removed in the next version of MPG.

 

C

 

--

Christian Schulte, Professor of Computer Science, KTH, www.ict.kth.se/~cschulte/

 

From: Christian Schulte [mailto:cschulte at kth.se] 
Sent: Friday, November 15, 2013 1:54 PM
To: 'Jose A Magaña'; 'users at gecode.org'
Subject: RE: [gecode-users] Installation on Windows w/ or wo/ Cygwin

 

Well the only difference is that it lists old version numbers. Otherwise the explanation is correct. C

 

--

Christian Schulte, Professor of Computer Science, KTH, www.ict.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf Of Jose A Magaña
Sent: Friday, November 15, 2013 1:48 PM
To: users at gecode.org
Subject: Re: [gecode-users] Installation on Windows w/ or wo/ Cygwin

 

Christian,

    thanks for your quick reply.

    You should then update the MPG file. It is confusing that a file dated 2008-2013© is not up-to-date in such an important topic and that it would be so easy to properly state on the document.

    Again thanks for your help

           Best regards

               Jose

 

From: Christian Schulte 

Sent: Friday, 15 November, 2013 13:40

To: 'Jose A Magaña' ; users at gecode.org 

Subject: RE: [gecode-users] Installation on Windows w/ or wo/ Cygwin

 

Hi,

 

Gecode does not work with cygwin (this has been discussed several times alread on this mailing list). As explained in MPG you have to install Microsoft Visual Studio, try the current free version Visual Studio Express 2013 and then install Gecode with the matching msi. Luckily, the current Visual Studio version supports both x64 (64 bit) as well as x86 (32 bit), so you can actually choose which variant of Gecode you want to use with Visual Studio.

 

Cheers

Christian

 

--

Christian Schulte, Professor of Computer Science, KTH, www.ict.kth.se/~cschulte/

 

From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf Of Jose A Magaña
Sent: Friday, November 15, 2013 1:30 PM
To: users at gecode.org
Subject: [gecode-users] Installation on Windows w/ or wo/ Cygwin

 

Hello all,

    I have just started to use Gecode as part of a university course on CSP.

   First, congrats for the tool and the amazing work you do in supporting it.

    

    I am trying to install the tool on a Windows 8 system and some doubts have arised during the process as well as some issues related to Cygwin. I have made some effort on reading the documentation (Chapter 2 mainly of MGP) and reviewed some previous questions on this list.

 

    Going to the point:

 

    1) On a Windows installation, using the .msi packages. Is it required to do something else? I understand not but want to be sure. I don’t want to start working and then finding that the installation was not properly completed. 

        I have missed a Test.exe that validates that the installation is OK as it exists for Linux although I also understand that if nothing needs to be done after msi install, then the test would be very simple (if any needed).

        Does this means that I can use Gecode on a 100% Windows environment (no cygwin at all)? Section 2.3.1 indicates in other direction and combines VSstudio with Cygwin. Is that required or just an option? I understand I have all the .h* and libs in the installation folder.

        The documentation(section 2.6.1) refers to pre-compiled binaries... are those the .msi or do you refer to the .tar.gz?

 

    2) On a Windows installation using cygwin, that I have also attempted. I have been able to make the install using CC=”gcc” CXX=”g++”.

         Everything gets installed, even to the /usr/local folders and the Test.exe shows everything is working.

        I need this to work since the teacher uses a Linux machine for the lab classes. In addition some scripts are distributed to compile some examples that I would need to modify during the class.

         I cab compile but I have not been able to link.

         Here is where I have my doubts. I have read in some old questions to the list, that you were considering not supporting cygwin with g++/gcc due to the problems with dynamic linking. The discussions date back to 2008 and 2010. 

         Is it a supported configuration? 

         Which additional settings should I add to my linking command?

 

   g++ -o basic -L/usr/local/lib basic.o -lgecodedriver -lgecodesearch -lgecodeminimodel -lgecodeint -lgecodekernel –lgecodesupport      

 

         Thanks in advance for your support.

 

            Jose A. Magaña

        

 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20131115/1a4bd418/attachment-0001.html>


More information about the users mailing list