05 2019 档案

为Windows编译libobjc2(通过交叉编译的方式)
摘要:前提:Linux系统、git、clang-8、g++-mingw-w64-x86-64、gobjc++-mingw-w64-x86-64。 一、下载源代码 二、配置环境变量 三、编译libobjc2 四、测试(在Widnows进行) 阅读全文

posted @ 2019-05-24 20:35 JebediahKerman 阅读(336) 评论(0) 推荐(0)

使用Desktop App Converter打包桌面应用程序
摘要:备注 桌面应用转换器工具已弃用。 建议改用.Msix 打包工具。 打包具有安装程序 (.msi) 的应用程序 DesktopAppConverter.exe -Installer C:\Installer\MyAppSetup.msi -Destination C:\Output\MyApp -Pa 阅读全文

posted @ 2019-05-17 17:57 JebediahKerman 阅读(368) 评论(0) 推荐(0)

Rust Linking With C Library Functions
摘要:#[link(name = "c")] extern "C" { fn scanf(format: *const u8, ...); } fn main() { let mut a = 0; let mut b = 0; unsafe { scanf("%d%d\0".as_ptr(), &mut a, &mut b); } pr... 阅读全文

posted @ 2019-05-09 14:25 JebediahKerman 阅读(202) 评论(0) 推荐(0)

导航