Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #7747
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Miles Bader <miles@gnu.org> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: how to include lua |
| Date | Tue, 12 Jul 2011 17:50:31 +0900 |
| Organization | NEC Electronics |
| Lines | 23 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net eHtVh/7xDLcFC4aiOzcE4wLn0F7yknxoNZC4i73zTHpOxp/0qD |
| Cancel-Lock | sha1:prW6xvhjfOQkqsqBi8nrVDh4jOA= sha1:J8mz57NHaGhEhA061GfxClGDrJg= |
| System-Type | x86_64-unknown-linux-gnu |
| Blat | Foop |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:7747 |
Show key headers only | View raw
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