Qt5.7 编译V

阅读: 评论:0

Qt5.7 编译V

Qt5.7 编译V

    • 准备工作
      • 1在官网下载教育版安装包及源码
      • 2参考官方编译指南进行编译
        • 下载qscintilla
        • 下载Boost C库
        • 下载 Lua51
      • 3软件安装与解压
    • 编译
    • 存在的问题

准备工作

1 下载安装包及源码
2 下载各种库
3 安装软件,解压缩库


1、在官网下载教育版安装包及源码


2、参考官方编译指南进行编译

下载qscintilla

下载Boost C++库

下载 Lua5.1

3、软件安装与解压

此处不再赘述

编译


* 将解压出来的源码放在软件安装目录下,将各种库解压后,放在源码工程目录下

  • 打开QScintilla_gpl-2.10.1Qt4Qt5中的工程,并编译生成库文件

  • 打开V-REP的pro文件,根据提示添加库路径

    • 注意使用双引号包括路径,路径中使用/ ,而不是
  • 开始编译,历时36分37秒,没有错误(可以添加-j4编译参数,开4个线程编译更快)

存在的问题

编译生成一个v_rep.dll和libv_rep.a库,然后根据官方指南:
V-REP compiles to a shared library. The default client application that loads and runs the library is “vrep” or “”. You can use the precompiled one, or recompile it yourself (refer to following project files: programming/v_repClientApplication or programming/windowsOnlyProjects/v_repClientApplication). The load operation of the library is successfull only if:
(即可以自己编译可执行文件)

  • the client application could find all needed functions in the shared library
  • the shared library could find all shared libraries that itself relies on (e.g. the Lua shared library)

The easiest for you to do is to copy the compiled libraries into the V-REP PRO or V-REP PRO EDU folder, then you will be sure that V-REP should start and won’t complain about missing dependencies.

但是运行时,报错:

欢迎大家指教,谢谢

本文发布于:2024-02-02 17:09:23,感谢您对本站的认可!

本文链接:https://www.4u4v.net/it/170686496445243.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:
留言与评论(共有 0 条评论)
   
验证码:

Copyright ©2019-2022 Comsenz Inc.Powered by ©

网站地图1 网站地图2 网站地图3 网站地图4 网站地图5 网站地图6 网站地图7 网站地图8 网站地图9 网站地图10 网站地图11 网站地图12 网站地图13 网站地图14 网站地图15 网站地图16 网站地图17 网站地图18 网站地图19 网站地图20 网站地图21 网站地图22/a> 网站地图23