[vtkusers] Wrong way of handing a time-dependent dataset? Memory leaks...

Alessandro A. Bellina bellina at illinois.edu
Tue Feb 17 10:37:35 EST 2009


OK, nothing truly jumps out at me so I am posting the whole message.
Could it be something wrong with the CMake I have installed?

Thanks for the help

Alessandro

CMakeError.log starts:


Determining if the include file sys/types.h exists failed with the
following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFile.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2


Determining if the include file stdint.h exists failed with the
following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFile.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2


Determining if the include file stddef.h exists failed with the
following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFile.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2


Determining size of int failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE int
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(int))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of long failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE long
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(long))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of void* failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE void*
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(void*))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of char failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE char
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(char))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of short failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE short
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(short))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of float failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE float
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(float))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of double failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE double
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(double))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining if files limits.h exist failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

Source:
/* */
#include <limits.h>


int main(){return 0;}

Determining if files unistd.h exist failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

Source:
/* */
#include <unistd.h>


int main(){return 0;}

Determining if files pthread.h exist failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

Source:
/* */
#include <pthread.h>


int main(){return 0;}

Determining if files sys/types.h;sys/prctl.h exist failed with the
following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

Source:
/* */
#include <sys/types.h>
#include <sys/prctl.h>


int main(){return 0;}

Determining size of unsigned short failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE unsigned short
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(unsigned short))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of unsigned int failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE unsigned int
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(unsigned int))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */


Determining size of unsigned long failed with the following output:
Change Dir: /Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
"/Applications/CMake 2.6-2.app/Contents/bin/cmake" -E
cmake_progress_report
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o
/usr/bin/gcc   -mlong-branch     -o
CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o   -c
/Users/bellina/Code/VTK52/VTKBuild/CMakeFiles/CMakeTmp/CheckTypeSizeC.c
cc1: error: unrecognized command line option "-mlong-branch"
make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckTypeSizeC.c.o] Error 1
make: *** [cmTryCompileExec/fast] Error 2

CheckTypeSizeC.c:
#define CHECK_TYPE_SIZE_TYPE unsigned long
#ifdef CHECK_TYPE_SIZE_TYPE


#ifdef HAVE_SYS_TYPES_H
#  include <sys/types.h>
#endif /* HAVE_SYS_TYPES_H */

#ifdef HAVE_STDINT_H
#  include <stdint.h>
#endif /* HAVE_STDINT_H */

#ifdef HAVE_STDDEF_H
#  include <stddef.h>
#endif /* HAVE_STDDEF_H */



#ifdef __CLASSIC_C__
# define const
#endif

#define SIZE (sizeof(unsigned long))
const char info_sizeof[] =  {'I', 'N', 'F', 'O', ':',
's','i','z','e','o','f','[',
  ('0' + ((SIZE / 10000)%10)),
  ('0' + ((SIZE / 1000)%10)),
  ('0' + ((SIZE / 100)%10)),
  ('0' + ((SIZE / 10)%10)),
  ('0' +  (SIZE    % 10)),
  ']','\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_sizeof[argc];
  (void)argv;
  return require;
}

#else  /* CHECK_TYPE_SIZE_TYPE */

#  error "CHECK_TYPE_SIZE_TYPE has to specify the type"

#endif /* CHECK_TYPE_SIZE_TYPE */




On Mon, Feb 16, 2009 at 7:56 PM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> I would say post the CMakeError.log to the list to see what may be going
> wrong. Or just look through that log file and see if something odd pops out
> at you.
>
> Lots and Lots of people compile VTK CVS nightly on OS X 10.5. Intel 32 bit
> systems and are not having any issues.
>
> Are you starting from a clean build directory each time?
> Do you have any environment variables that are automatically set that might
> be interfering with the compilation?
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> On Feb 16, 2009, at 4:36 PM, Alessandro A. Bellina wrote:
>
>> Hi,
>> I tried installing VTK 5.2 but I got this error (same error I got before)
>>
>> I checked it out from CVS
>>
>>
>> CMake Error at /Applications/CMake
>> 2.6-2.app/Contents/share/cmake-2.6/Modules/TestBigEndian.cmake:31
>> (MESSAGE):
>>  no suitable type found
>> Call Stack (most recent call first):
>>  CMake/CMakeBackwardCompatibilityC.cmake:31 (TEST_BIG_ENDIAN)
>>  CMakeLists.txt:365 (INCLUDE)
>>
>>
>> Any ideas?
>>
>> Thanks,
>>
>> Alessandro
>>
>>
>> On Sat, Feb 14, 2009 at 3:44 PM, Alessandro A. Bellina
>> <bellina at illinois.edu> wrote:
>>>
>>> Thanks. I did find that using Delete worked. I was missing one delete
>>> for the probeFilter....
>>>
>>> I tried installing 5.2 a little while back and I kept on getting a
>>> cmake endinanness error. I will try again when I get a chance and let
>>> you know what I find. I would like to use temporal datasets (something
>>> I understand now comes in 5.2).
>>>
>>> Thanks,
>>>
>>> Alessandro
>>>
>>> On Sat, Feb 14, 2009 at 2:34 PM, Sean McBride <sean at rogue-research.com>
>>> wrote:
>>>>
>>>> On 2/14/09 9:32 AM, Alessandro A. Bellina said:
>>>>
>>>>> MacOS Intel Based
>>>>> VTK 5.0.3
>>>>> I don't have 5.2 because I get endianness errors while trying to
>>>>> compile.
>>>>
>>>> I agree with Mike, you should figure this out.  There were several Mac-
>>>> related improvements between 5.0 and 5.2, I would definitely recommend
>>>> using the newest version.
>>>>
>>>> --
>>>> ____________________________________________________________
>>>> Sean McBride, B. Eng                 sean at rogue-research.com
>>>> Rogue Research                        www.rogue-research.com
>>>> Mac Software Developer              Montréal, Québec, Canada
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Alessandro A. Bellina
>>>
>>> Graduate Student
>>> Bioacoustics Research Laboratory
>>> Electrical and Computer Engineering
>>> University of Illinois at Urbana-Champaign
>>>
>>
>>
>>
>> --
>> Alessandro A. Bellina
>>
>> Graduate Student
>> Bioacoustics Research Laboratory
>> Electrical and Computer Engineering
>> University of Illinois at Urbana-Champaign
>> _______________________________________________
>> 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 VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



-- 
Alessandro A. Bellina

Graduate Student
Bioacoustics Research Laboratory
Electrical and Computer Engineering
University of Illinois at Urbana-Champaign



More information about the vtkusers mailing list