[Insight-developers] RE:Windows Install
Holmes, David R., Ph.D.
Holmes.David3@mayo.edu
Fri, 25 Apr 2003 18:09:21 -0500
Well, I have a question which I am sure is obvious but it's Friday night and my brain doesn't work.
I went to setup and compile ITK(cvs version) for WindowsXP using cmake(1.6.?). I selected NMake file output. Everything worked well. I compiled using the VC6/nmake. Once again, worked well. Went to install - blah.
"Installing ..."
! was unexpected at this time.
NMAKE : fatal error U1077: 'if' : return code '0x1'
Stop.
So I looked into the Makefile and found:
INSTALL = S:/ITK-1.2/SRC/CMake/Templates/install-sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL) -m 644
install: $(SUBDIR_INSTALL)
@echo "Installing ..."
@if [ ! -d "$(DESTDIR)S:/ITK-1.2/PC_NT/include/InsightToolkit/Common" ] ; then \
echo "Making directory \"$(DESTDIR)S:/ITK-1.2/PC_NT/include/InsightToolkit/Common\" "; \
mkdir -p "$(DESTDIR)S:/ITK-1.2/PC_NT/include/InsightToolkit/Common"; \
chmod 755 "$(DESTDIR)S:/ITK-1.2/PC_NT/include/InsightToolkit/Common"; \
And so on. So I look at this and think that the "!" and "-d" are not supported. I fooled around with it and it seems so. If so, what are my options for installing with VC6?
Thanks
david
====================================================================
David R Holmes III holmes.david3@mayo.edu
Mayo Foundation voice: (507)538-5503
Rochester, MN fax: (507)284-9171
====================================================================