[Insight-developers] Insight make fails on Cygwin

Lydia Ng lng@insightful.com
Wed, 27 Jun 2001 09:56:15 -0700


Hi All,

I get the following error when I try to do a make
on Cygwin (see error messages below)

I think gcc didn't like "(" in the "-DXMLPARSEAPI=__declspec(dllexport)"
flag.

Any ideas?

Lydia


gcc -g -O2   -I/cygdrive/e/Users/lng/Insight/Insight/Utilities/Cable/Expat -
I/cy
gdrive/e/Users/lng/Insight/Insight-Cygwin -I/cygdrive/e/Users/lng/Insight/In
sigh
t/Code/Numerics -I/cygdrive/e/Users/lng/Insight/Insight/Code/Common -I/cygdr
ive/
e/Users/lng/Insight/Insight-Cygwin/Code/Numerics/vxl -I/cygdrive/e/Users/lng
/Ins
ight/Insight/Code/Numerics/vxl -I/cygdrive/e/Users/lng/Insight/Insight-Cygwi
n/Co
de/Numerics/vxl/vcl -I/cygdrive/e/Users/lng/Insight/Insight/Code/Numerics/vx
l/vc
l -I/cygdrive/e/Users/lng/Insight/Insight/Utilities/Cable/CxxTypes -I/cygdri
ve/e
/Users/lng/Insight/Insight/Utilities/Cable/Expat/xmlparse -I/cygdrive/e/User
s/ln
g/Insight/Insight/Utilities/Cable/Expat/xmlparse -I/cygdrive/e/Users/lng/Ins
ight
/Insight/Utilities/Cable/Expat/xmltok -I/cygdrive/e/Users/lng/Insight/Insigh
t/Ut
ilities/Cable/Expat/xmlwf   -DXMLPARSEAPI=__declspec(dllexport) -c
/cygdrive/e/U
sers/lng/Insight/Insight/Utilities/Cable/Expat/xmlparse/xmlparse.c -o
xmlparse/x
mlparse.o
Syntax error: "(" unexpected
make[3]: *** [xmlparse/xmlparse.o] Error 2
make[3]: Leaving directory
`/cygdrive/e/Users/lng/Insight/Insight-Cygwin/Utiliti
es/Cable/Expat'
make[2]: *** [build_Expat] Error 2
make[2]: Leaving directory
`/cygdrive/e/Users/lng/Insight/Insight-Cygwin/Utiliti
es/Cable'
make[1]: *** [build_Cable] Error 2
make[1]: Leaving directory
`/cygdrive/e/Users/lng/Insight/Insight-Cygwin/Utiliti
es'
make: *** [build_Utilities] Error 2