[Insight-users] (no subject)
digvijay singh
digvijay singh" <singh98127 at rediffmail . com
17 Aug 2002 01:09:38 -0000
This is a multipart mime message
--Next_1029546578---0-202.54.124.130-10180
Content-type: text/plain;
format=flowed
Content-Disposition: inline
hi thanks that was the problem ...thanks again..i tried
itkimagereaderviewer example but i got the following compilation
error
could there be something wrong with include in cmakelists.txt
...
could there be something that u guys can help me at:i am addign as
attachment the cmake lists file
thanks
thanks again to u luis
digvijay
/home/vertebra/digvijay/tools/bin/cmake
-S/home/vertebra/digvijay/itk/proj_1/Raw
ImageReaderViewer
-O/home/vertebra/digvijay/itk/proj_1/RawImageReaderViewer -H/h
ome/vertebra/digvijay/itk/proj_1/RawImageReaderViewer
-B/home/vertebra/digvijay/
itk/proj_1/RawImageReaderViewer
CMake Error: FLTK_WRAP_UI: Error :
FLTK_WRAP_UI called with FLTK_WRAP_UI undefined from
CMakeLists.txt file in dire
ctory: /home/vertebra/digvijay/itk/proj_1/RawImageReaderViewer
make: *** [cmake.depends] Error 255
On Fri, 16 Aug 2002 Luis Ibanez wrote :
>Hi,
>
>The global setup for the ITK project is missing in your
>configuration.
>For example, basic headers like itkImage.h are not being found.
>
>It looks like if you have ran CMake only from a subdirectory.
>
>Please make sure to run CMake from the top directory of the ITK
>tree.
>
>Thanks
>
>Luis
>
>=====================================================================
>
>digvijay singh wrote:
>>i tried compiling RawImageReadWrite and i get error while
>>executing make.please check the syntax in cmakelists.txt file
>>i'm sending the error messages and my CMakeLists.txt file
>>error message:
>>cmake.depends is up-to-date
>>c++ -I/home/vertebra/digvijay/project/proj_1/RawImageReadWrite
>>-Ihome/vertebra/
>>digvijay/itk/Code/Common -I/Code/IO -c
>>/home/vertebra/digvijay/project/proj_1/
>>RawImageReadWrite/itkRawImageReadWrite.cxx -o
>>itkRawImageReadWrite.o
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 19: Error: Could not open include file "itkImage.h".
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 22: Error: Could not open include file
>>"itkImageFileReader.h".
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 25: Error: Could not open include file
>>"itkImageFileWriter.h".
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 28: Error: Could not open include file
>>"itkRawImageIO.h".
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 39: Error: cerr is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 39: Error: endl is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 40: Error: cerr is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 40: Error: endl is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 41: Error: cerr is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 41: Error: endl is not a member of std.
>>"/home/vertebra/digvijay/project/proj_1/RawImageReadWrite/itkRawImageReadWrite.c
>>xx", line 48: Error: The function "atoi" must have a
>>prototype.
>>Error: Cannot continue processing because of prior errors.
>>Compilation aborted.
>>make[1]: *** [itkRawImageReadWrite.o] Error 1
>>make: *** [default_target] Error 2
>>
>>INCLUDE_DIRECTORIES(
>>${ITK_SOURCE_DIR} home/vertebra/digvijay/itk/Code/Common
>>${ITK_SOURCE_DIR}/Code/IO
>>)
>>
>>LINK_DIRECTORIES(
>>${ITK_BINARY_DIR}/Code/Common
>>${ITK_BINARY_DIR}/Code/IO
>>)
>>
>>SOURCE_FILES(RawImageReadWrite_SRCS
>>itkRawImageReadWrite
>>)
>>
>>
>>LINK_LIBRARIES (
>>ITKCommon
>>ITKIO
>>)
>>
>>IF(UNIX)
>> LINK_LIBRARIES (
>> ${CMAKE_X_LIBS} -lm
>> )
>>ENDIF(UNIX)
>>
>>ADD_EXECUTABLE(RawImageReadWrite RawImageReadWrite_SRCS)
>>
>>
>>
>>thanks
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
>>
>
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
--Next_1029546578---0-202.54.124.130-10180
Content-type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="CMakeLists.txt"
CgoKSU5DTFVERSAoJHtDTUFLRV9ST09UfS9Nb2R1bGVzL0ZpbmRPcGVuR0wuY21ha2UpCklO
Q0xVREUgKCR7Q01BS0VfUk9PVH0vTW9kdWxlcy9GaW5kR0xVLmNtYWtlKQoKSU5DTFVERV9E
SVJFQ1RPUklFUygKJHtJVEtfU09VUkNFX0RJUn0vQ29kZS9Db21tb24KSU5DTFVERV9ESVJF
Q1RPUklFUygKJGhvbWUvZGlndmlqYXkvZmx0ay9mbHRrLTEuMU9yYzRfZ2NjCgoke0lUS19T
T1VSQ0VfRElSfS9Db2RlL0Jhc2ljRmlsdGVycwoke0lUS19TT1VSQ0VfRElSfS9Db2RlL0Fs
Z29yaXRobXMKJHtJVEtfU09VUkNFX0RJUn0vQ29kZS9JTwoke0lUS19TT1VSQ0VfRElSfS9B
dXhpbGlhcnkvRmx0a0ltYWdlVmlld2VyCiR7SVRLX0JJTkFSWV9ESVJ9L0F1eGlsaWFyeS9G
bHRrSW1hZ2VWaWV3ZXIKJHtJVEtfU09VUkNFX0RJUn0vRXhhbXBsZXMvUmF3SW1hZ2VSZWFk
ZXJWaWV3ZXIKJHtGTFRLX0lOQ0xVREVfUEFUSH0KJHtPUEVOR0xfSU5DTFVERV9QQVRIfQop
CgpMSU5LX0RJUkVD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