Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when Building Bcp on Windows #5

Closed
svigerske opened this issue Mar 3, 2019 · 2 comments
Closed

when Building Bcp on Windows #5

svigerske opened this issue Mar 3, 2019 · 2 comments

Comments

@svigerske
Copy link
Member

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.

@svigerske
Copy link
Member Author

Comment by ladanyi created at 2006-10-23 23:55:48

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.

Thanks,
--Laci

@svigerske
Copy link
Member Author

Comment by ladanyi created at 2006-10-23 23:55:48

Resolution: invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant