Bruno, Sorry, I should have been more explicit. These are my compile options now, following your initial suggestion: g++ -I/users/varma/Desktop/Applications_Libraries/cln-1.3.1/include -I/users/varma/include -L/users/varma/lib -L/users/varma/include -L/users/varma/Desktop/Applications_Libraries/cln-1.3.1/src/.libs/libcln.a -lcln file.cpp -o file.run I guess the problem is that the string.h from the cln directory is being picked up rather than the one in the system directory. I dont know why GCC4.3 does not show this problem. Vipin On Wed, 26 May 2010, Bruno Haible wrote:
Hi Vipin,
When I give the compiler-option of just -I/users/varma/cln-1.3.1/include and not -I/users/varma/cln-1.3.1/include/cln, the compiler is unable to find the header files which are in include/cln:
rational.h: No such file or directory ES_lattice_temp.cpp:13:25: error: rational_io.h: No such file or directory
The answer is already contained in CLN's documentation, section "Using the library" <http://www.ginac.de/CLN/cln_11.html>
Bruno