simondlevy / BreezySLAM

Simple, efficient, open-source package for Simultaneous Localization and Mapping
GNU Lesser General Public License v3.0
758 stars 251 forks source link

C++ Demo Examples not working #38

Closed Meghadoot closed 5 years ago

Meghadoot commented 5 years ago

I have cd to BreezySLAM/cpp, and do 'sudo make install'. But when I then cd to BreezySLAM/examples and do 'make cpptest', (I have correctly set the LIBDIR paths in both cpp and examples folder's makefiles)I got error as shown in snap. demo_compilation_issue

Can you give me some suggestion? Thanks in advance!

Meghadoot commented 5 years ago

On the other hand, Pytest works without any issues(can be seen in following snap)

works_pytest

simondlevy commented 5 years ago

From the instructions:

You may also need to add the following line to your ~/.bashrc file:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

Meghadoot commented 5 years ago

Thanks. Now resolved it. Issue was with path variable.