igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Building igraph 0.6 rev 1601 with msvc9


From: Chris Wj
Subject: Re: [igraph] Building igraph 0.6 rev 1601 with msvc9
Date: Fri, 31 Jul 2009 19:38:55 -0400

vector.c gets

#include "igraph_math.h"

for round()

On Fri, Jul 31, 2009 at 7:06 PM, Chris Wj <address@hidden> wrote:
Well the graphobject.obj works now after including mixing.c. Though I am getting these still:

igraph.lib(vector.obj) : error LNK2019: unresolved external symbol _round referenced in function _igraph_vector_round
igraph.lib(foreign.obj) : error LNK2019: unresolved external symbol _igraph_dl_yyparse referenced in function_igraph_read_graph_dl
igraph.lib(foreign.obj) : error LNK2019: unresolved external symbol _igraph_i_dl_mode referenced in function _igraph_read_graph_dl
igraph.lib(foreign.obj) : error LNK2019: unresolved external symbol _igraph_dl_yyin referenced in function _igraph_read_graph_dl
igraph.lib(bliss.obj) : error LNK2019: unresolved external symbol "int __cdecl igraph_i_snprintf(char *,unsigned int,char const *,...)" (?igraph_i_snprintf@@YAHPADIPBDZZ) referenced in function "public: int __thiscall igraph::BigNum::tostring(char * *)" (address@hidden@igraph@@address@hidden)
build\lib.win32-2.6\igraph\core.pyd : fatal error LNK1120: 5 unresolved externals
error: command '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\link.exe"' failed with exit status 1120

Any hints on the missing c files? I don't want to just throw them all in the project if that's not right.


On Fri, Jul 31, 2009 at 6:58 PM, Chris Wj <address@hidden> wrote:
Ok, rebuilding now after including mixing.c.

Oh yeah, I did make 1 more change I forgot to mention. I added a declaration for:

int igraph_i_snprintf(char *buffer, size_t count, const char *format, ...);

to config.h.


On Fri, Jul 31, 2009 at 6:00 PM, Gábor Csárdi <address@hidden> wrote:
On Fri, Jul 31, 2009 at 10:01 PM, Gábor Csárdi<address@hidden> wrote:
> On Fri, Jul 31, 2009 at 9:47 PM, Chris Wj<address@hidden> wrote:
> [...]
>>
>>  as well as use the /FORCE option while building graphobject.obj because it
>> could not resolve _igraph_assortativity_degree (and a few others).

Btw. this might be because some files were not added to the VS project
file, e.g. mixing.c.

Gabor

[...]

--
Gabor Csardi <address@hidden>     UNIL DGM


_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help




reply via email to

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