I am trying to add DCMTK libs(for android) in my QT project and getting these errors
C:\Ashish\dcmtk-3.6.3\dcmnet\libsrc\dul.cc:383: error: undefined reference to 'signal'
vrscanl.c:5453: error: undefined reference to 'stdin'
vrscanl.c:5453: error: undefined reference to 'stdout'
vrscanl.c:6098: error: undefined reference to 'stderr'
C:\Ashish\dcmtk-3.6.3\oflog\libsrc\threads.cc:80: error: undefined reference to 'sigfillset'
C:\Ashish\dcmtk-3.6.3\ofstd\libsrc\ofstd.cc:287: error: undefined reference to '__gnu_strerror_r'
C:\Ashish\dcmtk-3.6.3\ofstd\libsrc\ofstring.cc:55: error: undefined reference to 'stderr'
C:\Ashish\dcmtk-3.6.3\ofstd\libsrc\ofuuid.cc:62: error: undefined reference to 'rand'
collect2.exe error: error: ld returned 1 exit status
My .pro file
INCLUDEPATH += "C:/Ashish/TestApplications/TestDcmtkQT/TestDcmtkQT/include"
LIBS += -L"$$PWD/lib/" -li2d -ldcmtls -ldcmnet -ldcmdata -loflog -lofstd
Secondly I have built the lib and trying to add it in my project so why it is taking my source code path while throwing error for ex:
how can i solve this problem?C:\Ashish\dcmtk-3.6.3\ofstd\libsrc\ofstring.cc
Please help!