"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
Okay I took a look at it and while I like it, it clashes a bit with make's original design philosophy which I'm sure simplified to "know nothing, make everything"
Edit: What I mean is a lua based makefile handler should know jack about what it's building so I will continue with mine but I will start thinking of a new name once I get it to compile again
Last edited by awsdert; 01-13-2019 at 09:51 AM.
So, are you still are not going to build lua and link to its static library?
If yes, I think you will likely fail.
Tim S.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
...hmm, seems I downloaded the wrong copy of the source, downloaded via different link, overwrote and the "undefined reference..." for the lua stuff just vanished, still got problem with compiler segfaulting though
Link I gave earlier will now be broken, project renamed
GitHub - awsdert/lu: Replacement for make/nmake/GNUMake
It seems a combination of the name change, deletion of my project folder and re-cloning my repositry (and a changing a few errors in coding&style) got it to finally compile
You didn't use version control despite knowing about Git?
I siggest putting aside your lake program and starting with a hello world program involving lua. That said, make sure that you can get this to work and hence eliminate the possibility of some setup/environment issue. If you do manage to get it to work, start adding stuff from your lake program, step by step, under version control, so you can find out where it goes wrong.
In other words, find the smallest program that demonstrates the error. Normally, it would be silly to ask this of an entire non-trivial program, but then people normally use version control for non-trivial programs so that they don't have to do this.
EDIT: oh, so it seems ypu have solved your problem.
Last edited by laserlight; 01-13-2019 at 12:59 PM.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)