Looks like CHECK_TYPE_SIZE(..) calls made by cmake to discover various
type sizes just fails (not just for OggTheora but also for HDF5 and
IceT).  To confirm that, try running cmake on the attached
CMakeLists.txt as

> cd <TMP_BUILD_DIR>
> ccmake  ..../<DIR containing the attached CMakeLists.txt>

What does it print out (ensure correct compiler is being used)? For me
it prints the following message:

HAVE_VTKOGGTHEORA_INT16_T=TRUE
     VTKOGGTHEORA_INT16_T=2

HAVE_VTKOGGTHEORA_INT=TRUE
     VTKOGGTHEORA_INT=4
cmake_minimum_required(VERSION 2.8)
project(TestTypeSize)

include(CheckTypeSize)
CHECK_TYPE_SIZE(int16_t     VTKOGGTHEORA_INT16_T)
CHECK_TYPE_SIZE(int         VTKOGGTHEORA_INT)

message(
  "Test results: \n"
  "HAVE_VTKOGGTHEORA_INT16_T=${HAVE_VTKOGGTHEORA_INT16_T}\n"
  "     VTKOGGTHEORA_INT16_T=${VTKOGGTHEORA_INT16_T}\n"
  "\n"
  "HAVE_VTKOGGTHEORA_INT=${HAVE_VTKOGGTHEORA_INT}\n"
  "     VTKOGGTHEORA_INT=${VTKOGGTHEORA_INT}")
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to