PixlOne / logiops

An unofficial userspace driver for HID++ Logitech devices
GNU General Public License v3.0
3.31k stars 263 forks source link

Compiler Error: »transform« is not element of »std« #451

Closed Sebastian0100 closed 3 months ago

Sebastian0100 commented 4 months ago

During compilation the error »transform« is not element of »std« happens at logiops/src/logid/./config/group.h:151:18. The cause for this seems to be that the header file does not include the Algorithms library, as including it resolves the problem.

Although since nobody else seems to have encountered this issue, this might be related to my specific environment.

Sniptzler commented 4 months ago

I encountered the same Error but the fix worked seamingless.

debbinkm commented 4 months ago

I also just ran into this. Adding #include <algorithm> to group.h does indeed allow the project to compile, as @Sebastian0100 mentioned. Not sure why this is all of the sudden an issue, though.

kada49 commented 3 months ago

Maybe we all are using a new version of the compiler which changes some includes, no idea

Ersetzbar commented 3 months ago

thank you that worked for me aswell

PixlOne commented 3 months ago

Should be fixed with the recent PR.