lOthBroK286's blog

By lOthBroK286, history, 12 months ago, In English

I'm facing this error while importing this file in order to use ordered set, How can I fix it?

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
12 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Lol, I had this question as well, and nobody ever replied to my blog :/. However to start off, you need a GCC compiler.

»
12 months ago, # |
  Vote: I like it +2 Vote: I do not like it

If you use win 7, 8, 10 or 11 and you have Mingw (is the compiler for c++ ):-

Fix go to the dir -> C:\MinGW\lib\gcc\mingw32\8.2.0\include\c++\ext\pb_ds\detail\resize_policy

There u will see a file similar to -> "hash_standard_resize_policy_imp.hpp0000644"

Rename it to hash_standard_resize_policy_imp.hpp

and now it worked (I hope <3 )

»
12 months ago, # |
Rev. 2   Vote: I like it +2 Vote: I do not like it

Can anyone please recommend something to make it work on a MacBook with a M series chip