最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ - 'isPacked' is not a member of 'Lua::jitComposer" - Stack Overflow

programmeradmin2浏览0评论

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.

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.

Share Improve this question edited Jan 30 at 4:23 eyllanesc 244k19 gold badges200 silver badges279 bronze badges asked Jan 30 at 2:22 alex mirandaalex miranda 554 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 3

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.

发布评论

评论列表(0)

  1. 暂无评论