> On Thursday 25 March 2010, Franklin Dorbon wrote:
> >* Hello,
*> >* I get the below error when running CMAKE, the GUI version 2.8 on windows:
*> >*
*> >* CMake Error at cmake/internal/SearchForStuff.cmake:78
*> >* (CHECK_STRUCT_HAS_MEMBER): Unknown CMake command
"CHECK_STRUCT_HAS_MEMBER".
*> >* Call Stack (most recent call first):
*> >* CMakeLists.txt:49 (INCLUDE)
*> >*
*> >* I don't understand why this command cannot be found, it seems that I
*> >* have used CMAKE before and not had to do anything special to use this.
*> >* Is this just error with my CMakeLists.txt?
*>
> Do you have a
> include(CheckStructHasMember)
> somewhere ? This is necessary, this file defines the macro.
>
> Alex
I struggle with the same problem.
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.
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
cmake/internal/SearchForStuff.cmake.
I don't know, if this is any help.
Does anybody have a suggestion how to proceed?
Marcus Liebhardt
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake