Originally posted by **LoiX07** June 16, 2024
Hi all,
I did not manage to compile osgEarth on linux (Arch). I got this error :
`
osgearth/src/osgEarth/ElevationPool.cpp:1126:26: erreur: pas de fonction correspondant à l'appel « dispatch(osgEarth::AsyncElevationSampler::getSample(const osgEarth::GeoPoint&, const osgEarth::Distance&)::&, jobs::context&) »
1126 | return jobs::dispatch(task, c);
| ~~~~~~~~~~~~~~^~~~~~~~~
`
and also this one :
`osgearth/src/osgEarth/weejobs.h:227:15: erreur: pas de type nommé « type » dans « struct std::invoke_result(jobs::cancelable&)> »
227 | using result_of_t = typename std::invoke_result::type;
`
Do you have any idea of what can cause this ?
Also, I'm noob with C++ so it may be a very simple issue !
Thanks in advance !
Discussed in https://github.com/gwaldron/osgearth/discussions/2559