[vtkusers] how to use GDCM in VS 2010 for C# Project on Windows

mahtabrasheed195 mahtabrasheed195 at gmail.com
Tue Jul 26 06:43:04 EDT 2011


Hi Dear, 

Version: GDCM 2.0.18 
Compiler:Visual Studio 2010 Ultimate 
Language:C# 
Platform:Windows 64-bit 

  i am getting this error while building GDCM for C# project in CMake 

CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/UseSWIG.cmake:168 (ADD_CUSTOM_COMMAND): 
add_custom_command called with OUTPUT containing a "#". This character is 
not allowed. 
Call Stack (most recent call first): 
C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/UseSWIG.cmake:207
(SWIG_ADD_SOURCE_TO_MODULE) 
Wrapping/Csharp/CMakeLists.txt:41 (SWIG_ADD_MODULE) 
You have called ADD_LIBRARY for library gdcmsharpglue without any source
files. This typically indicates a problem with your CMakeLists.txt file 
CMake Error at Wrapping/Csharp/CMakeLists.txt:151 (ADD_CUSTOM_COMMAND): 
add_custom_command called with OUTPUT containing a "#". This character is 
not allowed. 
CMake Error at Wrapping/Csharp/CMakeLists.txt:164 (ADD_CUSTOM_COMMAND): 
add_custom_command called with OUTPUT containing a "#". This character is 
not allowed. 
Check if the system is big endian 
Searching 16 bit integer 
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/TestBigEndian.cmake:44 (MESSAGE): 
no suitable type found 
Call Stack (most recent call first): 
CMakeLists.txt:516 (TEST_BIG_ENDIAN) 

can any one help me .....which thing is going wrong. 
how i can correct it and use GDCM for C# 

--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-use-GDCM-in-VS-2010-for-C-Project-on-Windows-tp4634350p4634350.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list