Giter Club home page Giter Club logo

Comments (18)

the-sword avatar the-sword commented on July 21, 2024 1

@WantoCode
环境里面并没有OpenNI2.h,需要的是OpenNI.h头文件。
如果你确定lib库已经添加,你应该检查一下你的vs编译环境是否与你的lib库编译环境一致,比如x64或者win32,release或者debug

from cloudviewer.

ilcamf avatar ilcamf commented on July 21, 2024

同学,您好,您下的这个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.

zkailong avatar zkailong commented on July 21, 2024

@ilcamf 我也用不了

from cloudviewer.

the-sword avatar the-sword commented on July 21, 2024

@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份

from cloudviewer.

ilcamf avatar ilcamf commented on July 21, 2024

可以的,谢谢您,我的邮箱[email protected]

from cloudviewer.

WillPanSUTD avatar WillPanSUTD commented on July 21, 2024

你好,借楼能给我也发送一份吗?
谢谢![email protected]

from cloudviewer.

WantoCode avatar WantoCode commented on July 21, 2024

@the-sword 你好,这个源码如果没有cmake该如何跑起来呢?如果有的话也请提供一份,多谢。[email protected]

from cloudviewer.

the-sword avatar the-sword commented on July 21, 2024

@WantoCode
直接用vs打开CloudViewer.vcxproj即可。作者这里是用配置表的方式添加的配置环境,所以直接打开的话可能会报下面的错误:
image

你可以用记事本文件打开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.

WantoCode avatar WantoCode commented on July 21, 2024

@the-sword 非常感谢这么及时的答复,邮件也已收到,为便于其他人参考,在此与你做讨论。按照新的路径编译后,最后 提示无法打开文件"OpenNI2.lib",相关链接已经加入到环境中了。电脑内有OpenNI2.lib,但是没有找到OpenNI2.h相关头文件,我在怀疑是否因为这个原因导致的,不知道你那边的环境内是否有这个文件?

from cloudviewer.

WantoCode avatar WantoCode commented on July 21, 2024

@the-sword 还是不行,确定安装了x64的OpenNI,vs用Release和Debug都不行……我再自己折腾一下

有个疑问问一下,props里的这些配置,按照PCL等的做法,一般都是提供CMakeLists.txt然后配置后生成,这种自己做一个props的文件,然后里边这么多库的依赖,是怎么生成的呢?自己挨个加进去的么?比如AdditionalDependencie中libboost和vtk的lib文件,我是用脚本遍历文件夹下边的文件然后复制进去的,不知道是否有其他更合理的操作方法?

from cloudviewer.

WantoCode avatar WantoCode commented on July 21, 2024

@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.

WantoCode avatar WantoCode commented on July 21, 2024

@the-sword 能否介绍一下你那边完整的环境呢,我对比看看是哪个部分可能有问题。包括Windows版本、MSVC版本、Qt版本、PCL版本、VTK版本,多谢了!

from cloudviewer.

ChandlerrLi avatar ChandlerrLi commented on July 21, 2024

@WantoCode 我也一样,一开始报OpenNI2.lib缺失,后来出现窗体了,但是一点就崩溃,请问你后面有没有发现是什么的问题呢?
我的环境是VS2015+PCL1.8.1+QT5.8.0+VTK7.1(64),与你说明的环境仅有VS版本不同,谢谢。

from cloudviewer.

gisnewbird avatar gisnewbird commented on July 21, 2024

可以发我一份吗,谢谢,[email protected]

from cloudviewer.

xiaomoxz avatar xiaomoxz commented on July 21, 2024

@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份

你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]

from cloudviewer.

the-sword avatar the-sword commented on July 21, 2024

@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份

你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译的了。

from cloudviewer.

xiaomoxz avatar xiaomoxz commented on July 21, 2024

@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份

你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译的了。

我现在用cmake编译后,有一些warning,我忽略了,然后生成后用vs打开生成,出现错误,请问您有碰到过吗??

from cloudviewer.

xiaomoxz avatar xiaomoxz commented on July 21, 2024

@ilcamf 这个源码是可以用的,没有问题。另外这个不是用cmake编译的,如果你现在还需要的话,我可以给你发一份

你好,这个源码不用cmake编译吗??还有,方便发给我一份工程文件吗??谢谢
[email protected]
现在作者是已经重构成cmake编译

可以添加下您的联系方式吗??想请教您一下,
或者您加下我的QQ 1637136891,谢谢

from cloudviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.