I made a small change to the source code of the igraph
package because I want to implement the forest fire method based on the breadth first search method.
I used Rtools to build the package and followed the steps as this link. But, I got a error message:
foreign-graphml.c:38:29: fatal error: libxml/encoding.h: No such file or directory.
I tested using the source code, but still had the same error.
I also used the install.packages() method. It still showed the same error.
Update: I downloaded the Libxml2 and set the bin location to the path. The libxml/encoding.h file is actually in the 'include' folder. Why does this error show?