When I want boulid my program i get error with 0.9.1:
g++ -c -g -I/usr/local/include/mrpt/mrpt-config -I/usr/local/include/mrpt -I/usr/local/include/mrpt/base/include -I/usr/local/include/mrpt/slam/include -I/usr/local/include/mrpt/gui/include -I/usr/local/include/mrpt/hmtslam -I/usr/local/include/mrpt/hwdrivers/include -I/usr/local/include/mrpt/maps/include -I/usr/local/include/mrpt/obs/include -I/usr/local/include/mrpt/opengl/include -I/usr/local/include/mrpt/reactivenav/include -I/usr/local/include/mrpt/topography/include -I/usr/local/include/mrpt/vision/include -MMD -MP -MF build/Debug/GNU-Linux-x86/vidigo.o.d -o build/Debug/GNU-Linux-x86/vidigo.o vidigo.cpp
from /usr/local/include/mrpt/slam/include/mrpt/slam.h:50,
from vidigo.h:10,
from vidigo.cpp:1:
In file included from /usr/local/include/mrpt/slam/include/mrpt/slam/CRangeBearingKFSLAM.h:37,
/usr/local/include/mrpt/bayes/CKalmanFilterCapable.h:67: error: expected initializer before ‘:’ token
from /usr/local/include/mrpt/slam/include/mrpt/slam.h:50,
from vidigo.h:10,
from vidigo.cpp:1:
In file included from /usr/local/include/mrpt/slam/include/mrpt/slam/CRangeBearingKFSLAM.h:37,
/usr/local/include/mrpt/bayes/CKalmanFilterCapable.h:415: error: ‘TKF_options’ does not name a type
/usr/local/include/mrpt/bayes/CKalmanFilterCapable.h: In member function ‘void mrpt::bayes::CKalmanFilterCapable < VEH_SIZE, OBS_SIZE, FEAT_SIZE, ACT_SIZE, KFTYPE > ::runOneKalmanIteration()’:
/usr/local/include/mrpt/bayes/CKalmanFilterCapable.h:445: error: ‘KF_options’ was not declared in this scope
with 0.9.0 worked.
In 10 line of vidigo.h is: #include < mrpt/slam.h >
how fix it?
Hi, Have you tried with
Hi,
Have you tried with $(pkg-config --cflags --libs mrpt-base) in the command line?? (See http://www.mrpt.org/Compiling_custom_applications_in_Linux_with_a_Makefi...). pkg-config was fixed in 0.9.1 and should work now after a "make install".
JL