compiling with win32 mscv6



Hello,

I'm trying to build dia because I want to make some uml2-extensions but I'm not getting far. I'm new to C so I could use some help and would be greatful.


Following steps I haven't succeded to do according to the Dokumentation (compiling dia for win32):

13. Add LIBART_CFLAGS to make.msc

14. Download http://uml.dl.sourceforge.net/sourceforge/dia-installer/dia_extra_src_msvc_dia_0.94-pre1.zip and unzip to $TOP. (I downloaded dia-0.94-pre1-msvc.zip but it didn't have much in it.)


I get following error when trying to buil in msvc6:

cd lib
 nmake -f makefile.msc
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -G5 -GF -MDd -W3 -nologo -I. -DHAVE_CONFIG_H -c -I.. -I ..\..\glib -I ..\..\glib\glib -I ..\..\glib\gmodule -I ..\../gettext-0.10.40/intl -I ..\../atk -I..\../gtk+\gdk -I..\../gtk+\gdk -I..\../gtk+ -I..\../pango -I..\../atk -I ..\../zlib-1.1
.3  -DHAVE_LIBART   -DLIBDIA_COMPILATION autoroute.c
autoroute.c
font.h(193) : error C2143: syntax error : missing ')' before '*'
font.h(193) : error C2081: 'PangoMatrix' : name in formal parameter list illegal
font.h(193) : error C2143: syntax error : missing '{' before '*'
font.h(193) : error C2059: syntax error : ')'
dia_xml.h(26) : fatal error C1083: Cannot open include file: 'libxml/tree.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\nmake.exe"' : return code '0x2'
Stop.
Error executing nmake.

dia.exe - 7 error(s), 0 warning(s)


Thanks for any help!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]