lethal-guitar / RigelEngine

A modern re-implementation of the classic DOS game Duke Nukem II
GNU General Public License v2.0
911 stars 60 forks source link

compilation error in linux (error: ‘sort’ is not a member of ‘std’) #923

Closed orderorder closed 3 months ago

orderorder commented 3 months ago

imfilebrowser.cpp:420:10: error: ‘sort’ is not a member of ‘std’

gcc versión 14.1.1 20240507

I was able to find the solution adding on the file /3rd_party/imgui-filebrowser/imfilebrowser.cpp

#include <algorithm>

lethal-guitar commented 3 months ago

Thanks for letting me know, I'll look into it

lethal-guitar commented 3 months ago

This should be fixed now on the latest master branch. Feel free to reopen if it's still a problem.