Skip to content

Lua says cjson is not a valid win32 application #112

Description

@dvdvideo1234

I am using ZBS and compiled the module via Code:Blocks using a generated project with CMake..

Program 'lua54.exe' started in 'C:\Programs\ZeroBraineIDE\ZeroBraineProjects' (pid: 4876).
[V][1][C:/Programs/ZeroBraineIDE/myprograms]
[V][2][C:/Programs/ZeroBraineIDE/lua-cjson/build]
[V][3][C:/Programs/ZeroBraineIDE/lua-openai]
[V][4][C:/Programs/ZeroBraineIDE/ZeroBraineProjects]
[V][5][C:/Programs/ZeroBraineIDE/CorporateProjects]
[V][6][C:/Programs/ZeroBraineIDE/ZeroBraineProjects/dvdlualib]
[V][7][C:/Programs/ZeroBraineIDE/ZeroBraineProjects/ExtractWireWiki]
C:\Programs\ZeroBraineIDE\bin\lua54.exe: error loading module 'cjson' from file 'C:/Programs/ZeroBraineIDE/lua-cjson/build/cjson.dll':
	%1 is not a valid Win32 application.

What am I missing. I searched and found you need x32 version of the compiled to generate Win32 vesion of the DLL module. But this does not work. I tried x32 and x64 installations with forced x32/x64 options. No luck:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions