<html><head></head><body><div class="ydp9fb78a69yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">OK. The OS is centos-6.9 which is pretty old. I think I may hit other errors later.</div><div dir="ltr" data-setdir="false">I will try to find another way. Thank you.<br></div><div><br></div><div class="ydp9fb78a69signature">Regards,<br>Mahmood</div></div>
<div><br></div><div><br></div>
</div><div id="yahoo_quoted_3559473702" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Saturday, November 2, 2019, 5:24:05 PM GMT+3:30, Rainer Poisel <rainer.poisel@gmail.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Hi Mahmood,<br clear="none"><br clear="none">I think there is a problem with your toolchain. Maybe there is an<br clear="none">environment variable (hot guess: LD_LIBRARY_PATH or something similar)<br clear="none">missing.<br clear="none"><br clear="none">Have a look into the following files in your build directory:<br clear="none"> * CMakeFiles/CMakeOutput.log and<br clear="none"> * CMakeFiles/CMakeError.log<br clear="none"><br clear="none">Maybe there is some helpful information there?<br clear="none"><br clear="none">Best regards,<br clear="none"> Rainer<br clear="none"><div class="yqt3273082171" id="yqtfd15395"><br clear="none">On Sat, Nov 2, 2019 at 2:36 PM Mahmood Naderan via CMake<br clear="none"><<a shape="rect" ymailto="mailto:cmake@cmake.org" href="mailto:cmake@cmake.org">cmake@cmake.org</a>> wrote:<br clear="none">><br clear="none">> Hi,<br clear="none">><br clear="none">> May I know what is wrong with the specifying a non-system gcc path?<br clear="none">><br clear="none">><br clear="none">> $ cmake .. -DCMAKE_C_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc -DCMAKE_CXX_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/g++ -- The C compiler identification is unknown<br clear="none">> -- The CXX compiler identification is unknown<br clear="none">> -- Check for working C compiler: /storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc<br clear="none">> -- Check for working C compiler: /storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc -- broken<br clear="none">> CMake Error at /storage/users/mnaderan/tools/cmake-3.15.4/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):<br clear="none">> The C compiler<br clear="none">><br clear="none">> "/storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc"<br clear="none">><br clear="none">> is not able to compile a simple test program.<br clear="none">><br clear="none">> It fails with the following output:<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> Regards,<br clear="none">> Mahmood<br clear="none">> --<br clear="none">><br clear="none">> Powered by www.kitware.com<br clear="none">><br clear="none">> Please keep messages on-topic and check the CMake FAQ at: <a shape="rect" href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br clear="none">><br clear="none">> Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br clear="none">><br clear="none">> CMake Support: <a shape="rect" href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br clear="none">> CMake Consulting: <a shape="rect" href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br clear="none">> CMake Training Courses: <a shape="rect" href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br clear="none">><br clear="none">> Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none">><br clear="none">> Follow this link to subscribe/unsubscribe:<br clear="none">> <a shape="rect" href="https://cmake.org/mailman/listinfo/cmake" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br clear="none"></div></div></div>
</div>
</div></body></html>