Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the toolbar of Z3DcameraViewer.exe cannot be pulled down and selected #50

Open
zengletian1491 opened this issue Feb 24, 2020 · 4 comments

Comments

@zengletian1491
Copy link

zengletian1491 commented Feb 24, 2020

Dear Nicolas Ulrich,
I ran this project after the following steps:

  1. installing opencv4.1.1-1 and pcl1.9.1-10 with vcpkg on windows10-64bit system;
  2. use cmake 3.16.4 and visual studio 2017 to build the project;
  3. copy the dll files of qt 5.14.1, the plugins of qt to the build/Release/bin file;
  4. copy the dll files of opencv and pcl packages within vcpkg.
    But the toolbar of Z3DcameraViewer window cannot be opened, which may be caused by the generated ZcameraAcquisition.dll file.

However, when I copied the Z3DcameraViewer.exe to the enviroment you provided in NEUVision-Windows-x64-v0.2.0-0-gb1c7aa9-build-352.zip on github (https://github.com/nikolaseu/neuvision/releases), the toolbar of Z3DcameraViewer.exe can be pulled down and selected. So I would like to ask the following questions:
1) On window10-64bit system,which versions of qt and cmake do you choose?
2)I'm not very sure that the key of the problem is the dll file. Could you please give me some suggstions?
Thanks very much!

@zengletian1491 zengletian1491 changed the title the toolbar of Z3DcameraViewer.exe can be pulled down and selected the toolbar of Z3DcameraViewer.exe cannot be pulled down and selected Feb 24, 2020
@zengletian1491
Copy link
Author

Complement:
However, when I copied the Z3DcameraViewer.exe to the enviroment you provided in NEUVision-Windows-x64-v0.2.0-0-gb1c7aa9-build-352.zip on github (https://github.com/nikolaseu/neuvision/releases), the toolbar of Z3DcameraViewer.exe can be pulled down and selected., i.e., we can select "OpenCV VideoCapture" or "Simulated camera" according to our requirement.

@zengletian1491
Copy link
Author

Solution:
in the build/bin file folder, there are two file folders "Release" and "plugins".
First, the "plugins" file folder should be copied to the "Release" file folder.
Second, in the "plugins" file folder, there are 5 file folders. For each file folder, for example, "pointcloud", the "ZPclGeometryLoders.dll" and "ZQtGeometryLoaders.dll" are in the file folder "pointcloud/Release", but they should be copied to the file folder "pointcloud", at the same time, the "Release" file folder should be deleted. The operations for other 4 file folders are same as the "pointcloud" file folder.

@nikolaseu
Copy link
Owner

Hi, how are you building the project? I work mostly on QtCreator, but also building from the command line (as in the AppVeyor CI) I get the right folder structure, without those intermediate "Release" folders.

@zengletian1491
Copy link
Author

I use cmake first and then visual studio 2017 to build this project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants