So I'm not exactly one whose familiar with codelite, C++, or Ubuntu linux, but I needed a program to write and learn Lua in. I played around with things in codelite while following a tutorial that tells you how to make a simple program in Lua, and according to codelite's compiling software, I cannot #include <lua.h> or any Lua file for that matter. I figured that it came with Lua preinstalled, but it apparently did not. So I tried to download and install the Lua source and binaries from lua.org, and unfortunately I was not allowed to place the #include files in the usr/include/ folder on ubuntu. So I tried to follow the instructions, but it cannot complete make-ing or make install-ing the files. Is there an easier way to install the source and binaries properly?
Thanks in advance.
Ubuntu 9.10 Installing Lua for use with Codelite
-
- CodeLite Curious
- Posts: 1
- Joined: Tue Jan 26, 2010 1:21 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Ubuntu 9.10 Installing Lua for use with Codelite
This is the wrong forum for your question. You should try and consult the people of Lua for how to properly install and use it.Superchiken wrote:So I tried to follow the instructions, but it cannot complete make-ing or make install-ing the files. Is there an easier way to install the source and binaries properly?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Ubuntu 9.10 Installing Lua for use with Codelite
Hi,
Regards,
David
Since you mentioned that you're new to Ubuntu, just to remind you that you need to do: sudo make installI was not allowed to place the #include files in the usr/include/ folder on ubuntu. So I tried to follow the instructions, but it cannot complete make-ing or make install-ing the files.
Regards,
David