当前位置: 首页 > news >正文

外贸seo站广州建网站的公司

外贸seo站,广州建网站的公司,北京网站建设91086,半夜看的直播app推荐知乎1#xff0c;选择使用 wxWidgets 框架 选择这个主要是因为完全的开源#xff0c;不想折腾 Qt的库#xff0c;而且打包的文件比较大。 网络上面有很多的对比#xff0c;而且使用QT的人比较多。 但是我觉得wxwidgets 更加偏向 c 语法本身#xff0c;也有助学习C。 没有太多…1选择使用 wxWidgets 框架 选择这个主要是因为完全的开源不想折腾 Qt的库而且打包的文件比较大。 网络上面有很多的对比而且使用QT的人比较多。 但是我觉得wxwidgets 更加偏向 c 语法本身也有助学习C。 没有太多的特殊封装而且商业化更加友好打包软件也比较少。 更偏向原生的系统做好相关的功能开发。 2在 ubuntu上进行安装320版本环境 https://www.wxwidgets.org/downloads/ https://docs.codelite.org/wxWidgets/repo320/ 先增加证书授权 # 增加签名 sudo apt-key adv --fetch-keys https://repos.codelite.org/CodeLite.asc#2 安装源 # 生成一个文件 /etc/apt/sources.list.d/archive_uri-https_repos_codelite_org_wx3_2_ubuntu_-jammy.list # 不需要可以删除掉 sudo apt-add-repository deb https://repos.codelite.org/wx3.2/ubuntu/ jammy universe#3安装库 apt-get install libwxbase3.2-0-unofficial \libwxbase3.2unofficial-dev \libwxgtk3.2-0-unofficial \libwxgtk3.2unofficial-dev \wx3.2-headers \wx-common \libwxgtk-media3.2-0-unofficial \libwxgtk-media3.2unofficial-dev \libwxgtk-webview3.2-0-unofficial # 特别奇怪其余的库要一个一个进行安装不能批量执行。 sudo apt-get install libwxgtk-webview3.2unofficial-dev sudo apt-get install libwxgtk-webview3.2-0-unofficial-dbg sudo apt-get install libwxbase3.2-0-unofficial-dbg3解决编译问题 undefined reference to pcre2_config_32’| || Build: Debug in demo02 (compiler: GNU GCC Compiler) | ||warning: libpcre2-32.so.0, needed by /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so, not found (try using -rpath or -rpath-link)| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_config_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_code_free_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_get_ovector_pointer_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_match_data_create_from_pattern_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_compile_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_match_data_free_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_match_32| /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libwx_baseu_unofficial-3.2.so||undefined reference to pcre2_get_error_message_32| ||error: ld returned 1 exit status| || Build failed: 9 error(s), 1 warning(s) (0 minute(s), 0 second(s)) |终于找到问题通过安装 libpcre2-dev 解决 sudo apt install libpcre2-dev 4第一个hello world并进行编译 参考在线手册 https://docs.wxwidgets.org/3.2/ 第一个hello world 文档 https://docs.wxwidgets.org/3.2/overview_helloworld.html // wxWidgets Hello World Program// For compilers that support precompilation, includes wx/wx.h. #include wx/wxprec.h#ifndef WX_PRECOMP#include wx/wx.h #endifclass MyApp : public wxApp { public:virtual bool OnInit(); };class MyFrame : public wxFrame { public:MyFrame();private:void OnHello(wxCommandEvent event);void OnExit(wxCommandEvent event);void OnAbout(wxCommandEvent event); };enum {ID_Hello 1 };wxIMPLEMENT_APP(MyApp);bool MyApp::OnInit() {MyFrame *frame new MyFrame();frame-Show(true);return true; }MyFrame::MyFrame(): wxFrame(NULL, wxID_ANY, Hello World) {wxMenu *menuFile new wxMenu;menuFile-Append(ID_Hello, Hello...\tCtrl-H,Help string shown in status bar for this menu item);menuFile-AppendSeparator();menuFile-Append(wxID_EXIT);wxMenu *menuHelp new wxMenu;menuHelp-Append(wxID_ABOUT);wxMenuBar *menuBar new wxMenuBar;menuBar-Append(menuFile, File);menuBar-Append(menuHelp, Help);SetMenuBar( menuBar );CreateStatusBar();SetStatusText(Welcome to wxWidgets!);Bind(wxEVT_MENU, MyFrame::OnHello, this, ID_Hello);Bind(wxEVT_MENU, MyFrame::OnAbout, this, wxID_ABOUT);Bind(wxEVT_MENU, MyFrame::OnExit, this, wxID_EXIT); }void MyFrame::OnExit(wxCommandEvent event) {Close(true); }void MyFrame::OnAbout(wxCommandEvent event) {wxMessageBox(This is a wxWidgets Hello World example,About Hello World, wxOK | wxICON_INFORMATION); }void MyFrame::OnHello(wxCommandEvent event) {wxLogMessage(Hello world from wxWidgets!); } 进行编译 c -o main main.cpp wx-config --cxxflags --libs然后运行main 5使用工具 codeblocks 进行开发 https://www.codeblocks.org/ https://www.codeblocks.org/downloads/binaries/ 直接通过下载文件安装或者apt 安装即可。 sudo apt install -y codeblocks命令就是 codeblocks 可以按照模板创建一个 wxWidgets的项目。 运行效果 6总结 已经有人总结了项目 https://www.bilibili.com/video/BV1y3411477j/ wxwidgets跨平台GUI框架使用入门详解 PDF资料 https://pan.baidu.com/s/1cX8Ro 继续学习 wxWidgets。 还有静态编译的办法需要重新编译wxwidgets否则没有库文件 https://blog.csdn.net/CharmingSun/article/details/51765180
http://www.hkea.cn/news/14572488/

相关文章:

  • 联想服务器怎么建设第二个网站广州网页搜索排名提升
  • 微网站和小程序的区别亚洲网站正在建设中
  • 建设网站要多久到账vultr安装WordPress目录
  • 网站有什么组成网站建设方案详解
  • 网站怎样秒收录网站建设公司谁管
  • 河南微网站开发亚马逊雨林电影
  • 自己创业网站开发公司的网址格式
  • 天商阳光网站邮箱北京最近的新闻大事
  • 扫码进入网站 怎么做建设网站翻译英文翻译
  • 跨境电商自建站平台深圳网站开发哪家好
  • 常设中国建设工程法律论坛网站2022百度seo最新规则
  • 网站建设与管理 自考广西城乡住房建设厅网站
  • app开发科技网站建设h5响应式网站建设代理
  • 域名注册好了怎么样做网站杭州模板网站制作方案
  • 网站平台如何推广缪斯国际设计公司官网
  • 做像百姓网这样网站多少钱网站域名组成
  • 网站开发通过什么途径接活自己设计手机的网站
  • 金耀网站建设网站制作wordpress模板文件编辑插件
  • 肇庆建设局网站wordpress优化加速缓存中国
  • 1号网站建设 高端网站建设wordpress 金融主题
  • 让客户留住更长时间访问你的网站长沙旅游景点大全排名
  • 俄罗斯做电商网站微信小程序平台官网
  • 南宁seo公司百度seo关键词排名优化工具
  • 现在建设网站落后了北京网站优化校学费
  • 云南建设厅网站工程师网站建设如何做
  • 手机网站的网址是什么原因浙江省建设厅网站高工
  • 网站建设公司哪家最好一般网站开发好的框架都有哪些
  • 网站建站之后需要维护吗投票小程序制作
  • 肇庆网站制作企业手机网站哪些功能
  • 青岛做网站哪家优化好wordpress文章导入公众号