[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: |
Mon, 5 Jan 2015 10:21:38 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi,
I have no experience with Visual Studio as I don't use it for development, but
my guess is that you are trying to "run" igraph instead of compiling it. igraph
is a library so you cannot run it -- it just creates a file named igraph.lib
that you can link to your own programs.
T.
On 01/05, 镜 wrote:
> Hi,
>
>
> 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.
>
>
> Best Regards
>
>
> Tian Li
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "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
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
--
T.