pyipopt icon indicating copy to clipboard operation
pyipopt copied to clipboard

IpStdCInterface.h: No such file or directory]

Open zhenweilin opened this issue 3 years ago • 2 comments

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

zhenweilin avatar Jul 13 '22 03:07 zhenweilin

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'],

zhenweilin avatar Jul 13 '22 08:07 zhenweilin

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 :)

wumy27 avatar Jan 29 '23 01:01 wumy27