doupu2722 2017-10-17 22:45
浏览 87

使用SWIG将库绑定到Go和Lua吗?

I've recently started a project using Go, and have pulled some libraries in. I'm using wxGo to bind wxWidgets to Go, and GopherLua to bind Lua to Go. This is all working well, and was pretty easy to set up. (Go is pretty cool like that.)

However, I've come to point where I'd like bind wxWidgets to Lua as well, but I'm new to SWIG, and I'm not sure what the best way to approach this is. I have some ideas involving generating the wxWidgets C++ wrapper library for Lua, then somehow loading that into Go, but I'm not that will even work.

How can I bind wxWidgets to both Go and Lua in my program?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 电脑桌面设定一个区域禁止鼠标操作
    • ¥15 求NPF226060磁芯的详细资料
    • ¥15 使用R语言marginaleffects包进行边际效应图绘制
    • ¥20 usb设备兼容性问题
    • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
    • ¥15 安装svn网络有问题怎么办
    • ¥15 Python爬取指定微博话题下的内容,保存为txt
    • ¥15 vue2登录调用后端接口如何实现
    • ¥65 永磁型步进电机PID算法
    • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?