<div dir="ltr"><br clear="all"><div>Hi,</div><div><br></div><div>I have been trying a cmake script file to have a dashboard submission on Windows 7 wiht MinGW gcc4.8 compiler. </div><div><br></div><div>CMAKE_USE_PTHREADS:BOOL=OFF</div>
<div>CMAKE_USE_WIN32_THREADS:BOOL=ON<br></div><div><br></div><div>I had setup all other necessay variables for dashboard submission. I followed the cmake script from here[1].</div><div><br></div><div>Only change was in generate which is "MinGW Makefiles" for me. But I also tried with "MSYS Makefiles" as in [1]</div>
<div><br></div><div>I am attaching the full CMakeError and CMakeOutput below. </div><div>Long error log short:</div><div><br></div><div>1. check for heads pthread.h. Solved by installing mingw32-pthreads-win32 package</div>
<div>2. ctest check for pthreads library and reports undefind ref to __imp_pthred_create ...</div><div>3. also checks for sys/ptrcl.h header which doesnot exists</div><div><br></div><div>No problem exists when running just cmake from the build directory. But the values are set from cmake gui. </div>
<div><br></div><div><br></div><div>[1] <a href="http://open.cdash.org/viewNotes.php?buildid=3357007">http://open.cdash.org/viewNotes.php?buildid=3357007</a></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>
Rashad</font></div>
</div>