igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Re: igraph, visual studio c++ and libxml2


From: Tamás Nepusz
Subject: Re: [igraph] Re: igraph, visual studio c++ and libxml2
Date: Wed, 15 Dec 2010 16:34:26 +0100

This does not seem to be an igraph-related problem; it is more like a
general problem with Visual Studio and/or the configuration you are usig
when compiling your project. First, try building both igraph and your
project in release mode (instead of debug mode) and see if that resolves
your problem.

-- 
Tamas

On Wed, 2010-12-15 at 11:05 +0100, Francois Bastardie wrote:
> Thank you. Indeed one information on linkage was still missing. So now the 
> msvc solution I have (=2 projets: igraph and graphml referring to igraph) is 
> compiling OK. I had also to put in C:\WINDOWS\system32\ some .dll to load the 
> required libxml2.dll, zlib1.dll and iconv.dll (I found here 
> ftp://ftp.zlatkovic.com/libxml/) asked by the executable (I called 
> graphml.exe here). But now I got back a serious error I guess when running 
> the executable (the RtlFreeHeap stuff)! 
> 
> 'graphml.exe' : Chargé 'C:\shortestpath\Release\graphml.exe', Les symboles 
> ont été chargés.
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\kernel32.dll', Cannot find or 
> open the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\libxml2.dll', Le fichier binaire 
> n'a pas été généré avec les informations de débogage.
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\wsock32.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\ws2_32.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\advapi32.dll', Cannot find or 
> open the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\secur32.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\msvcrt.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\ws2help.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\iconv.dll', Le fichier binaire 
> n'a pas été généré avec les informations de débogage.
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\zlib1.dll', Cannot find or open 
> the PDB file
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\msvcr100.dll', Les symboles ont 
> été chargés.
> 'graphml.exe' : Chargé 'C:\WINDOWS\system32\msvcp100.dll', Les symboles ont 
> été chargés.
> HEAP[graphml.exe]: Invalid Address specified to RtlFreeHeap( 003F0000, 
> 00397398 ) 
> 
> What would be the problem here? Corrupted .dll files?
> 
> But in overall I´m getting lost because for example I built igraph with 
> linkage to libxml.lib and libxml headers to produce the igraph.lib...and 
> after all of this the executable is still asking for the libxml2.dll, what 
> for?...
> 
> Thank you
> Francois
> 
> -----Original Message-----
> From: address@hidden [mailto:address@hidden On Behalf Of address@hidden
> Sent: 11 December 2010 18:02
> To: address@hidden
> Subject: igraph-help Digest, Vol 53, Issue 11
> 
> Send igraph-help mailing list submissions to
>       address@hidden
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.nongnu.org/mailman/listinfo/igraph-help
> or, via email, send a message with subject or body 'help' to
>       address@hidden
> 
> You can reach the person managing the list at
>       address@hidden
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of igraph-help digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: igraph, visual studio c++ and libxml2 (Tamas Nepusz)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 10 Dec 2010 21:16:36 +0100
> From: Tamas Nepusz <address@hidden>
> Subject: Re: [igraph] igraph, visual studio c++ and libxml2
> To: Help for igraph users <address@hidden>
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> > What I did is to set the PATH in msvc to C:\libxml2-2.7.7.win32\bin so that 
> > the compiler would be able to find the libxml2.dll when needed, and I also 
> > refer to the header files C:\igraph-0.5.5-msvc\winclude\libxml because 
> > actually I have the header files already included in igraph-0.5.5-msvc 
> > (this confuses me) ,  but this is obviously the wrong way or not enough...
> It is the right way, but you also need one more step. Open up config.h and 
> set the value of the HAVE_LIBXML macro to 1 instead of 0 which is the default 
> on Windows (I guess).
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]