Hi Varun,
this is very hard for us to diagnose. Are you using any of the MITK framework
(CMake macros and the like) or are you indeed writing everything from scratch
(as I am currently assuming).
If the first try adding the dependency to the corresponding component to the
PACKAGE_DEPENDS and check your includes.
If the second… you probably did something wrong somewhere? (Check your includes
and the include paths for your MSVS project nonetheless)
Best,
Caspar
Von: Varun Varadarajan [mailto:varun.varadara...@inova-de.eu]
Gesendet: Mittwoch, 19. Oktober 2016 13:58
An: mitk-users
Betreff: Re: [mitk-users] VTKImageViewer.h and VTKSmartPointer.h
Hello All,
Any update on the mail above? Any suggestions?
Please help.
Mit freundlichen Grüßen,
Varun Varadarajan
--------------------------------
Mr. Varun Varadarajan
Werkstudent
Tel: +49 6221 3543445<tel:%2B49%206221%203543445>
Mob: +49-17657977029<tel:%2B49%20163%203349042>
E-Mail: varun.varadara...@inova-de.eu<mailto:varun.varadara...@inova-de.eu>
Web: www.inova-de.eu<http://www.inova-de.eu/>
Inova DE GmbH
Sitz: Kaiserstraße 64, 69115 Heidelberg, Germany
Amtsregister Mannheim: HRB 722938, USt-IdNr.: DE 301814751 Steuernummer:
32494/63607 Geschäftsführer: Varun Varadarajan
Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse, dem Anwaltsgeheimnis
unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten Sie
diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des
Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich
untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene
E-Mail. Vielen Dank!
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and delete this e-mail from your system. Thank you!
Please think twice before printing this e-mail: save paper, toner and the
environment.
On 19 October 2016 at 11:46, Varun Varadarajan
<varun.varadara...@inova-de.eu<mailto:varun.varadara...@inova-de.eu>> wrote:
Hello All,
While compilng a program to load dicom images in visual studio i am facing the
below error :
>------ Build started: Project: QtSingleDCMDisplay, Configuration: Debug x64
>------
1> mainwindow.cpp
1>mainwindow.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class vtkImageViewer2 * __cdecl
vtkImageViewer2::New(void)" (__imp_?New@vtkImageViewer2@@SAPEAV1@XZ) referenced
in function "public: static class vtkSmartPointer<class vtkImageViewer2>
__cdecl vtkSmartPointer<class vtkImageViewer2>::New(void)"
(?New@?$vtkSmartPointer@VvtkImageViewer2@@@@SA?AV1@XZ)
1>debug\\QtSingleDCMDisplay.exe : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Please help me with this.
With my debugging i have found out , the vtkImageViewer.h and vtkSmartPointer.h
has class references to vtkObject and vtkObjectBase libraries. But i do not
have them in the backend in the library folders of vtk. How do i give
references in the linker to the libraries. Please help. I am stuck with this
for a long time. I do not find the exact libraries as well.
Mit freundlichen Grüßen,
Varun Varadarajan
--------------------------------
Mr. Varun Varadarajan
Werkstudent
Tel: +49 6221 3543445<tel:%2B49%206221%203543445>
Mob: +49-17657977029<tel:%2B49%20163%203349042>
E-Mail: varun.varadara...@inova-de.eu<mailto:varun.varadara...@inova-de.eu>
Web: www.inova-de.eu<http://www.inova-de.eu/>
Inova DE GmbH
Sitz: Kaiserstraße 64, 69115 Heidelberg, Germany
Amtsregister Mannheim: HRB 722938, USt-IdNr.: DE 301814751 Steuernummer:
32494/63607 Geschäftsführer: Varun Varadarajan
Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse, dem Anwaltsgeheimnis
unterliegende oder sonstige vertrauliche Informationen enthalten. Sollten Sie
diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des
Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich
untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene
E-Mail. Vielen Dank!
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and delete this e-mail from your system. Thank you!
Please think twice before printing this e-mail: save paper, toner and the
environment.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users