MarkusJx / install-boost

Install boost on Github actions
MIT License
62 stars 3 forks source link

Error: Could not find boost version 1.76.0 #18

Closed AnonymousGeniusProgrammer closed 2 years ago

AnonymousGeniusProgrammer commented 2 years ago

Hi, thanks for the excellent action first! I have run into this issue, please see the screenshot for the workflow file and the running log below, not able to find boost, I have tried from 1.71.0 to 1.76.0 and got the same error for all of them, am I doing something wrong in the workflow file? image image

MarkusJx commented 2 years ago

Hi, when using any boost version < 1.78.0 you must not set the toolset parameter as the documentation for this parameter states:

Selecting this is only supported for boost versions 1.78.0 and higher with the new version of this action or any version with the legacy versions.

This is actually something that comes up quite often so I have to admit that the documentation for that feature is quite poor, I'm sorry for that. I'll probably change the action to emit a warning and ignoring the parameter when set.

I hope this helps :)

AnonymousGeniusProgrammer commented 2 years ago

thanks a lot, problem is solved, it is actually well documented, and it is the user not reading the menu fine enough :p, maybe this just shows how developers on the windows platform suffered from the msvc toolset so they always try to be as explicit as they can.