[Dcmlib] Re: Problème pour comp iler la librairie gdcm pour VTK
the.answer3@libertysurf.fr
the.answer3 at libertysurf.fr
Thu Jul 12 17:39:14 CEST 2007
Hi Mathieu,
Thank's for trying to help me...
I have Microsoft Visual Studio 2005, not VC++ express.
I can't install the librairies in C:\ as I'm working on a computer which is not mine.
I already installed ITK and VTK without problem, and a project combining the two librairies without problem too.
In fact, I find that the small project called vtkgdcm build a DLL (vtkgdcm.dll) but no .lib nor .exp. It is odd since the other small projects build DLL, .lib and .exp.
Moreover, I tried the installation on another PC and I have the same problem... vtkgdcm.lib isn't built !
Finally, after searches in google, I found that a few users had the same problem or a problem near the mine, but no solution in all discussions...
Here the installation I did :
- compilation of VTK in debug and release with CMake generated projects
- install of GDCM
- run CMake for generate GDCM projects with Micrisoft Visual Studio 2005 (not express version)
-> option GDCM_VTK set to ON
-> VTK_DIR is good (for example ...\vtk-bin)
-> configure and OK
And while compiling the projects, errors occur as vtkgdcm.lib is not built.
You don't have anymore idea ?
Gourbish.
---------- Initial Header -----------
From : "Mathieu Malaterre" <mathieu.malaterre at gmail.com>
To : "the.answer3 at libertysurf.fr" <the.answer3 at libertysurf.fr>
Cc : dcmlib <dcmlib at creatis.insa-lyon.fr>
Date : Thu, 12 Jul 2007 17:03:52 +0200
Subject : Re: [Dcmlib] Problème pour comp iler la librairie gdcm pour VTK
Hi Gourbish,
Since you are the first one to report this issue, I would be tempted
to say you misconfigured something.
Since you seems familiar with building with CMake I would suggest
you do the following:
Get VTK source in C:\VTK
Create VTK binary in c:\VTK-bin (select debug in VS2005)
Get gdcm source in c:\gdcm
Create gdcm binary in c:\gdcm-bin (select debug in VS2005). You'll
need to check CMake is actually picking c:\VTK-bin and nothing else.
If an error (not a warning) occurs, please send the first one.
Obvisouly if you are building VTK in debug, you will only be allowed
to build gdcm in debug mode (duh!).
HTH
-Mathieu
Ps: You have read the following, right ?
http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
On 7/12/07, the.answer3 at libertysurf.fr <the.answer3 at libertysurf.fr> wrote:
> Bonjour à tous !
>
> Voilà mon soucis, lors de la compilation du projet visual studio, j'ai 8 erreurs de ce type :
> << LINK : fatal error LNK1104: impossible d'ouvrir le fichier 'vtkgdcm.lib' >> que cela soit en debug ou en release.
>
> Voici ma configuration :
> - VTK-5.1 installée (version en cours de développement, le problème viendrait-il de là ?).
> - Visual studio 2005
> - GDCM-1.3.1
> - CMake 2.4.6
> - Pour CMake, j'ai mis l'option GDCM_VTK à ON, et le chemin trouvé pour VTK est le bon.
>
> Merci d'avance pour vos réponses...
>
> Bonne journée.
>
> Gourbish
>
> ------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! ---------------
> Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
> Soumis à conditions.
>
>
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
--
Mathieu
------------------------ ALICE C'EST ENCORE MIEUX AVEC CANAL+ LE BOUQUET ! ---------------
Découvrez vite l'offre exclusive ALICEBOX et CANAL+ LE BOUQUET, en cliquant ici http://alicebox.fr
Soumis à conditions.
More information about the Dcmlib
mailing list