Friday, July 31, 2009

slist: No such file or directory

Error:
slist: No such file or directory

code:
#include

Environment:
Mingw’s g++ compiler

Solution:
Copy slist file from C:\MinGW\include\c++\3.4.5\ext to C:\MinGW\include\c++\3.4.5

Explanation:
Slist belong to extension, if you want to use slist in your program, you have to have the file in your include directory. Otherwise in the program you might have to give #include .