igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Problems about running the igraph C library


From: Tamas Nepusz
Subject: Re: [igraph] Problems about running the igraph C library
Date: Sun, 4 Jan 2015 21:56:59 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hello,

This is a known issue with the MSVC buildfile and it is easy to fix; see:

http://stackoverflow.com/questions/26579997/igraph-c-compiling-link-errors-in-visual-studio
http://stackoverflow.com/questions/25260025/build-solution-errorerror-c2065-prpack-igraph-graph-undeclared-identifier

Basically, you will need to add /DPRPACK_IGRAPH_SUPPORT=1 to the compiler
options and add PRPACK's source files from the src/ folder to the project, then
recompile everything.

Best,
T.


On 01/04, 镜 wrote:
> Hi:
> 
> 
> I want to use the igraph c library and I have downloaded the version 0.7.1 
> from http://www.igraph.org.I want to run it to get the debug file.But there 
> are some problems when I compile it with vs2013.The problems are as follows:
> 666 error C2065: “prpack_igraph_graph”: no statement of identifiers 
> e:\igraph\igraph-0.7.1-msvc\igraph-0.7.1-msvc\src\prpack.cpp
> 667 error C2146: syntax error : lack“;”(in the front 
> of“prpack_graph”)e:\igraph\igraph-0.7.1-msvc\igraph-0.7.1-msvc\src\prpack.cpp
> 668 error C3861: “prpack_graph”:  can not find identifiers 
> e:\igraph\igraph-0.7.1-msvc\igraph-0.7.1-msvc\src\prpack.cpp       
> 669 error C2065: “prpack_graph”: no statement of identifiers  
> e:\igraph\igraph-0.7.1-msvc\igraph-0.7.1-msvc\src\prpack.cpp    
> 722IntelliSense:  no statement of identifiers "prpack_igraph_graph" 
> e:\igraph\igraph-0.7.1-msvc\igraph-0.7.1-msvc\src\prpack.cpp      ‍
> 
> I don't know how to solve them because I have downloaded the source code from 
> the official website.Hope for your help.Thanks very much.
> 
> 
> Best Regards.
> 
> 
> Tian Li

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


-- 
T.



reply via email to

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