Re: Help on compiling for Ubuntu 8.10 AMD64

From: mitchell <>
Date: Mon, 30 Mar 2009 06:40:46 -0700 (PDT)


> R -I ../include -I ../src -I ../../scite/lua/include  -c ../src/LexLPeg.cxx
> ../src/LexLPeg.cxx: In function ‘bool InitDoc(lua_State*, const char*,
> Accessor&)’:
> ../src/LexLPeg.cxx:188: error: ‘luaopen_lpeg’ was not declared in this scope
> ../src/LexLPeg.cxx:188: error: ‘LUA_LPEGNAME’ was not declared in this scope

Make sure scintilla-st/gtk/makefile contains:
  INCLUDEDIRS=-I ../include -I ../src -I ../../lua/include
and not:
  INCLUDEDIRS=-I ../include -I ../src -I ../../scite/lua/include

The src/lua/ is a customized version of Lua that includes LPeg and
LuaFileSystem by default; if your system's Lua or SciTE's Lua
distribution is used you'll get the errors you saw.
Received on Mon 30 Mar 2009 - 09:40:46 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:45 EST