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

WIN32 problem #16

Open
xuelang0722 opened this issue May 9, 2019 · 3 comments
Open

WIN32 problem #16

xuelang0722 opened this issue May 9, 2019 · 3 comments

Comments

@xuelang0722
Copy link

Hi,
I am struggling to install pyroms with python3.7. I got an error,like :
"C:\Users\xuelang\pyroms-python3\bathy_smoother\external\lp_solve_5.5\lp_lib.h(217): fatal error C1083: “dlfcn.h”: No such file or directory"

I have checked lp_lib.h and find :
#if (LoadInverseLib == TRUE) || (LoadLanguageLib == TRUE)
#ifdef WIN32
#include <windows.h>
#else
#include <dlfcn.h>
#endif
#endif

However, WIN32 actually has been defined in Makefile. I'm confused how does this happen.

WPQ

@kshedstrom
Copy link
Collaborator

I'm afraid I am not in a position to support WIN32 systems. Even on the Mac, I choose to put pyroms inside a Linux virtualbox,

@braney
Copy link

braney commented May 9, 2019

I haven't tried compiling Pyroms in Windows, but what jumps out at me is that your error message appears to be from a Microsoft compiler. The Makefile in bathy_smoother/external/lp_solve_5.5 is written for gcc, so it probably won't work unless you update it for your compiler.

If you have updated the Makefile, what is the compilation command that generates the error you quoted?

@xuelang0722
Copy link
Author

Thank you. I will try to compile in Linux.

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

No branches or pull requests

3 participants