'__find_end': is not a member of 'std'

I’m facing the same problem as mentioned here: Includes error in VS2019 (RWrap_libcpp_string_view.h)

I’m pretty sure, in my case it has nothing to do with python.

It happens when I’m choosing “Visual Studio 2019 v142”:
1>C:\root_v6.22.02\include\ROOT\RWrap_libcpp_string_view.h(428,34): error C2039: ‘__find_end’: is not a member of ‘std’
1>C:\root_v6.22.02\include\ROOT\RWrap_libcpp_string_view.h(125): message : see declaration of ‘std’

when I’m choosing “Visual Studio 2017 v141” everything is fine
A collegue is able to compile with v142. something seems to be wrong on my side

Any hint?
THX Georg

_ROOT Version: 6.22.02
_Platform: windows 10

We know there are incompatibilities between different versions of Visual Studio and the one used to build ROOT. I would suggest to build from source. And what is relevant is the version of Visual Studio (e.g. v17.0.2) and the Windows 10 SDK (e.g. 10.0.19041.0)

thanks i will that combination

FYI, ROOT v6.22 will not build with most recent versions of Visual Studio, so you should try 6.24 or the master branch of git

I upgraded to 6.24.06 and the error vanshied

thank you

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.