[Bcp-tickets] [Branch-Cut-Price Framework] #5: when Building Bcp on Windows

Branch-Cut-Price Framework coin-trac at coin-or.org
Tue Jul 18 14:26:18 EDT 2006


#5: when Building Bcp on Windows
-------------------------------+--------------------------------------------
 Reporter:  efsilva at pobox.com  |       Owner:  somebody
     Type:  enhancement        |      Status:  new     
 Priority:  major              |   Milestone:          
Component:  component1         |     Version:          
 Keywords:                     |  
-------------------------------+--------------------------------------------
 Hello,
 I am trying to build Bcp on Windows (MSVC++), but now using the svn code
 just the way I downloaded it.  I had a problem in the file BCPconfig.h,
 line 53.

 /* a few things that exists under unix, but not under windows */
 #include <Windows.h>
 #define gethostname(c, l) { DWORD cnlen = l; GetComputerName(c, &cnlen); }
 #include <process.h>

 My suggestion would be enclose those lines in a #ifndef, so that there is
 no need to change the code when working on Windows.

 An addition, when I checked out the BCP project I got the file
 OsiCpxSolverInterface.hpp in folder
 E:\MVSProjects\COIN_svn\Bcp\Osi\src\OsiClp (OSi CLP folder), but I think
 this file was not suppose be there.

 Thanks and congratulations for the nice work,
 Eduardo.

-- 
Ticket URL: <https://projects.coin-or.org/Bcp/ticket/5>
Branch-Cut-Price Framework <http://example.com/>
My example project


More information about the Bcp-tickets mailing list