Comments (18)
@WantoCode
环境里面并没有OpenNI2.h,需要的是OpenNI.h头文件。
如果你确定lib库已经添加,你应该检查一下你的vs编译环境是否与你的lib库编译环境一致,比如x64或者win32,release或者debug
from cloudviewer.
同学,您好,您下的这个CloudViewer能用嘛?我提示This application failed to start because it could not find or load the Qt platform plugin"window in "". 我照着网上的qt中的plugin中的dll拷过来也不能解决这个问题,其次这个源码用cmake能编译出.sln工程嘛,我现在需要这个工程。如果您有的话,能发我一份吗,我的邮箱[email protected],谢谢,谢谢,谢谢
from cloudviewer.
@ilcamf 我也用不了
from cloudviewer.
@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份
from cloudviewer.
可以的,谢谢您,我的邮箱[email protected]
from cloudviewer.
你好,借楼能给我也发送一份吗?
谢谢![email protected]
from cloudviewer.
@the-sword 你好,这个源码如果没有cmake该如何跑起来呢?如果有的话也请提供一份,多谢。[email protected]
from cloudviewer.
@WantoCode
直接用vs打开CloudViewer.vcxproj即可。作者这里是用配置表的方式添加的配置环境,所以直接打开的话可能会报下面的错误:
你可以用记事本文件打开CloudViewer.vcxproj,有一段代码如下:
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="C:\Tools\PCL180_VS2013.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="C:\Tools\PCL180_VS2013.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="C:\Tools\PCL180_VS2013.props" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
<Import Project="C:\Tools\属性表\PCLRelease.props" />
</ImportGroup>
其中作者的配置为文件为
<Import Project="C:\Tools\属性表\PCLRelease.props" />
<Import Project="C:\Tools\PCL180_VS2013.props" />
你可以修改成你的props文件路径,或者直接删除稍后在vs里面重新配置。
也可以直接用我自己重新配置的:https://gitee.com/xhzhou/CloudViewer
from cloudviewer.
@the-sword 非常感谢这么及时的答复,邮件也已收到,为便于其他人参考,在此与你做讨论。按照新的路径编译后,最后 提示无法打开文件"OpenNI2.lib",相关链接已经加入到环境中了。电脑内有OpenNI2.lib,但是没有找到OpenNI2.h相关头文件,我在怀疑是否因为这个原因导致的,不知道你那边的环境内是否有这个文件?
from cloudviewer.
@the-sword 还是不行,确定安装了x64的OpenNI,vs用Release和Debug都不行……我再自己折腾一下
有个疑问问一下,props里的这些配置,按照PCL等的做法,一般都是提供CMakeLists.txt然后配置后生成,这种自己做一个props的文件,然后里边这么多库的依赖,是怎么生成的呢?自己挨个加进去的么?比如AdditionalDependencie中libboost和vtk的lib文件,我是用脚本遍历文件夹下边的文件然后复制进去的,不知道是否有其他更合理的操作方法?
from cloudviewer.
@the-sword 后来调整了INCLUDE和系统PATH的设定,感觉是在哪里配置了指向不同版本的OpenNI,导致查找失败。当前已经能够编译出Cloudviewer的执行程序。但是鼠标一点击Viewer窗体就崩溃了,加载文件也会崩溃。我这边是VS2017 + PCL 1.8.1 + QT5.11.1 + VTK7.1(64)。之前试了VTK8.1则压根通不过,不清楚是哪些玩意儿不兼容了。你那套环境工作是正常的是吧?
另外,我看作者提供的Cloudviewer.exe体积挺大,24M,然后基本不需要依赖外界的任何东西,VTK啥的不装他也能跑,而自行编译的版本哪怕Debug版也只有1M多,不知道是如何将依赖全部整合到一个exe中的
from cloudviewer.
@the-sword 能否介绍一下你那边完整的环境呢,我对比看看是哪个部分可能有问题。包括Windows版本、MSVC版本、Qt版本、PCL版本、VTK版本,多谢了!
from cloudviewer.
@WantoCode 我也一样,一开始报OpenNI2.lib缺失,后来出现窗体了,但是一点就崩溃,请问你后面有没有发现是什么的问题呢?
我的环境是VS2015+PCL1.8.1+QT5.8.0+VTK7.1(64),与你说明的环境仅有VS版本不同,谢谢。
from cloudviewer.
可以发我一份吗,谢谢,[email protected]
from cloudviewer.
@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份
你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
from cloudviewer.
@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份
你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译的了。
from cloudviewer.
@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份
你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译的了。
我现在用cmake编译后,有一些warning,我忽略了,然后生成后用vs打开生成,出现错误,请问您有碰到过吗??
from cloudviewer.
@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份
你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译
可以添加下您的联系方式吗??想请教您一下,
或者您加下我的QQ 1637136891,谢谢
from cloudviewer.
Related Issues (20)
- release编译成功,运行失败问题
- vs2017+qt5.10编译问题,望解答 HOT 1
- "convertWireframe”: 不是“CloudViewer”的成员 HOT 9
- ubuntu 16.04问题请教 HOT 1
- release下载问题
- VS编译失败,一堆奇怪的ERROR HOT 3
- 编译过程报错
- 请问能删除部分点云吗
- QT 5.10.1 No Longer Available HOT 3
- qingwen
- 求解答,谢谢啦!!!! HOT 2
- 请问软件版在哪下
- Issue of build CloudViewer.exe HOT 5
- Version 1.0.1 颜色显示问题 HOT 1
- 文档图片失效
- CloudViewer 停止维护
- 用源码编译的程序速度慢 HOT 1
- 程序打包问题 HOT 2
- QVTKWidget.h头文件的问题想请教您 HOT 9
- 链接错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudviewer.