microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.35k stars 6.45k forks source link

[New Port Request] libhsl #40060

Open HuangDuoYan opened 4 months ago

HuangDuoYan commented 4 months ago

Library name

libhsl

Library description

HSL. A collection of Fortran codes for large scale scientific computation. http://www.hsl.rl.ac.uk/

Source repository URL

https://www.hsl.rl.ac.uk/catalogue/index.html

Project homepage (if different from the source repository)

https://www.hsl.rl.ac.uk/index.html

Anything else that is useful to know when adding (such as optional features the library may have that should be included)

No response

why i request

after build and install ipopt, i copied the sample

cpp_example.cpp
MyNLP.hpp
MyNLP.cpp

from vcpkg\buildtrees\coin-or-ipopt\src\30c9ada089-5859d8f5b5.clean\examples\Cpp_example. then i changed the #include: from

#include "IpIpoptApplication.hpp"

to

#include "coin-or/IpIpoptApplication.hpp"

but the program genarated runtime exception:

Exception of type: DYNAMIC_LIBRARY_FAILURE in file ".././../src/30c9ada089-5859d8f5b5.clean/src/Common/IpLibraryLoader.cpp" at line 59:
 Exception message: Error 126 while loading DLL libhsl.dll: cannot find specified module.

EXIT: Library loading failure.

then i tried to type in cmd prompt:

C:\Users\Huang>vcpkg search hsl
The result may be outdated. Run `git pull` to get the latest results.
If your port is not listed, please open an issue at and/or consider making a pull request.  -  https://github.com/Microsoft/vcpkg/issues

the result is empty.

github-actions[bot] commented 2 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

HuangDuoYan commented 2 months ago

SKNo commented 5 days ago

Hello Is there any update wrt this request? i tried to install and use coin-ipopt and get the same message.