Closed metaleap closed 2 years ago
Try make deps
first, followed by make diff.so
. This is not well documented.
Thanks @orbitalquark! Tried and no lua.h
:
g++ -c -std=c++11 -pedantic -fPIC -Wall -I../../src/lua/src -o diff.o diff.cxx
diff.cxx:6:10: fatal error: lua.h: No such file or directory
6 | #include "lua.h"
| ^~~~~~~
compilation terminated.
make: *** [Makefile:27: diff.o] Error 1
So I installed package lua-devel
which picked out lua53-devel
(out of the 51-54 range available in pkg repo) but no dice... tried again too with lua54-devel, same outcome
In Textadept's src/ directory, run make deps
to download and unpack Lua. Make sure the file_diff directory is in Textadept's modules/ directory, then try again. You need to build against Lua 5.4, which is what Textadept is currently using.
Yay, solves the build issues and lets me require
without errors, muchos gracias!
So I thought I'd go for this:
Then
require('file_diff')
ininit.lua
but this produces:(Of course there is diff.cxx but that's not pertinent I guess.) So since there's a makefile I do a
make clean
andmake all
but this yields:which must related to this wild net fetch from L55+:
So leutloff has no more
archive
dir in that repo so now I'm out of ideas :grin: guess to resolve, would have to dig in that repo's history to find the latest .h that did exist under his...../archive/
and bring it here into the repo? Or you might have a better idea since you actually what all this stuff is for and why...