I have searched the answer on google and the few peoples who have problems like this says that " ld " in /usr/bin/ld" can't find " lfuzzylite ", so I search for it in fuzzylite directory, but found nothing, so I decided to ask you!
Thank you
the "build_output.log":
Scanning dependencies of target rospack_genmsg_libexe
[ 0%] Built target rospack_genmsg_libexe
Scanning dependencies of target rosbuild_premsgsrvgen
[ 0%] Built target rosbuild_premsgsrvgen
Scanning dependencies of target ROSBUILD_gensrv_lisp
[ 0%] Built target ROSBUILD_gensrv_lisp
Scanning dependencies of target ROSBUILD_gensrv_cpp
[ 0%] Built target ROSBUILD_gensrv_cpp
Scanning dependencies of target rospack_gensrv
[ 0%] Built target rospack_gensrv
Scanning dependencies of target ROSBUILD_genmsg_lisp
[ 0%] Built target ROSBUILD_genmsg_lisp
Scanning dependencies of target ROSBUILD_genmsg_cpp
[ 0%] Built target ROSBUILD_genmsg_cpp
Scanning dependencies of target rospack_genmsg
[ 0%] Built target rospack_genmsg
Scanning dependencies of target rosbuild_precompile
[ 0%] Built target rosbuild_precompile
Scanning dependencies of target fuzzy_lander
[ 33%] Building CXX object CMakeFiles/fuzzy_lander.dir/src/fuzzy_controller_landing.o
/home/xps/ros/fuzzy_controller/src/fuzzy_controller_landing.cpp: In function ‘float* Large_Tag_FuzzyController_OrientationMain(float, float_)’:
/home/xps/ros/fuzzy_controller/src/fuzzy_controller_landing.cpp:225:9: attention : ‘output’ may be used uninitialized in this function [-Wuninitialized]
Linking CXX executable bin/fuzzy_lander
/usr/bin/ld: cannot find -lfuzzylite
collect2: ld a retourné 1 code d'état d'exécution
make[2]: * [bin/fuzzy_lander] Erreur 1
make[1]: * [CMakeFiles/fuzzy_lander.dir/all] Erreur 2
make: *\ [all] Erreur 2
Hello,
When I run command "rosmake" in the directory "fuzzy_controller", I have some errors:
<< Linking CXX executable bin/fuzzy_lander /usr/bin/ld: cannot find -lfuzzylite >>
I have searched the answer on google and the few peoples who have problems like this says that " ld " in /usr/bin/ld" can't find " lfuzzylite ", so I search for it in fuzzylite directory, but found nothing, so I decided to ask you!
Thank you
the "build_output.log":
Scanning dependencies of target rospack_genmsg_libexe [ 0%] Built target rospack_genmsg_libexe Scanning dependencies of target rosbuild_premsgsrvgen [ 0%] Built target rosbuild_premsgsrvgen Scanning dependencies of target ROSBUILD_gensrv_lisp [ 0%] Built target ROSBUILD_gensrv_lisp Scanning dependencies of target ROSBUILD_gensrv_cpp [ 0%] Built target ROSBUILD_gensrv_cpp Scanning dependencies of target rospack_gensrv [ 0%] Built target rospack_gensrv Scanning dependencies of target ROSBUILD_genmsg_lisp [ 0%] Built target ROSBUILD_genmsg_lisp Scanning dependencies of target ROSBUILD_genmsg_cpp [ 0%] Built target ROSBUILD_genmsg_cpp Scanning dependencies of target rospack_genmsg [ 0%] Built target rospack_genmsg Scanning dependencies of target rosbuild_precompile [ 0%] Built target rosbuild_precompile Scanning dependencies of target fuzzy_lander [ 33%] Building CXX object CMakeFiles/fuzzy_lander.dir/src/fuzzy_controller_landing.o /home/xps/ros/fuzzy_controller/src/fuzzy_controller_landing.cpp: In function ‘float* Large_Tag_FuzzyController_OrientationMain(float, float_)’: /home/xps/ros/fuzzy_controller/src/fuzzy_controller_landing.cpp:225:9: attention : ‘output’ may be used uninitialized in this function [-Wuninitialized] Linking CXX executable bin/fuzzy_lander /usr/bin/ld: cannot find -lfuzzylite collect2: ld a retourné 1 code d'état d'exécution make[2]: * [bin/fuzzy_lander] Erreur 1 make[1]: * [CMakeFiles/fuzzy_lander.dir/all] Erreur 2 make: *\ [all] Erreur 2