Zielon / 3DScanning

Kinect Fusion for Markerless Augumented Reality on CUDA
13 stars 1 forks source link

Cuda ICP Implementation #81

Closed juanraul8 closed 5 years ago

juanraul8 commented 5 years ago

Task: Integrate cuda ICP solution [0] to speed up further camera tracking .

References: [0] ICPCUDA: https://github.com/mp3guy/ICPCUDA.

juanraul8 commented 5 years ago

I already try this task.

I was no able to compile pangolin library.

First, I got the following error:

'C:/Users/Lukas/CMakeBuilds/6ea72e5c-f056-ee3c-a655-a62d61009ccc/install/x64-Debug (default)/lib/zlibstatic*.lib', needed by 'libpng16d.dll', missing and no known rule to make it

This can be solved changing the *zlibstatic.lib to zlibstatic.lib** in the external cmakeLists.txt.

Then, I got a similar error but in another instance. I was not sure how to solved it. I tried both cmake in visual studio and cmake alone, in both I got a lot of errors.

As pangolin is used only to process the depth images, I decided to just adapt the example using our code to read and write depth maps.

juanraul8 commented 5 years ago

After do that I got the following error:

Error LNK2001 unresolved external symbol cudaGetDeviceProperties ICPTest C:\Users\Lukas\Desktop\ICPTest\ICP\ICPTest\ICPTest\ICP.obj 1

I think the best strategy is picking a cuda sample demo and copy the visual studio project setting. However, I could not compile the cuda samples due to a problem with the sdk.

Error MSB8036 The Windows SDK version 10.0.15063.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". marchingCubes C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets

I retarget and it did not work. I tried cuda 9.0 and cuda 10.0.