Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

无法解析的外部符号 __imp___p__fmode #32

@augustheart

Description

@augustheart

在编译luajit的x64版本时候报错。
link /nologo /DLL /out:lua51.dll lj_.obj lib_.obj
正在创建库 lua51.lib 和对象 lua51.exp
lj_clib.obj : error LNK2019: 无法解析的外部符号 __imp___p__fmode,该符号在函数 clib_getsym 中被引用

使用的是luajit2.0.5,已经在msvcbuild.bat文件中手动改为MD模式
@set LJCOMPILE=cl /MD /nologo /c /O2 /W3 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_STDIO_INLINE=__declspec(dllexport)__inline

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions