微信开发者工具------linux-deepin环境安装
2020-05-19 本文已影响0人
宇晨棒棒的
前提:微信开发工具只有wins和mac版本没有linux版本的,现需要linux环境下开发使用.
1.安装系统分环境 deepin 15.11
2.安装wine
apt-get install wine -y
3.下载微信开发者工具
git clone https://github.com/Wyuchen/deepin-wechat-web-devtools.git
4.安装
cd deepin--wechat_web_devtools
./bin/wxdt install
5.启动
./bin/wxdt
6.登录界面:
![](https://img.haomeiwen.com/i10439291/eb988b9bb7281782.png)
可能会出现的报错信息:
1.ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
报错原因:配置中使用了gpu导致的,所以在启动时强制执行不使用gpu就可以正常运行
启动命令: ./bin/wxdt --disable-gpu
2.ERROR:bus.cc(393)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
解决方法:使用非root用户启动微信开发者工具就不会报错了,具体原因不清楚。