<pre><font size="4">> On Thursday 25 March 2010, Franklin Dorbon wrote:<br>> ><i> Hello,<br></i>> ><i> I get the below error when running CMAKE, the GUI version 2.8 on windows:<br></i>> ><i><br></i>> ><i> CMake Error at cmake/internal/SearchForStuff.cmake:78<br>
</i>> ><i> (CHECK_STRUCT_HAS_MEMBER): Unknown CMake command "CHECK_STRUCT_HAS_MEMBER".<br></i>> ><i> Call Stack (most recent call first):<br></i>> ><i> CMakeLists.txt:49 (INCLUDE)<br></i>> ><i><br>
</i>> ><i> I don't understand why this command cannot be found, it seems that I<br></i>> ><i> have used CMAKE before and not had to do anything special to use this.<br></i>> ><i> Is this just error with my CMakeLists.txt?<br>
</i>> <br>> Do you have a <br>> include(CheckStructHasMember)<br>> somewhere ? This is necessary, this file defines the macro.<br>> <br>> Alex</font><br><font size="4"><br>I struggle with the same problem.<br>
When I'm trying to configure the source files from Player 3.1.0 on Windows Vista SP2 with CMake 2.8.1, I'm getting the same error as above.<br>I'm not familiar with the whole 'make thing', but I searched for 'include(CheckStructHasMember)' and I found 'INCLUDE (CheckStructHasMember) CHECK_STRUCT_HAS_MEMBER ("struct timespec" tv_sec time.h HAVE_STRUCT_TIMESPEC) ELSE (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 6)' in the file <span style="color: rgb(0, 0, 0);">cmake/internal/SearchForStuff.cmake</span></font><font size="4"><span style="color: rgb(0, 0, 0);">.<br>
I don't know, if this is any help.<br><br>Does anybody have a suggestion how to proceed?<br><br><br>Marcus Liebhardt<br></span><br></font><br></pre>