[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dennou-ruby:002724] [VTK-ruby]make is failed



西澤さま

なかのです。

vtk-ruby-061028.tar.gz
の make をDebian/sarge(i386, amd64)でこころみているのですが、いずれの環境でもうまくいきません。

vtkUnsignedLongLongArrayRuby.o をつくるところでこけます。

cmakeはdebian package なものでバージョンは 2.0.5です。

エラーは以下の通りです。
なにかわかりますでしょうか??

よろしくお願いします。


Building object file vtkUnsignedLongLongArrayRuby.o...
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx: function
    内の `VALUE rb_vtkUnsignedLongLongArray_SetValue(int, VALUE*, long unsigned 
   int)':
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx:217: error: `
   NUM2ULL' undeclared (first use this function)
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx:217: error: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx: function
    内の `VALUE rb_vtkUnsignedLongLongArray_InsertValue(int, VALUE*, long 
   unsigned int)':
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx:277: error: `
   NUM2ULL' undeclared (first use this function)
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx: function
    内の `VALUE rb_vtkUnsignedLongLongArray_InsertNextValue(int, VALUE*, long 
   unsigned int)':
/home/masuo/dennou/vtk20061028/VTK/Common/vtkUnsignedLongLongArrayRuby.cxx:306: error: `
   NUM2ULL' undeclared (first use this function)
make[3]: *** [vtkUnsignedLongLongArrayRuby.o] エラー 1
make[2]: *** [default_target] エラー 2
make[1]: *** [default_target_Common] エラー 2
make: *** [default_target] エラー 2



masuo@noon:~/dennou/vtk20061028/VTK$ cat VTKBuildSettings.cmake
# This file has been automatically generated by CMake.  DO NOT EDIT!
# It contains the build configuration for VTK.  The command
# CMAKE_EXPORT_BUILD_SETTINGS(...) was used by VTK to
# generate this file.  Another project can use
# CMAKE_IMPORT_BUILD_SETTINGS(...) to load the build configuration
# from this file.  The contents of this file may be different across
# versions of CMake.  The values set here should not be used by user
# code.

SET(CMAKE_BUILD_SETTING_CMAKE_MAJOR_VERSION "2")
SET(CMAKE_BUILD_SETTING_CMAKE_MINOR_VERSION "0")
SET(CMAKE_BUILD_SETTING_PROJECT_NAME "VTK")

SET(CMAKE_BUILD_SETTING_C_COMPILER "gcc")
SET(CMAKE_BUILD_SETTING_C_FLAGS "")
SET(CMAKE_BUILD_SETTING_C_FLAGS_DEBUG "-g")
SET(CMAKE_BUILD_SETTING_C_FLAGS_RELEASE "-O3")
SET(CMAKE_BUILD_SETTING_C_FLAGS_MINSIZEREL "-Os")
SET(CMAKE_BUILD_SETTING_C_FLAGS_RELWITHDEBINFO "-O2 -g")

SET(CMAKE_BUILD_SETTING_BUILD_TYPE "")
SET(CMAKE_BUILD_SETTING_BUILD_TOOL "/usr/bin/make")

-- 
中野満寿男
九州大学大学院理学府地球惑星科学専攻
流体圏・宇宙圏科学講座 地球流体力学分野
masuo@xxxxxxxxxxxxxxxxxx