NVIDIAGameWorks / NvCloth

300 stars 53 forks source link

No CmakeGenerateAll.bat #53

Open datnguyen1127 opened 4 years ago

datnguyen1127 commented 4 years ago

there is no CmakeGenerateAll.bat , when i'm trying use "CmakeGenerateProjects" to generate, the error happen.

Error_builld

KevinGliewe commented 4 years ago

You can't use a path with spaces in it. You should use directory names like this:

C:\Users\datnt65\Desktop\datnt65\1.Project\7.VirtualTryOn\8.Docs_Research\1.Body_Recontrucstion\Data\NvCloth-master

datnguyen1127 commented 4 years ago

thank u guy, I already pass this step as your instruction. However I met another issue.

there is no file" cuda_compile_fatbin_1_generated_CuSolverKernel.cu.fatbin.depend"

image

KevinGliewe commented 4 years ago

It looks like CUDA could not compile the CuSolverKernel.cu. You could use the DX11 instead of CUDA.

From the Documentation:

CmakeGenerateProjects.bat <0|1:use_cuda (default is 1)> <0|1:use_dx11 (default is 1)>

So if you use CmakeGenerateProjects.bat 0 1, it will disable CUDA and use DX11 instead.

If you want to do use the DX11 solver for the example project as well, check out my PR.

datnguyen1127 commented 4 years ago

Thank u kevin. I already pass this step as your instruction. However, when i follow the Documentation before build sample, I need to build "assimp" first as your link "build samples\external\assimp-4.1.0\compiler\vc14winXX-cmake\Assimp.sln", however, there is no "assimp" folder, as my image below. assimp_folder

KevinGliewe commented 4 years ago

Assimp is an optional dependency, It should work just fine without it.

datnguyen1127 commented 4 years ago

Thank u Kevin, I already complete to run "samples/CmakeGenerateProjects.bat". However, when i build the project, i met this issue. image