I am trying to build Simula67 parser, in QT 5.14.2 in the Qt Creator. It depends on LjTools, and luajit, I am using LuaJIT 2.0, running Kubuntu 22. I did have to modify LjTools and Simula to make them work in my exact setup. My working directory is set up like this, in my home directory, in a directory called Simula67. I've already built LjTools without error, only warnings.
GuiTools LjTools Simula
I commented out the
include( ../LuaJIT/src/LuaJit.pri ){
Libs += -ldl
} else {
LIBS += -lluajit
}
and used the built in Qt library importer to import the external library libluajit.so
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../LuaJIT-2.0/src/release/ -lluajit
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../LuaJIT-2.0/src/debug/ -lluajit
else:unix: LIBS += -L$$PWD/../../LuaJIT-2.0/src/ -lluajit
INCLUDEPATH += $$PWD/../../LuaJIT-2.0/src
DEPENDPATH += $$PWD/../../LuaJIT-2.0/src
In SimLjEditor.pro (from Simula) as well as the LjAsmEditor.pro and LjBcViewer.pro (from LjTools)
Here is my error message:
/home/alex/Simula67/Simula/SimLjEditor.cpp:362: error: ‘isPacked’ is not a member of ‘Lua::JitComposer’
362 | if( Lua::JitComposer::isPacked(lnr) )
| ^~~~~~~~
My interpretation of it is that isPacked isn't a thing in JitComposer, but I don't know what to do about it. I've searched this error before but I only get a few results relating to people having trouble with Lua in Roblox studio. I don't know much Lua at all, so I have no way of knowing how to tell if a quint32 is packed. If anybody knows of any other Simula parsers or way to run Simula67 I would love to know, I really want to try the 1st object oriented programming language but I don't have an IBM System/360, or the software for it.
This commit removed isPacked(quint32)
and put a static isRowCol()
in its place.
I suggest you just stub it out:
static bool isPacked(quint32) { return true; }
or revert your LjTools repository to commit 350dfbb245e2e706670c7bba716a8eede8bd4938.