[vtkusers] New
Anka Kochanowska
pluszcz at gmail.com
Wed Aug 14 08:33:01 EDT 2013
What is the absolute directory path where you installed vtk 6?
Anka
On Wed, Aug 14, 2013 at 8:29 AM, Altamash Abbasi
<altamashabbasi at gmail.com>wrote:
> it's name is VTKBin . . .
>
>
> On Wed, Aug 14, 2013 at 2:27 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
>
>> What is the name of the directory that contains VTKConfig.cmake?
>>
>> When you configure using cmake, set the VTK_DIR cmake cache entry to the
>> directory
>> containing VTKConfig.cmake.
>>
>>
>>
>>
>> On Wed, Aug 14, 2013 at 8:17 AM, Altamash Abbasi <
>> altamashabbasi at gmail.com> wrote:
>>
>>> here is my vtkConfig.cmake file . . . . what should i do with it . . .
>>> that will help me in running the problem
>>>
>>> #-----------------------------------------------------------------------------
>>> #
>>> # VTKConfig.cmake - VTK CMake configuration file for external projects.
>>> #
>>> # This file is configured by VTK and used by the UseVTK.cmake module
>>> # to load VTK's settings for an external project.
>>>
>>> set(VTK_MODULES_DIR
>>> "/home/stame1/software/VTKBin/lib/cmake/vtk-6.0/Modules")
>>>
>>> # The C and C++ flags added by VTK to the cmake-configured flags.
>>> SET(VTK_REQUIRED_C_FLAGS "")
>>> SET(VTK_REQUIRED_CXX_FLAGS " -Wno-deprecated")
>>> SET(VTK_REQUIRED_EXE_LINKER_FLAGS "")
>>> SET(VTK_REQUIRED_SHARED_LINKER_FLAGS "")
>>> SET(VTK_REQUIRED_MODULE_LINKER_FLAGS "")
>>>
>>> # The VTK version number
>>> SET(VTK_MAJOR_VERSION "6")
>>> SET(VTK_MINOR_VERSION "0")
>>> SET(VTK_BUILD_VERSION "0")
>>>
>>> # The location of the UseVTK.cmake file.
>>> SET(VTK_CMAKE_DIR "/home/stame1/software/VTK6.0.0/CMake")
>>> SET(VTK_USE_FILE "${VTK_CMAKE_DIR}/UseVTK.cmake")
>>>
>>>
>>> #-----------------------------------------------------------------------------
>>> # Load requested modules.
>>>
>>> # List of available VTK modules.
>>> set(VTK_MODULES_ENABLED)
>>>
>>> # Determine list of available VTK-modules by scanning the
>>> VTK_MODULES_DIR.
>>> file(GLOB config_files RELATIVE "${VTK_MODULES_DIR}"
>>> "${VTK_MODULES_DIR}/*.cmake")
>>> foreach (_file ${config_files})
>>> if (NOT "${_file}" MATCHES "[^\\-]+-[a-zA-Z]+\\.cmake")
>>> string(REGEX REPLACE "\\.cmake$" "" _module "${_file}")
>>> list(APPEND VTK_MODULES_ENABLED "${_module}")
>>> endif()
>>> endforeach()
>>>
>>> # Import VTK targets.
>>> set(VTK_CONFIG_TARGETS_FILE
>>> "/home/stame1/software/VTKBin/VTKTargets.cmake")
>>> if(NOT TARGET vtkCommonCore)
>>> include("${VTK_CONFIG_TARGETS_FILE}")
>>> endif()
>>>
>>> # Load module interface macros.
>>> include("/home/stame1/software/VTK6.0.0/CMake/vtkModuleAPI.cmake")
>>>
>>> # Compute set of requested modules.
>>> if(VTK_FIND_COMPONENTS)
>>> # Specific modules requested by find_package(VTK).
>>> set(VTK_MODULES_REQUESTED "${VTK_FIND_COMPONENTS}")
>>> elseif(NOT "${CMAKE_VERSION}" VERSION_GREATER 2.8.4.20110407)
>>> # CMake 2.8.4 and lower do not forward the components list through
>>> # their FindVTK.cmake module, so unless the application called
>>> #
>>> # find_package(VTK NO_MODULE ...)
>>> #
>>> # then only the per-component variables VTK_FIND_REQUIRED_<mod> will
>>> # have leaked through.
>>> set(VTK_MODULES_REQUESTED "")
>>> get_cmake_property(_vars VARIABLES)
>>> foreach(v IN LISTS _vars)
>>> if("x${v}" MATCHES "^xVTK_FIND_REQUIRED_" AND ${v})
>>> string(REGEX REPLACE "^VTK_FIND_REQUIRED_" "" _mod "${v}")
>>> list(APPEND VTK_MODULES_REQUESTED ${_mod})
>>> endif()
>>> endforeach()
>>> endif()
>>> if(NOT VTK_MODULES_REQUESTED)
>>> # No specific modules requested. Use all of them.
>>> set(VTK_MODULES_REQUESTED "${VTK_MODULES_ENABLED}")
>>> endif()
>>>
>>> # Load requested modules and their dependencies into variables:
>>> # VTK_DEFINITIONS = Preprocessor definitions
>>> # VTK_LIBRARIES = Libraries to link
>>> # VTK_INCLUDE_DIRS = Header file search path
>>> # VTK_LIBRARY_DIRS = Library search path (for outside dependencies)
>>> vtk_module_config(VTK ${VTK_MODULES_REQUESTED})
>>>
>>>
>>> #-----------------------------------------------------------------------------
>>>
>>> # VTK global configuration options.
>>> SET(VTK_BUILD_SHARED_LIBS "ON")
>>> SET(VTK_LEGACY_REMOVE "OFF")
>>> SET(VTK_LEGACY_SILENT "OFF")
>>> SET(VTK_WRAP_PYTHON "OFF")
>>> SET(VTK_WRAP_TCL "OFF")
>>> SET(VTK_WRAP_JAVA "OFF")
>>>
>>> # Do not add options or information here that is specific to a
>>> # particular module. Instead set <module>_EXPORT_OPTIONS and/or
>>> # <module>_EXPORT_CODE_BUILD and <module>_EXPORT_CODE_INSTALL
>>> # at the top of the module CMakeLists.txt file.
>>>
>>>
>>>
>>> On Wed, Aug 14, 2013 at 2:08 PM, Altamash Abbasi <
>>> altamashabbasi at gmail.com> wrote:
>>>
>>>> stame1 at itlrstud044:~/software/SimplePointsReader/build> make
>>>> make[2]: *** No rule to make target
>>>> »/home/stame1/software/VTKBin/lib/libvtkfreetype-6.0.so.1«,
>>>> needs of »Simple Point Reader" to create. Closing.
>>>> make[1]: *** [CMakeFiles/SimplePointsReader.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>>
>>>> And whats the meaning of this Error . . .
>>>>
>>>>
>>>> On Wed, Aug 14, 2013 at 1:52 PM, Anka Kochanowska <pluszcz at gmail.com>wrote:
>>>>
>>>>> Hi!
>>>>> We have asked you many times to keep the discussion on vtkusers
>>>>> mailing list. You have to select Replay All when you answer messages posted
>>>>> to the list.This way you have better chances to resolve your problem.
>>>>> You have to pass as VTK_DIR the directory containing VTKConfig.cmake.
>>>>> Surely, you are able to find files on your system?
>>>>> Look in the directory where you installed vtk, in lib, vtk-6...
>>>>> Anka
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Aug 14, 2013 at 7:44 AM, Altamash Abbasi <
>>>>> altamashabbasi at gmail.com> wrote:
>>>>>
>>>>>> no i'm not using cmake-gui???
>>>>>> can u tell me the appropriate path of VTK_DIR??
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 14, 2013 at 1:37 PM, Anka Kochanowska <pluszcz at gmail.com>wrote:
>>>>>>
>>>>>>> Exactly what it says - you have to set VTK_DIR when you configure
>>>>>>> cmake.
>>>>>>> Are you using cmake-gui?
>>>>>>> Find the line VTK_DIR and enter there the path described in the
>>>>>>> error message.
>>>>>>> Anka
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Aug 14, 2013 at 7:01 AM, Altamash Abbasi <
>>>>>>> altamashabbasi at gmail.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> CMake Error at /usr/share/cmake/Modules/FindVTK.cmake:135
>>>>>>>> (MESSAGE):
>>>>>>>> VTK not found. Set the VTK_DIR cmake cache entry to the
>>>>>>>> directory
>>>>>>>> containing VTKConfig.cmake. This is either the root of the
>>>>>>>> build tree, or
>>>>>>>> PREFIX/lib/vtk for an installation. For VTK 4.0, this is the
>>>>>>>> location of
>>>>>>>> UseVTK.cmake. This is either the root of the build tree or
>>>>>>>> PREFIX/include/vtk for an installation.
>>>>>>>> Call Stack (most recent call first):
>>>>>>>> CMakeLists.txt:6 (find_package)
>>>>>>>>
>>>>>>>> Whats the meaning of this Error ?????
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> 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
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130814/4df67136/attachment.htm>
More information about the vtkusers
mailing list