Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #7747
| From | Miles Bader <miles@gnu.org> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: how to include lua |
| Date | 2011-07-12 17:50 +0900 |
| Organization | NEC Electronics |
| Message-ID | <buo8vs3g9wo.fsf@dhlpc061.dev.necel.com> (permalink) |
| References | <a9dde$4e1a9f7a$c299b776$19074@news.hispeed.ch> <f3b983bf-6996-4cdf-950f-f12c449ffb7a@n28g2000vbs.googlegroups.com> <7ef75$4e1ae646$c299b776$31015@news.hispeed.ch> <74ca8$4e1c05a2$c299b38b$18367@news.hispeed.ch> |
Michael <Michael@notspam.com> writes:
> extern "C" {
> #include <lua.h>
> #include <lauxlib.h>
> }
>
> I get this error:
>
> agl.c:14: error: expected identifier or ‘(’ before string constant
Are you actually using a C++ compiler?
> l.c:15:17: warning: lua.h: No such file or directory
> uagl.c:16:21: warning: lauxlib.h: No such file or directory
It looks like those include files are not on your include path...
Where did you install them?
-Miles
--
80% of success is just showing up. --Woody Allen
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to include lua Michael <Michael@notspam.com> - 2011-07-11 09:00 +0200
Re: how to include lua Michael DOUBEZ <michael.doubez@free.fr> - 2011-07-11 01:21 -0700
Re: how to include lua Michael <Michael@notspam.com> - 2011-07-11 14:02 +0200
Re: how to include lua Michael <Michael@notspam.com> - 2011-07-12 10:28 +0200
Re: how to include lua Miles Bader <miles@gnu.org> - 2011-07-12 17:50 +0900
Re: how to include lua Michael <Michael@notspam.com> - 2011-07-12 20:48 +0200
csiph-web