Thanks for your help.I have solved the problem successfully.But there is still another problem.At the end of the compiling, it tells me that Debug/igraph.lib program cannot be strated .I don't know whether it is normal or not.Hope for your help.Thank you very much.
------------------ 原始邮件 ------------------
发件人: "Tamas Nepusz";<address@hidden>;
发送时间: 2015年1月5日(星期一) 凌晨4:56
收件人: "Help for igraph users"<address@hidden>;
主题: Re: [igraph] Problems about running the igraph C library
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.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help