nikolaseu / neuvision

Structured Light based 3D scanner
GNU General Public License v3.0
287 stars 81 forks source link

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

Open zengletian1491 opened 4 years ago

zengletian1491 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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