Re: lj_ffdef.h missing

  • From: Alex <initrd.gz@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Thu, 21 Nov 2013 11:54:44 -0500

> I generally prefer to just add the .c files into the project, and include
the header

This is explicitly suggested that you do not do this; see
http://luajit.org/install.html

> It's strongly suggested to build LuaJIT separately using the supplied
build
> system. Please do not attempt to integrate the individual source files
into your
> build tree. You'll most likely get the internal build dependencies wrong
or mess
> up the compiler flags. Treat LuaJIT like any other external library and
link
> your application with either the dynamic or static library, depending on
your
> needs.


On Thu, Nov 21, 2013 at 3:18 AM, Josh Klint <joshklint@xxxxxxxxxxxxx> wrote:

> I'm attempting to compile LuaJIT 2.0.2 into my Visual Studio project.  I
> generally prefer to just add the .c files into the project, and include the
> header, instead of having an extra compilation step.  When I try to build
> my program, I get errors about a missing header file "lj_ffdef.h".  It
> seems this is somehow auto-generated somewhere?  Can someone explain this?
>
> Thanks.
>
> -Josh
>



-- 
Sincerely,
Alex Parrill

Other related posts: