<div dir="ltr"><div>Hi Maomao.</div><div><br></div><div>The output includes this line:</div><div><br></div><div>  <span class="gmail-m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">Configuring incomplete, errors occurred!</span> <br></div><div><br></div><div>This means that indeed, CMake has failed to configure the project. Which means no Makefile (or oher buildsystem) was generated and therefore the project cannot be built.</div><div><br></div><div>A successful run of CMake ends with output like this:</div><div><br></div><div>  Configuring done</div><div>  Generating done</div><div>  Build files have been written to ...</div><div><br></div><div>Petr<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 13 Aug 2018 at 09:13, maomao <<a href="mailto:maomaowyh@gmail.com">maomaowyh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear admin,<div><br></div><div>I am trying to build a project that is a open source and have a package on the website.</div><div>The required binaries are installed by macports on my macbook pro with OSX10.13.6 (High Sierra).</div><div>When I tried to cmake the project, I got the output message as:</div><div>




<span></span>





<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">es2039:build maomao$ cmake ..</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)<span class="m_8957481249814159549gmail-Apple-converted-space"> </span></span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)<span class="m_8957481249814159549gmail-Apple-converted-space"> </span></span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)<span class="m_8957481249814159549gmail-Apple-converted-space"> </span></span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">-- HDF5: Using hdf5 compiler wrapper to determine C configuration</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">CMake Error at /opt/local/share/cmake-3.12/Modules/UseSWIG.cmake:509 (message):</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_8957481249814159549gmail-Apple-converted-space">  </span>SWIG_ADD_LIBRARY: python;quakelib.i: unexpected arguments</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">Call Stack (most recent call first):</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="m_8957481249814159549gmail-Apple-converted-space">  </span>quakelib/python/CMakeLists.txt:10 (SWIG_ADD_LIBRARY)</span></p>
<p class="m_8957481249814159549gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="m_8957481249814159549gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:13px"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">-- Configuring incomplete, errors occurred!</span></p>
<p class="m_8957481249814159549gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-weight:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="m_8957481249814159549gmail-s1" style="font-variant-ligatures:no-common-ligatures">See also "/Users/maomao/VirtualTaiwan/build/CMakeFiles/CMakeOutput.log".</span></p>


<br></div><div>and failed when I proceeded to make.</div><div>So, the question is: </div><div>Is the project configured or not with any error message like that?</div><div>What kind output should I see when I succeed to configure the project by cmake?</div><div>If cmake is failed to configure project, the code could not be build by make anyway?</div><div><br></div><div>Best,</div><div>Maomao</div></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div>