Its solved now.. just put a .cc file as the intermediate :c-file.
On Sun, Aug 12, 2012 at 7:55 PM, bob <bobatnet@...> wrote:
> I am trying to inline some C++ code in a lisp function and include the
> iostream header file. But i keep getting an iostream not found error
> although it is one of the standard libraries:
> (ffi:clines "#include <iostream>")
> (defun try (x)
> (ffi:c-inline (x) (:int) (values :int) "
> std::cout << #0;
> @(return)= 1;
> :side-effects nil))
> (try 2)
> Any ideas?