phbender / liblanelet Goto Github PK
View Code? Open in Web Editor NEWLanelet maps have been introduced in the context of the autonomous completion of the Bertha-Benz-Memorial-Route in 2013
License: GNU General Public License v3.0
Lanelet maps have been introduced in the context of the autonomous completion of the Bertha-Benz-Memorial-Route in 2013
License: GNU General Public License v3.0
I am trying to compile liblanelet on a ubuntu machine. I have included OS,compiler and error details in 1),2),3) section. I think I am making some small mistake. Your guidance will be appreciated.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
2)compiler details:
/gmu/map/liblanelet-master$ g++ --version16.04.4) 5.4.0 20160609
g++ (Ubuntu 5.4.0-6ubuntu1
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3)error that I am getting:
scons install
scons: Reading SConscript files ...
Will not create pkg-configs
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/g++ -o libLanelet/build/llet_xml.os -c -O3 -std=c++0x -g -fPIC -DDEBUG -DTRACE_LEVEL=critical -Iinstalls/include libLanelet/llet_xml.cpp
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:97:10: error: reference to 'basic_string' is ambiguous
typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::
typedef std::basic_string<PUGIXML_CHAR, std::char_traits<PUGIXML_CHAR>, std::allocator<PUGIXML_CHAR> > string_t;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:505:3: error: 'string_t' does not name a type
string_t path(char_t delimiter = '/') const;
^
installs/include/MRT/libpugixml/pugixml.hpp:918:3: error: 'string_t' does not name a type
string_t evaluate_string(const xpath_node& n) const;
^
installs/include/MRT/libpugixml/pugixml.hpp:1066:2: error: reference to 'basic_string' is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML_FUNCTION as_utf8(const wchar_t* str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1067:2: error: reference to 'basic_string' is ambiguous
std::basic_string<char, std::char_traits, std::allocator > PUGIXML_FUNCTION as_utf8(const std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >& str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1070:2: error: reference to 'basic_string' is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > PUGIXML_FUNCTION as_wide(const char* str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:1071:2: error: reference to 'basic_string' is ambiguous
std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > PUGIXML_FUNCTION as_wide(const std::basic_string<char, std::char_traits, std::allocator >& str);
^
In file included from libLanelet/llet_xml.cpp:24:0:
installs/include/MRT/libpugixml/pugixml.hpp:37:57: note: candidates are: template<class _Elem, class _Traits, class _Ax> class std::basic_string
template <class _Elem, class _Traits, class _Ax> class basic_string;
^
In file included from /usr/include/c++/5/string:39:0,
from /usr/include/c++/5/random:40,
from /usr/include/c++/5/bits/stl_algo.h:66,
from /usr/include/c++/5/algorithm:62,
from /usr/include/boost/math/tools/config.hpp:17,
from /usr/include/boost/math/tools/promotion.hpp:26,
from /usr/include/boost/math/special_functions/detail/round_fwd.hpp:12,
from /usr/include/boost/math/special_functions/math_fwd.hpp:26,
from /usr/include/boost/math/special_functions/airy.hpp:11,
from /usr/include/boost/math/special_functions.hpp:15,
from libLanelet/lanelet_point.hpp:22,
from libLanelet/LaneletBase.hpp:25,
from libLanelet/Lanelet.hpp:22,
from libLanelet/llet_xml.hpp:23,
from libLanelet/llet_xml.cpp:20:
/usr/include/c++/5/bits/stringfwd.h:71:11: note: template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
class basic_string;
^
libLanelet/llet_xml.cpp: In member function 'virtual bool {anonymous}::TagWalker::for_each(pugi::xml_node&)':
libLanelet/llet_xml.cpp:49:28: error: 'string_t' is not a member of 'pugi'
if( node.name() == pugi::string_t("tag") )
^
libLanelet/llet_xml.cpp: In member function 'virtual bool {anonymous}::WayTreeWalker::for_each(pugi::xml_node&)':
libLanelet/llet_xml.cpp:72:28: error: 'string_t' is not a member of 'pugi'
if( node.name() == pugi::string_t("tag") )
^
libLanelet/llet_xml.cpp:79:34: error: 'string_t' is not a member of 'pugi'
else if( node.name() == pugi::string_t("nd") )
^
scons: *** [libLanelet/build/llet_xml.os] Error 1
scons: building terminated because of errors.
<PUGIXML_CHAR> > string_t;
We've recently had an issue in OSM where someone uploaded a bunch of lanelets to OpenStreetMap, breaking the data there. Could you make it more clear to users of your software that generated data is not meant for uploading to OpenStreetMap - if only by including a big warning here in your readme?
Hi, I am using lanelets version 1 for 3 years. But today I wanna make a map and parse it with liblanelet as the video, and accidently found that the video is not available now. Is there any other source to watch this video? Thanks.
Do you use or recommend using any particular JOSM Extensions? I'm new to JOSM and would like recommendations for Plugins, Presets, Rules, Styles(besides labelet_style), or Backgrounds that are helpful for autonomous vehicles. Could you please give more details on your configuration?
Thank you very much for the help & also for sharing this incredible project!
Hi, great wrok! but I have a question that, in your codes, do you use the destination point of the left/right boundary as the (*boundPtr)[0]? why do you choose this setting style by not using the first point as (*boundPtr)[0]? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.