libOpenDRIVE
libOpenDRIVE copied to clipboard
When I execute "make" ,an error will be reported
I guess the version of my "cmake" is inconsistent with yours. Can you tell me your version of cmake
The version of mine is 3.10.2
The version of my ubuntu is 18.04
you need to replace all std::nan<>() with std::nan()
ok,thanks a lot
You mean NAN
with std::nan()
? There is no std::nan
in the code?
@cpsoymilk which compiler version are you using? I can't reproduce.
I changed the version from master to 0.2.0, and then it works normally
@cpsoymilk Which compiler version and OS were you using? This is an error that should be fixed.
Do you mean the version of "make"? Besides, I don't know what OS you mean. I'll show you tomorrow. It's in my office computer.
I mean which Operating System (OS), like Ubuntu 18.04, 20.04, Windows 10..? And wich compiler? (What do you get when you execute c++ --version
) ?
Okay, I'll get back to you later
Experiencing the same compilation errors when using CentOS 7 and GCC 8.3.1. Replacing std::isnan<double>()
with std::isnan()
fixes the problems.
should be fixed with https://github.com/grepthat/libOpenDRIVE/pull/52, feel free to reopen if it's still broken