开发者

cxfreeze (or equivalent) and cross build?

开发者 https://www.devze.com 2023-04-10 22:19 出处:网络
Is it possible for cx_freeze (or any other tool with the same purpose) to cross build binaries? I.e. build Windows binary on a Linux PC? Or is this too much to ask?

Is it possible for cx_freeze (or any other tool with the same purpose) to cross build binaries? I.e. build Windows binary on a Linux PC? Or is this too much to ask?

I tried with cx_freeze and got the following:

cx_Freeze.freezer.ConfigEr开发者_如何学JAVAror: no base named Win32GUI    

Thanks,


If you install Python etc. inside Wine, cx_Freeze will run, but it misses out some key DLLs. So no. If building on Windows isn't an option, you can work out the DLLs that it requires, and manually copy them into the build directory after running cx_Freeze.

(Technical note: If anyone has the know-how to work on Wine, I believe the BindImageEx function in imagehlp.dll needs to be implemented for this to work)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号