facebookresearch / nocturne

A data-driven, fast driving simulator for multi-agent coordination under partial observability.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Error: sf_utils.h

axelbr opened this issue · comments

Hi,
when running python setup.py develop the build process fails. The error message is the following:
... include/utils/sf_utils.h:29:6: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type ...

It seems there is a missing include in this file. The error can be resolved by adding
#include <memory> to sf_utils.h.

Indeed that include seems to be missing, good catch!
Are you able to compile everything successfully with that fix?

Also do you know which version of SFML you installed? Trying to figure out why you got that error and we didn't.

Yes, thank you for the catch! We have opened a PR with the change: #13

Indeed that include seems to be missing, good catch! Are you able to compile everything successfully with that fix?

Yes, now I am able to compile everything.

Also do you know which version of SFML you installed? Trying to figure out why you got that error and we didn't.

I am using SFML-2.5.1.

By the way, the dataset construction guide seems to be outdated (the file names changed etc.)
For instance, the directory nocturne_utils does not exist anymore.

Wow, thank you for the catch. Opening up a PR to fix this now.

#15

Are you trying to rebuild the dataset? Please let us know if you run into any issues; we've never had an external person try to build it and we'd love to be helpful if you run into issues.