Re: [Gdcm2] Using GDCM 2.X with C# - Pb compilation
Cross-platform DICOM implementation
Brought to you by:
malat
From: Emmanuel O. <emm...@gm...> - 2009-10-28 14:04:36
|
Hi, Please try to copy all gdcm dlls in your build folder and rename gdcmsharpglue.dll to gdcm.dll Cheers, Emmanuel 2009/10/28 toulgen <to...@gm...> > Hi, > > My environment is: > 1-gdcm-2.0.13 > 2-cmake 2.6 > 3-swigwin-1.3.40 > > Using cmake, I generate GDCM solution (gdcm.sln) with these options: > -GDCM_BUILD_APPLICATIONS > -GDCM_BUILD_EXAMPLEs > -GDCM_BUILD_SHARED_LIBS > -GDCM_USE_VTK > -GDCM_WRAP_CSHARP > > I compile gdcm solution in release mode. > > Then, I copy all DLLs in my output project. I add vtkgdcm-sharp.dll in > references of my project. I add this line in my project > "vtkgdcm.vtkGDCMImageReader reader = vtkGDCMImageReader.New();". > Finally, I execute my project. > > I have this error: Une exception a été levée par l'initialiseur de > type pour 'vtkgdcm.vtkgdcmPINVOKE'. > > Have you any idea? > > Thx > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gdcm-developers mailing list > Gdc...@li... > https://lists.sourceforge.net/lists/listinfo/gdcm-developers > > |