Installation Problems On Microsoft Visual Studio .NET 2003

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
dhaval
Posts: 7
Joined: Wed, 2005-02-02, 20:15

Installation Problems On Microsoft Visual Studio .NET 2003

#1 Post by dhaval »

Hi Everyone!!
I have been trying to install DCMTK on Windows Xp OS with Microsoft Visual Studio .NET 2003 (7.1). I followed the instructions given exactly
in the Install file. I have got 64 Build Errors. I tried to debug them but no luck.

dsrdump
warning LNK4044: unrecognized option '/LIBP'; ignored
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmdata\$(INTDIR)
dsr2xml warning LNK4044: unrecognized option '/LIBP'; ignored
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmdata\$(INTDIR)
dsr2html warning LNK4044: unrecognized option '/LIBP'; ignored
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmdata\$(INTDIR)
xml2dsr warning LNK4044: unrecognized option '/LIBP'; ignored
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmdata\$(INTDIR)
dcmsign fatal error LNK1146: no argument specified with option '/LIBPATH:'
mkreport warning LNK4044: unrecognized option '/LIBP'; ignored
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmdata\$(INTDIR)
dcmmkdir fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INT /LIBPATH:../../dcmimgle\$(INTDIR)
dcmj2pnm fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDI /LIBPATH:../../dcmimgle\$(INTDIR)
dcmdjpeg fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INT /LIBPATH:../../dcmimgle\$(INTDIR)
dcmcjpeg fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INT /LIBPATH:../../dcmimgle\$(INTDIR)
dcmmkcrv fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmmklut fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmp2pgm fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmprscp fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmprscu fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmquant fatal error LNK1117: syntax error in option ''
dcm2pnm fatal error LNK1117: syntax error in option ''
dcmpschk fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dconvlum warning LNK4044: unrecognized option '/LI'; ignored
dcod2lum warning LNK4044: unrecognized option '/LI'; ignored
dcmdspfn warning LNK4044: unrecognized option '/LI'; ignored
dcmpsmk fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
ti fatal error LNK1117: syntax error in option ''
imagectn fatal error LNK1117: syntax error in option ''
dbregimg fatal error LNK1117: syntax error in option ''
dcmpsprt fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
storescu fatal error LNK1117: syntax error in option ''
storescp fatal error LNK1117: syntax error in option ''
movescu fatal error LNK1117: syntax error in option ''
findscu fatal error LNK1117: syntax error in option ''
echoscu fatal error LNK1117: syntax error in option ''
dcmpsrcv fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
dcmpssnd fatal error LNK1117: syntax error in option ''
Project The following environment variables were not found:
$(INTDIR /LIBPATH:../../imagectn\$(INTDIR)
xml2dcm warning LNK4044: unrecognized option '/LIBPA'; ignored
dump2dcm warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmodify warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmgpdir warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmftest warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmdump warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmdrle warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmcrle warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmconv warning LNK4044: unrecognized option '/LIBPA'; ignored
dcm2xml warning LNK4044: unrecognized option '/LIBPA'; ignored
dcmscale fatal error LNK1117: syntax error in option ''
wlmscpfs fatal error LNK1117: syntax error in option ''

Any Help or suggestions will be appreciated..
Waiting for a quick Reply.
Thanks
Dhaval

youngn
Posts: 8
Joined: Thu, 2005-01-27, 19:33

#2 Post by youngn »

You probably already noticed this, but it appears that the /LIBPATH linker option and the macro $(INTDIR) is somehow being cut off. Not sure exactly why that is, but here are a few things you might want to try:

1) In Project Properties, go to Linker and check the Command Line entry. See if the /LIBPATH and $(INTDIR) is being cut off there too.

2) If DCMTK is in a path that contains spaces (e.g., "c:\Program Files\DCMTK"), you might run into problems (as I did). Ensure the path has no spaces.

3) Avoid really long paths so that the Additional Library Directories entry isn't too long (it apparently can overflow).

4) See my post in viewtopic.php?t=41 and try some of the suggestions there as well, especially the "Use relative paths" option on CMake.

Norman

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest