[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] #include in foreign-parse
From: |
minh thu |
Subject: |
[Chicken-users] #include in foreign-parse |
Date: |
Sat, 5 Jul 2008 20:25:24 +0200 |
Hi,
I've made bindings in the following way (in a .scm file):
(foreign-parse #<<EOF
___declare ...
...
#include "somefile.h"
...
EOF
)
and the somefile.h is placed in the .egg.
No problem, everything is fine.
(But how do I install a local .egg ? chicken-setup complains the .egg
is not in /tmp/chicken-... )
Then, since the somefile.h ships with the library to bind, it makes sense,
to replace
#include "somefile.h"
with
#include <somefile.h>
no more put it in the .egg, and assume the library is already installed.
But now, when installing the egg, I've got
Error: during expansion of (foreign-parse ...) - can not open include
file: "somefile.h"
I think the problem is because of the change "somefile.h"
<somefile.h>, but I'm not sure.
The header is in /usr/local/include/, maybe sudo chicken-setup does not see it ?
Any idea ? (I'm still using chicken 3.2.0)
Thanks a lot,
Thu
- [Chicken-users] #include in foreign-parse,
minh thu <=