Re: Dia-list Digest, Vol 30, Issue 24



hi

i thing i'm slowly going insane. i got quite far with the compilation but had some linker problems. then i deleted widgets.obj and executed a makefile clean. now i dont even get to lib files because stddef.h isn't found. i've looked for it all over my system and cant find it.

environment:
msvc6
glib 2.4.5
gtk-dev-2.8.20-win32-1.exe
freetype2
zlib
libpng

i've set the gtk paths in msvc/tools/options/directories
and followed all the steps in "compiling for win32"

i downloaded all the sources (atk, libxml2...) and searched them for stddef.h but couldn't find it. can anyone help?

thanks,
andi


dia-list-request gnome org wrote:
Send Dia-list mailing list submissions to
        dia-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.gnome.org/mailman/listinfo/dia-list
or, via email, send a message with subject or body 'help' to
        dia-list-request gnome org

You can reach the person managing the list at
        dia-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dia-list digest..."


Today's Topics:

   1. Dia ChangeLog report for 2006-10-28 03:00:00 UTC (Sat 28 Oct)
      (Dia ChangeLog Daemon)
   2. Re: Dia-list Digest, Vol 30, Issue 23 (Andreas Owen)
   3. msvc link problems (wa Re: Dia-list Digest, Vol 30, Issue 23)
      (Hans Breuer)
   4. re: Fix bug #144394 and win USD 200 (tim bogie gvds com au)


----------------------------------------------------------------------

Message: 1
Date: Sat, 28 Oct 2006 05:08:58 +0200 (CEST)
From: Dia ChangeLog Daemon <nemo raeder dk>
Subject: Dia ChangeLog report for 2006-10-28 03:00:00 UTC (Sat 28 Oct)
To: dia-list gnome org
Message-ID: <20061028030858 444BD60404D mail raeder dk>

Snapshots available at http://www.raeder.dk/~larsrc/Dia/snapshots

*** Recent ChangeLog entries:

--- ChangeLog.previous  2006-10-27 05:00:50.000000000 +0200
+++ dia-cvs-snapshot/ChangeLog  2006-10-28 05:00:05.678956600 +0200
@@ -1,3 +1,13 @@
+2006-10-26  Lars Clausen  <lars raeder dk>
+
+       * app/interface.[ch]: Patch from jan uos de: Write the accelerator
+       keys in tooltips for standard tools.
+
+       * app/paginate_psprint.c: Patch for better printing: Reasonable
+       file name, check before overwriting, re-popup if file write
+       failed.  Thanks to Leon Stringer <leon stringer ntlworld com> for
+       this patch.
+
 2006-10-26  Hans Breuer  <hans breuer org>

        * plug-ins/shape/shape-export.c : the icon export facility dependens


------------------------------

Message: 2
Date: Fri, 27 Oct 2006 23:40:53 +0200
From: Andreas Owen <iaowen hta fhz ch>
Subject: Re: Dia-list Digest, Vol 30, Issue 23
To: dia-list gnome org
Message-ID: <45427CE5 4040909 hta fhz ch>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hello

I've solved my previous compiling problems but now i'm having trouble with the obj-files. i found something about multithreading option "/MT". It didn't have any affect. can someone please help.

thanks
andi


MSCVC6 output:

Creating library libdia.lib and object libdia.exp
sheet.obj : error LNK2001: unresolved external symbol __imp__xmlFree
dia_svg.obj : error LNK2001: unresolved external symbol __imp__xmlFree
dia_xml.obj : error LNK2001: unresolved external symbol __imp__xmlFree
object_defaults.obj : error LNK2001: unresolved external symbol __imp__xmlFree
plug-ins.obj : error LNK2001: unresolved external symbol __imp__xmlFree
plug-ins.obj : error LNK2001: unresolved external symbol _xmlGetProp
sheet.obj : error LNK2001: unresolved external symbol _xmlGetProp
dia_svg.obj : error LNK2001: unresolved external symbol _xmlGetProp
dia_xml.obj : error LNK2001: unresolved external symbol _xmlGetProp
object_defaults.obj : error LNK2001: unresolved external symbol _xmlGetProp
persistence.obj : error LNK2001: unresolved external symbol _xmlGetProp
dia_xml.obj : error LNK2001: unresolved external symbol _xmlParseFile
dia_xml.obj : error LNK2001: unresolved external symbol _xmlIsBlankNode
object_defaults.obj : error LNK2001: unresolved external symbol _xmlIsBlankNode
plug-ins.obj : error LNK2001: unresolved external symbol _xmlIsBlankNode
sheet.obj : error LNK2001: unresolved external symbol _xmlIsBlankNode
dia_xml.obj : error LNK2001: unresolved external symbol _xmlNodeListGetString
plug-ins.obj : error LNK2001: unresolved external symbol _xmlSetProp
dia_xml.obj : error LNK2001: unresolved external symbol _xmlSetProp
diasvgrenderer.obj : error LNK2001: unresolved external symbol _xmlSetProp
object_defaults.obj : error LNK2001: unresolved external symbol _xmlSetProp
persistence.obj : error LNK2001: unresolved external symbol _xmlSetProp
plug-ins.obj : error LNK2001: unresolved external symbol _xmlNewChild
dia_xml.obj : error LNK2001: unresolved external symbol _xmlNewChild
diasvgrenderer.obj : error LNK2001: unresolved external symbol _xmlNewChild
object_defaults.obj : error LNK2001: unresolved external symbol _xmlNewChild
persistence.obj : error LNK2001: unresolved external symbol _xmlNewChild
dia_xml.obj : error LNK2001: unresolved external symbol _xmlEncodeEntitiesReentrant plug-ins.obj : error LNK2001: unresolved external symbol _xmlEncodeEntitiesReentrant dia_xml.obj : error LNK2001: unresolved external symbol _xmlSaveFormatFileEnc dia_xml.obj : error LNK2001: unresolved external symbol _xmlKeepBlanksDefault dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_svp_free dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_rgb_svp_alpha dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_svp_vpath_stroke dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_vpath_dash dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_svp_from_vpath dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_bez_path_to_vec dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_rgb_rgba_affine dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_affine_multiply dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_affine_translate dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_affine_identity dialibartrenderer.obj : error LNK2001: unresolved external symbol _art_rgb_affine
sheet.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
diasvgrenderer.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
object_defaults.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
persistence.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
plug-ins.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
diasvgrenderer.obj : error LNK2001: unresolved external symbol _xmlSetDocCompressMode
object_defaults.obj : error LNK2001: unresolved external symbol _xmlSearchNs
persistence.obj : error LNK2001: unresolved external symbol _xmlSearchNs
object_defaults.obj : error LNK2001: unresolved external symbol _xmlSetNs
persistence.obj : error LNK2001: unresolved external symbol _xmlSetNs
object_defaults.obj : error LNK2001: unresolved external symbol _xmlNewNs
persistence.obj : error LNK2001: unresolved external symbol _xmlNewNs
object_defaults.obj : error LNK2001: unresolved external symbol _xmlNewDocNode
persistence.obj : error LNK2001: unresolved external symbol _xmlNewDocNode
plug-ins.obj : error LNK2001: unresolved external symbol _xmlNewDocNode
object_defaults.obj : error LNK2001: unresolved external symbol _xmlStrdup
persistence.obj : error LNK2001: unresolved external symbol _xmlStrdup
plug-ins.obj : error LNK2001: unresolved external symbol _xmlStrdup
object_defaults.obj : error LNK2001: unresolved external symbol _xmlNewDoc
persistence.obj : error LNK2001: unresolved external symbol _xmlNewDoc
plug-ins.obj : error LNK2001: unresolved external symbol _xmlNewDoc
plug-ins.obj : error LNK2001: unresolved external symbol _xmlDocSetRootElement
plug-ins.obj : error LNK2001: unresolved external symbol _xmlNodeGetContent
sheet.obj : error LNK2001: unresolved external symbol _xmlNodeGetContent
plug-ins.obj : error LNK2001: unresolved external symbol _xmlAddChild
plug-ins.obj : error LNK2001: unresolved external symbol _xmlFreeNode
plug-ins.obj : error LNK2001: unresolved external symbol _xmlReplaceNode
plug-ins.obj : error LNK2001: unresolved external symbol _xmlNewNode
sheet.obj : error LNK2001: unresolved external symbol _xmlSearchNsByHref
libdia.dll : fatal error LNK1120: 36 unresolved externals
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.


------------------------------

Message: 3
Date: Sat, 28 Oct 2006 10:49:02 +0200
From: Hans Breuer <hans breuer org>
Subject: msvc link problems (wa Re: Dia-list Digest, Vol 30, Issue 23)
To: discussions about usage and development of dia
        <dia-list gnome org>
Message-ID: <4543197E 5000803 breuer org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 27.10.2006 23:40, Andreas Owen wrote:

Hello

I've solved my previous compiling problems but now i'm having trouble with the obj-files. i found something about multithreading option "/MT". It didn't have any affect. can someone please help.


The /mt option *has* the effect to use the correct c-runtime version: msvcrt.dll. It does not slove other missing libraries if that's what you are expecting. The cl command line shown by should look like this:

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

cl -G5 -Zi -MD -W3 -nologo -I. -DHAVE_CONFIG_H -LD -Felibdia.dll autoroute.obj arrows.obj attributes.obj bezier_conn.obj beziershape.obj boundingbox.obj color.obj connection.obj connectionpoint.obj connpoint_line.obj create.obj debug.obj diaarrowchooser.obj dialinechooser.obj diatransform.obj dia_dirs.obj dia_image.obj dia_svg.obj dia_xml.obj diaerror.obj diagramdata.obj diagdkrenderer.obj diagtkfontsel.obj diainteractiverenderer.obj dialibartrenderer.obj diarenderer.obj diasvgrenderer.obj dynamic_obj.obj element.obj filter.obj focus.obj font.obj geometry.obj group.obj intl.obj message.obj neworth_conn.obj objchange.obj object.obj object_defaults.obj orth_conn.obj paper.obj parent.obj persistence.obj plug-ins.obj poly_conn.obj polyshape.obj prop_attr.obj prop_basic.obj prop_geomtypes.obj prop_inttypes.obj prop_sdarray.obj prop_text.obj prop_widgets.obj propdesc.obj propdialogs.obj properties.obj proplist.obj propobject.obj propoffsets.obj propregistry.obj ps-utf8.obj render_pixmap.obj sheet.obj text.obj textline.obj utils.obj widgets.obj diamarshal.obj ..\../gtk+-2-8\gtk\gtk-wi32-2.0.lib ..\../gtk+-2-8\gdk\gdk-win32-2.0.lib ..\../gtk+-2-8\gdk-pixbuf\gdk_pixbuf-2.0.lib ..\../pango\pan go\pango-1.0.lib ..\../pango\pango\pango-1.0.lib ..\../pango\pango\pangowin32-1.0.lib ..\../pango\pango\pango-1.0.lib ..\../pango\pango\pangocairo-1.0.lib ..\..\glib\glib\glib-2.0.lib ..\..\glib\gmodule\gmodule-2.0.lib ..\..\glib\gobject\gobject-2.0.lib ..\../gnome-xml\libxml2.lib ..\../other/zlib123\zlib.lib ..\../ libart_lgpl\libart.lib ..\../gtk+-2-8\gdk-pixbuf\gdk_pixbuf-2.0.lib ..\../other/intl-tml\libintl-1.lib user32.lib advapi32.lib wsock32.lib /link /OPT:REF /def:libdia.def
    Creating library libdia.lib and object libdia.exp



MSCVC6 output:

Creating library libdia.lib and object libdia.exp
sheet.obj : error LNK2001: unresolved external symbol __imp__xmlFree
[...]
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\nmake.exe"' : return code '0x2'

Although you haven't shown it your command line is missing the libxml2 part. You either did not follow step 6. in Steffen's list [1] or the make.msc you are reading does not have something like:

LIBXML2_CFLAGS = $(LIBICONV_CFLAGS) -I $(LIBXML2)\include
LIBXML2_LIBS = $(LIBXML2)\libxml2.lib

BTW: are you aware of the first document [2] trying to describe the build configuration?


[1] http://dia-installer.sourceforge.net/dia_win32_compilation.html
[2] http://cvs.gnome.org/viewcvs/glib/README.win32?rev=1.43&view=markup

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert


------------------------------

Message: 4
Date: Sat, 28 Oct 2006 07:29:43 -0500
From: "tim bogie gvds com au" <tim bogie gvds com au>
Subject: re: Fix bug #144394 and win USD 200
To: <dia-list gnome org>
Message-ID: <0a958966917e47b58a0e5f8358b143af gvds com au>
Content-Type: text/plain; charset="iso-8859-1"


                Interested developers,

I would like to offer the first contributor (individual or team) $US200.00 to having issue 144394 resolved, 
as per email below.  I'm hoping this is big enough carrot!  Payment will be via Paypal.  I'll leave it up to 
Lars, Hans, and Steffen to be the judge of the best offered solution.

I think a time frame for completion of four weeks from now should be enough.  If anyone has any issues with 
four weeks, let me know.

Hans, Lars, Steffen, can we have this mentioned on Dia's web site?

Thanks,

Timothy Bogie

----------------------------------------

                                From: "Steffen Macke" <sdteffen gmail com>
Sent: Friday, 13 October 2006 5:08 AM
To: "discussions about usage and development of dia" <dia-list gnome org>
Subject: Fix bug #144394 and win USD 100
Hello All,

Dia has received quite an amount of donations over the past
months (A big thanks to Tim Bogie who is doing the majority of
the donations).

http://dia-installer.sourceforge.net/donation.php

This puts us in a position where we can offer USD 100 for the one
who provides a fix of bug 144394:

http://bugzilla.gnome.org/show_bug.cgi?id=144394

The payment can be made through Paypal.

If you are a developer and would like to receive some monetary rewards
for fixing other bugs or implementing things, please put your proposals
forward.

Other ideas how to burn the money are also welcome.

Happy Coding!

Steffen
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia


-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/dia-list/attachments/20061028/a4ca0572/attachment.htm
------------------------------

_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list


End of Dia-list Digest, Vol 30, Issue 24
****************************************




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