You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I don't see how you could get that problem. You get to that part of the header only if HAVE_CONFIG_H is not defined, and it is not defined only on windows (since on unix it gets defined by running configure). What is the error you get with the plain checked out code? I'll close the problem as invalid for now, but please, do reopen it if you still have problems. In that case let me know what version of the compiler are you using, and what is the error you get.
The second problem (OsiCpxSolverInterface.hpp in OsiClp) has been reported to the Osi maintainer and he will fix it.
Issue created by migration from Trac.
Original creator: efsilva@pobox.com
Original creation time: 2006-07-18 18:26:12
Assignee: somebody
Version:
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.
The text was updated successfully, but these errors were encountered: