[Dcmlib] Re: [vtkusers] Problem with creating data volume from DICOM files data.

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Oct 13 17:46:58 CEST 2005


[Please keep dcmlib as CC]

Ok,

	There is something very weird going on, I could find your submitted 
file in the ftp/incoming but not on the dashboard.

	Anyway I went throught the XML file and found out this:

  <Error>
                 <BuildLogLine>322</BuildLogLine>
                 <Text>LINK : fatal error LNK1104: cannot open file 
'vtkCommon.lib'
</Text>
                 <PreContext>
Compiling...

	Did you forget to mention you don't have VTK libs on your system ;-). 
Of course if you want gdcm-vtk you *absolutely* need vtk on your system. 
So please compile vtk as you did for gdcm (cmake...), and then when 
configuring gdcm with cmake, specify where to look for the vtk libs.

HTH
Mathieu

Łukasz Tutaj wrote:
> Mathieu,
> 
> Yes I ran it through command line. Time and data settings on my computer 
> are ok. The name of my computer is Lukas. In attachment is the output 
> created after running "ctest -D Experimental -V".
> 
> Thanks.
> Łukasz
> 
>> Łukasz,
>>
>>     Did you ran it through the command line ? Could you send me the 
>> output (like s screenshot). Is your computer on time, what is the name 
>> of your computer ? Because I don't see your computer:
>>
>> http://public.kitware.com/dashboard.php?name=gdcm
>>
>>     We have people submitting from all around the world, but you need 
>> to have your computer on time.
>>
>> Mathieu
>>
>> Łukasz Tutaj wrote:
>>
>>> Methieu,
>>>
>>>    Now I did what you'd asked me. I run Experimental and it it 
>>> submitted through ftp. Thanks again.
>>>
>>> Łukasz
>>>
>>>> Łukasz,
>>>>
>>>>     Could you please, keep the thread on gdcm mailing list, this is 
>>>> not a vtk question.
>>>>
>>>>     To answer your question: no you did not do what I asked you to 
>>>> do. When you run the 'Experimental' result it ftp all the build log in:
>>>>
>>>> http://public.kitware.com/dashboard.php?name=gdcm
>>>>
>>>>     But I can't see you machine... So please run the Experimental 
>>>> again, and let me know when this has submitted. If you want you can 
>>>> run this from the command line, eg:
>>>>
>>>> cmd> cd gdcm-bin
>>>> cmd> ctest -D Experimental -V
>>>> ....wait....
>>>>
>>>> HTH,
>>>> Mathieu
>>>>
>>>> Łukasz Tutaj wrote:
>>>>
>>>>> Hi Mathieu,
>>>>>
>>>>>    I did everything you'd advised me. I got some build logs in 
>>>>> ...\Debug and ...\Release directories and a lot of stuff in 
>>>>> ...\Testing directory (xml files and txt files and one build log). 
>>>>> Shall I send this to you to let you find out what is wrong? Thank 
>>>>> you very much for your attention.
>>>>>
>>>>> Łukasz
>>>>>
>>>>>>
>>>>>>> Hi Mathieu,
>>>>>>>
>>>>>>>   I did what you said. I took source from cvs, then using cmake I 
>>>>>>> configure gdcm and finally I built gdcm using Visual Studio 7. 
>>>>>>> Here I found some problems. During building occured some errors. 
>>>>>>> All errors was caused by the fact that it was impossible to find 
>>>>>>> vtkgdcm.lib. Error occured in gdcmTests, vtkWriteDicom, 
>>>>>>> vtkgdcmViewer, vtkgdcmViewer2 and vtkgdcmdemo. In all cases the 
>>>>>>> error description was: fatal error LNK1104: cannot opep file 
>>>>>>> 'vtkgdcm.lib'. There were also 3 warnings in vtkgdcmViewer2.cxx. 
>>>>>>> Is it my fault with this errors? I think I did everything properly.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Łukasz,
>>>>>>
>>>>>>     When you open the project in visual studio 7, you should see a 
>>>>>> target called 'Experimental' on the right panel. If your computer 
>>>>>> is connected to the internet, then please run this target. This 
>>>>>> will try to compile gdcm/vtkgdcm for you and submit result of 
>>>>>> compilation+test. Therefore I will be able to examine what is 
>>>>>> going on.
>>>>>>
>>>>>> Thanks
>>>>>> Mathieu
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> PrintDocument.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> PrintDocument - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: PrintDicomDir, Configuration: Release Win32 -----
> -
> 
> Compiling...
> PrintDicomDir.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> PrintDicomDir - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: MakeDicomDir, Configuration: Release Win32 ------
> 
> 
> Compiling...
> MakeDicomDir.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> MakeDicomDir - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: FlatHashTablePrint, Configuration: Release Win32
> ------
> 
> Compiling...
> FlatHashTablePrint.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> FlatHashTablePrint - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: FindTags, Configuration: Release Win32 ------
> 
> Compiling...
> FindTags.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> FindTags - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: vtkgdcmViewer, Configuration: Release Win32 -----
> -
> 
> Compiling...
> vtkgdcmViewer.cxx
> Linking...
> LINK : fatal error LNK1104: cannot open file 'vtkgdcm.lib'
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\vtk\Release\BuildLog.ht
> m"
> 
> vtkgdcmViewer - 1 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: vtkgdcmViewer2, Configuration: Release Win32 ----
> --
> 
> Compiling...
> vtkgdcmViewer2.cxx
> Linking...
> LINK : fatal error LNK1104: cannot open file 'vtkgdcm.lib'
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\vtk\Release\BuildLog.ht
> m"
> 
> vtkgdcmViewer2 - 1 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: Volume2Dicom, Configuration: Release Win32 ------
> 
> 
> Compiling...
> Volume2Dicom.cxx
> Linking...
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Example\Release\BuildLo
> g.htm"
> 
> Volume2Dicom - 0 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: vtkgdcmdemo, Configuration: Release Win32 ------
> 
> Compiling...
> vtkGdcmDemo.cxx
> Linking...
> LINK : fatal error LNK1104: cannot open file 'vtkgdcm.lib'
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\vtk\Release\BuildLog.ht
> m"
> 
> vtkgdcmdemo - 1 error(s), 0 warning(s)
> 
> 
> 
> ------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
> 
> Performing Post-Build Event...
> "Build all projects"
> 
> 
> Build log was saved at "file://d:\Praca magisterska\gdcm\Release\BuildLog.htm"
> 
> ALL_BUILD - 0 error(s), 0 warning(s)
> 
> 
> 
> ---------------------- Done ----------------------
> 
>     Build: 28 succeeded, 6 failed, 0 skipped
> 
> 
> 
>  Size of output: 13K
> Error(s) when building project
>    6 Compiler errors
>    1 Compiler warnings
> Test project
> Changing directory into D:\PRACA MAGISTERSKA\gdcm\Testing
>   1/ 10 Testing TestUtil                      Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   2/ 10 Testing TestBug                       Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   3/ 10 Testing TestHash                      Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   4/ 10 Testing TestTS                        Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   5/ 10 Testing TestVR                        Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   6/ 10 Testing TestDict                      Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   7/ 10 Testing TestWriteSimple               Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   8/ 10 Testing TestSequence                  Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>   9/ 10 Testing TestDicomDirElement           Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
>  10/ 10 Testing TestDicomString               Unable to find executable: D:/PRAC
> A MAGISTERSKA/gdcm/bin/gdcmTests
> 
> 0% tests passed, 10 tests failed out of 10
> 
> The following tests FAILED:
>           1 - TestUtil (Not Run)
>           2 - TestBug (Not Run)
>           3 - TestHash (Not Run)
>           4 - TestTS (Not Run)
>           5 - TestVR (Not Run)
>           6 - TestDict (Not Run)
>           7 - TestWriteSimple (Not Run)
>           8 - TestSequence (Not Run)
>           9 - TestDicomDirElement (Not Run)
>          10 - TestDicomString (Not Run)
> Performing coverage
> Cannot find any coverage information files (.da)
> Submit files (using ftp)
>   Using FTP submit method
>   Upload file: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Configure.xml to
> ftp://ftpuser:public@public.kitware.com/incoming/LUKAS___Win32-vs71___20051012-2
> 338-Experimental___XML___Configure.xml
> * About to connect() to public.kitware.com:21
> * Connected to public.kitware.com (24.97.130.19) port 21
> 
>>USER ftpuser
>>PASS public
> 
> * We have successfully logged in
> 
>>PWD
> 
> * Entry path is '/'
> 
>>CWD incoming
>>EPSV
> 
> * About to connect() to public.kitware.com:53138
> * Connecting to public.kitware.com (24.97.130.19) port 53138
> * Connected the data stream with PASV!
> 
>>TYPE I
>>STOR LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Configure.xml
> 
> * Connection #0 left intact
> * Closing connection #0
>   Uploaded: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Configure.xml
>   Upload file: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Build.xml to ftp:
> //ftpuser:public at public.kitware.com/incoming/LUKAS___Win32-vs71___20051012-2338-
> Experimental___XML___Build.xml
> * About to connect() to public.kitware.com:21
> * Connected to public.kitware.com (24.97.130.19) port 21
> 
>>USER ftpuser
>>PASS public
> 
> * We have successfully logged in
> 
>>PWD
> 
> * Entry path is '/'
> 
>>CWD incoming
>>EPSV
> 
> * About to connect() to public.kitware.com:53140
> * Connecting to public.kitware.com (24.97.130.19) port 53140
> * Connected the data stream with PASV!
> 
>>TYPE I
>>STOR LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Build.xml
> 
> * Connection #0 left intact
> * Closing connection #0
>   Uploaded: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Build.xml
>   Upload file: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Test.xml to ftp:/
> /ftpuser:public at public.kitware.com/incoming/LUKAS___Win32-vs71___20051012-2338-E
> xperimental___XML___Test.xml
> * About to connect() to public.kitware.com:21
> * Connected to public.kitware.com (24.97.130.19) port 21
> 
>>USER ftpuser
>>PASS public
> 
> * We have successfully logged in
> 
>>PWD
> 
> * Entry path is '/'
> 
>>CWD incoming
>>EPSV
> 
> * About to connect() to public.kitware.com:53142
> * Connecting to public.kitware.com (24.97.130.19) port 53142
> * Connected the data stream with PASV!
> 
>>TYPE I
>>STOR LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Test.xml
> 
> * Connection #0 left intact
> * Closing connection #0
>   Uploaded: D:/PRACA MAGISTERSKA/gdcm/Testing/20051012-2338/Test.xml
>   Trigger url: http://public.kitware.com/cgi-bin/Submit-Public-TestingResults.pl
> ?xmlfile=LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Configure.xml
> * About to connect() to public.kitware.com:80
> * Connected to public.kitware.com (24.97.130.19) port 80
> 
>>GET /cgi-bin/Submit-Public-TestingResults.pl?xmlfile=LUKAS___Win32-vs71___2005
> 
> 1012-2338-Experimental___XML___Configure.xml HTTP/1.1
> Host: public.kitware.com
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> <p>LUKAS/Win32-vs71/20051012-2338-Experimental/XML/Configure.xml submission succ
> essful.</p>* Connection #0 left intact
> * Closing connection #0
> 
>   Trigger url: http://public.kitware.com/cgi-bin/Submit-Public-TestingResults.pl
> ?xmlfile=LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Build.xml
> * About to connect() to public.kitware.com:80
> * Connected to public.kitware.com (24.97.130.19) port 80
> 
>>GET /cgi-bin/Submit-Public-TestingResults.pl?xmlfile=LUKAS___Win32-vs71___2005
> 
> 1012-2338-Experimental___XML___Build.xml HTTP/1.1
> Host: public.kitware.com
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> <p>LUKAS/Win32-vs71/20051012-2338-Experimental/XML/Build.xml submission successf
> ul.</p>* Connection #0 left intact
> * Closing connection #0
> 
>   Trigger url: http://public.kitware.com/cgi-bin/Submit-Public-TestingResults.pl
> ?xmlfile=LUKAS___Win32-vs71___20051012-2338-Experimental___XML___Test.xml
> * About to connect() to public.kitware.com:80
> * Connected to public.kitware.com (24.97.130.19) port 80
> 
>>GET /cgi-bin/Submit-Public-TestingResults.pl?xmlfile=LUKAS___Win32-vs71___2005
> 
> 1012-2338-Experimental___XML___Test.xml HTTP/1.1
> Host: public.kitware.com
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> 
> <p>LUKAS/Win32-vs71/20051012-2338-Experimental/XML/Test.xml submission successfu
> l.</p>* Connection #0 left intact
> * Closing connection #0
> 
>   Dart server triggered...
>   Submission successfull
> 
> D:\PRACA MAGISTERSKA\gdcm>




More information about the Dcmlib mailing list