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

IpStdCInterface.h: No such file or directory] #53

Open
zhenweilin opened this issue Jul 13, 2022 · 2 comments
Open

IpStdCInterface.h: No such file or directory] #53

zhenweilin opened this issue Jul 13, 2022 · 2 comments

Comments

@zhenweilin
Copy link

Installing pyipopt, encounter fatal error: IpStdCInterface.h: No such file or directory

@zhenweilin
Copy link
Author

I finally managed to install this package, and I summarized it here. First, my directory is 'coin-or', not 'coin'. Hence, you need to change it in line38 of setup.py file. Second, I am not the root user in linux machine, so the correct method to build is python setup.py install --prefix=/xxx/xxx and then add it to your environment path. Third, my machine uses lapack blas, not coinblas and coinlapack. Therefore, I modifies the linkers to libraries=['ipopt','blas','lapack','coinhsl','dl','m'],

@wumy27
Copy link

wumy27 commented Jan 29, 2023

I finally managed to install this package, and I summarized it here. First, my directory is 'coin-or', not 'coin'. Hence, you need to change it in line38 of setup.py file. Second, I am not the root user in linux machine, so the correct method to build is python setup.py install --prefix=/xxx/xxx and then add it to your environment path. Third, my machine uses lapack blas, not coinblas and coinlapack. Therefore, I modifies the linkers to libraries=['ipopt','blas','lapack','coinhsl','dl','m'],

works for me :)

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

2 participants