You are here

Problem with Message: MRPT was compiled without support for SwissRanger 3D Cameras! Rebuild it.

5 posts / 0 new
Last post
kinglear
kinglear's picture
Problem with Message: MRPT was compiled without support for SwissRanger 3D Cameras! Rebuild it.

Hi,

after configuring with cmake.gui where BUILD_SR4000 = true and compiling the whole stuff with "make -j2", I am not able to run the SR4000 example after compiling it. The message says:
mrpt::hwdrivers::CSwissRanger3DCamera::CSwissRanger3DCamera(), line 104:
MRPT was compiled without support for SwissRanger 3D cameras! Rebuild it!

MRPT was downloaded today from SVN.

Any help would be appreciated.

jlblanco
jlblanco's picture
When you hit "Configure" in

When you hit "Configure" in cmake-gui, check what it says about "Swissranger camera" at the final list...

If it says "NO", it means it didn't find the "libMesaSR" supplied by the manufacturer, and which must be installed in the system... For instance, try from a console:

$ locate libMesaSR.h

JL

kinglear
kinglear's picture
It says "YES" for

It says "YES" for swissranger

Result of locate:
/usr/include/LibMesaSR.h
/usr/lib/libmesasr.o

Best regards,

jlblanco
jlblanco's picture
ok, that's perfect. Then you

ok, that's perfect. Then you can't find the error you posted above... unless there are two different versions of MRPT installed in your system or something like that. May that be the problem?? If not, it may be a weird bug, but I think it's unlike.

kinglear
kinglear's picture
Okay, the latter might be the

Okay, the latter might be the problem (multiple versions). I'll check it. Thanks.

Log in or register to post comments
Subscribe to Comments for "Problem with Message: MRPT was compiled without support for SwissRanger 3D Cameras! Rebuild it."