diffvg
diffvg copied to clipboard
Windows -Can't compile in a cuda environment
Python version 3.7, Pytorch with Cuda (confirmed working), VS 2019 CMake installed. Cuda 10.0 - 10.2 installed from Nvidia site. I cannot compile diffvg library with Cuda enabled. I get this error every time: ptxas fatal : Unresolved extern function '_Z3powfi' diffvg.cpp CMake Error at diffvg_generated_diffvg.cpp.obj.Release.cmake:280 (message): Error generating file ......./build/temp.win-amd64-3.6/Release/CMakeFiles/diffvg.dir//Release/diffvg_generated_diffvg.cpp.obj
Edit: It looks like I need to make a few changes to the way drivers are referenced. I was able to get this working under linux for now.
The problem is with the new cuda and visual studio 2019 is not compatible, try visual studio 2017 and/or old cuda version
Thanks, I'm running into issues targeting it for some reason even if I uninstall 2019. I'll keep trying.
Using Cuda 10.2 and visual studio 2019 I'm getting exactly the same error.