安装的工具 yum install -y rpmdevtools 准备环境 主要是初始化,会自动创建rpm 包构建需要的目录 rpmdev-setuptree 编写简单的spec cd ~/rpmbuild/SPECS/dalong.spec Name: dalong-demo Version: 1 Release: 1 Summary: this is a demo License: fixme %description this is a demo app %prep # nothing %…
#include <windows.h> #include "lauxlib.h" /* Pop-up a Windows message box with your choice of message and caption */ int lua_msgbox(lua_State* L) { ); , ""); int result = MessageBoxA(NULL, message, caption, MB_OK); lua_pushnumber…