Comments (7)
luamake也是调用的msbuild编译,在各项条件都相同的情况下,如果你使用visual studio编译,那么与使用luamake编译得到的结果应该是一致的。
from bee.lua.
@luciouskami luamake是直接用cl不经过msbuild
from bee.lua.
@tonyzzp 请用最新的版本。旧版本不会再维护了。
from bee.lua.
因为一些原因,需要使用lua5.1
编译的时候有这2个警告,我怀疑就是这个问题。
3rd/bee.lua/binding/lua_time.cpp(36): warning C4244: “参数”: 从“uint64_t”转换到“lua_Integer”,可能丢失数据
3rd/bee.lua/binding/lua_time.cpp(40): warning C4244: “参数”: 从“uint64_t”转换到“lua_Integer”,可能丢失数据
from bee.lua.
vcruntime.h里有这一段定义
#ifdef _WIN64
typedef unsigned __int64 size_t;
typedef __int64 ptrdiff_t;
typedef __int64 intptr_t;
#else
typedef unsigned int size_t;
typedef int ptrdiff_t;
typedef int intptr_t;
#endif
好像 lua_Integer 被定义为了int,也许不行?
我尝试添加_WIN64,但编译会有很多报错。
from bee.lua.
lua5.1的int只有32位,你需要一个int64的patch或者library。亦或者把GetTickCount64改成GetTickCount
from bee.lua.
我知道怎么回事了。 arch改成 x86_64就好了 。原来写的是x64。
from bee.lua.
Related Issues (20)
- Improve C++ backward compatibility HOT 1
- Can it be used, or how it can be used for Lua 5.1, LuJit ..? HOT 1
- some tests are failing HOT 2
- Android support? HOT 7
- MacOS filesystem test fails on Linux HOT 3
- Statically linking libstdc++ causes lua-language-server to fail at build HOT 2
- 无法包含头文件
- [Bug Report] test_filesystem::test_appdata_path() failed when building from Homebrew HOT 2
- MacOS filesystem test (filesystem.test_appdata_path) fails on MacPorts HOT 6
- Please add arm architecture HOT 8
- How to use bee with native lua? HOT 1
- subprocess的使用问题 HOT 4
- Documentation HOT 2
- Fails to build on Fedora 38/Rawhide HOT 2
- 加载dll报错: error loading module 'bee' from file HOT 9
- lua_error linux下是longjump, 会跳过调用cpp对象的析构函数。windows下也容易出现double free UB HOT 5
- filewatch对重复路径有判断吗? HOT 2
- Tests fail on FreeBSD with SIGBUS HOT 9
- Test fails during compilation on WSL HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bee.lua.