I have installed igraph (0.7.1) in Visual Studio 2013. The following are some errors during the installation and how to fix it.
– Error C2065: ‘prpack_igraph_graph’ : undeclared identifier.
Solution: Adding a compiler option. Open Project menu -> Properties -> C/C++ -> Command Line. In Additional options, add the following option: /DPRPACK_IGRAPH_SUPPORT=1
When compiling igraphtest:
– Error LNK1181: cannot open input file ‘igraph.lib’. Solution: Adding a path to the directory containing ‘igraph.lib’. Open Project -> Properties -> VC++ Directory -> Library Directory -> Edit. Add new path which points to the Release directory in the igraph directory.