<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 28, 2012, at 8:56 AM, Eric Noulard wrote:</div><blockquote type="cite"><div>target_link_libraries(benchmark ${MKL_LIBRARIES})<br><br>I cannot ensure this is OK because the FindMKL.cmake module<br>does not seem to be in CMake source.<br><br><br></div></blockquote><div>Thank you! this solved the compilation issue in Mac OS X still a progress :) but not in Ubuntu 12.04 :( I still can't still debug/execute.</div><div><br></div><div>I get the following error trying to debug/execute: </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 15px/normal 'Courier New'; color: rgb(255, 19, 20); ">dyld: Library not loaded: libmkl_rt.dylib</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 15px/normal 'Courier New'; color: rgb(255, 19, 20); "> Referenced from: /Users/bravegag/code/fastcode_project/build_debug/test_matrix</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 15px/normal 'Courier New'; color: rgb(255, 19, 20); "> Reason: image not found</div><div><br></div><div>I added the libmkl_rt.so to the project but still doesn't help.</div><div><br></div><div>Can anyone advice?</div><div><br></div><div>TIA,</div><div>Best regards,</div><div>Giovanni</div><div> </div><div><br></div><br></div><br></body></html>