orzzzjq / gCentroidal-Voronoi-Tessellation

Compute centroidal Voronoi tessellations in 2D and 3D using the GPU.
https://www.comp.nus.edu.sg/~tants/cvt.html
MIT License
36 stars 10 forks source link

Compile error in visual studio 2019 #5

Open MYF940103 opened 1 year ago

MYF940103 commented 1 year ago

Hi! I am trying to compile the code in visual studio 2019, but the .cu file fails to include in the project. I was considering if I configuring it with an unsuitable edition of Cuda.

Could you please tell me your environment configuration regarding the IDE, CUDA edition, or other dependencies please?

orzzzjq commented 1 year ago

Which version of CUDA are you using? I was using VS and CUDA when developing and they worked fine. This is a self-contained project and no other dependencies are required.

MYF940103 commented 1 year ago

Sorry, May main.obj is the output data? But I can not open this file as follow mentioned: image

orzzzjq commented 1 year ago

main.obj is not the output, there is no file output. The output is outputVoronoi, which is an array of short integer. I may not be quite responsive since I am on travel these days, sorry.