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

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

Closed
augustheart opened this issue May 24, 2018 · 5 comments
Closed

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

augustheart opened this issue May 24, 2018 · 5 comments

Comments

@augustheart
Copy link

在编译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

@augustheart
Copy link
Author

使用的命令是msvcbuild.bat STATIC

@mingkuang-Chuyu
Copy link
Collaborator

确认问题,稍后会在这里提供临时解决版本。

@mingkuang-Chuyu
Copy link
Collaborator

临时解决方案

下载 temp.zip,然后替换 本地VC-LTL文件即可。
temp.zip

感谢你的支持

@mingkuang-Chuyu
Copy link
Collaborator

3.0.0.3-alpha1已经包含了对此问题的修复。

@augustheart
Copy link
Author

augustheart commented May 24, 2018

这么快就修复了,辛苦

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants