I have been trying to install since the past 3 days, i did install all the dependencies too, i have installed google-perftools with brew and cmake has detected the gperftools at
Code: Select all
"Found GooglePerfTools: /usr/local/lib/libtcmalloc.dylib"
Code: Select all
[100%] Linking CXX executable argos3_prof
ld: library not found for -ltcmalloc
-J
Edit : I think something has to be changed in src/testing/CMakeLists.txt file at lines:
Code: Select all
if(ARGOS_BUILD_FOR_SIMULATOR AND GOOGLEPERFTOOLS_FOUND)
add_executable(argos3_prof
${CMAKE_SOURCE_DIR}/core/simulator/query_plugins.cpp
${CMAKE_SOURCE_DIR}/core/simulator/main.cpp)
target_link_libraries(argos3_prof
tcmalloc profiler