question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows build fail

See original GitHub issue

Hey there,

I tried to compile this project under Windows 10, but sadly wasn’t able to do so.

At first glance, Visual Studio tries to compile the project but fails with the following error:

  diffvg.cpp
  CMake Error at diffvg_generated_diffvg.cpp.obj.Release.cmake:280 (message):
    Error generating file
    [...]/diffvg/build/temp.win-amd64-3.8/Release/CMakeFiles/diffvg.dir//Release/diffvg_generated_diffvg.cpp.obj

My enviroment is a Windows 10 with a Python 3.8.5, Annaconda 2020.11, Visual Studio 2019, Visual Studio Build Tool 2017.

Have I missed something? Do you need any more information?

Thanks in advance!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
thuangbcommented, Nov 7, 2021

I think that the cuda pow function is the culprit because the old pow function of cuda has been changed to powf now so if you use old cuda or old visual studio may be you can compile. However, I trace back to the error and found no pow function being used which is weird. Can anyone confirm this?

0reactions
bfrasurecommented, Oct 4, 2021

how does one target 2017 build?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your windows insider build ran into problem
I've tried everything updating every driver manually sfc scannow dsim disk optimization and diagnostics. I'm a very new insider.
Read more >
build error on windows #3568 - google/mediapipe - GitHub
Describe the problem: When ran the follow command on windows, errors occured! I followed the official document. Can not find any solutions.
Read more >
Flutter Windows Application fails to compile - Stack Overflow
Your compiler needs upgrading. I've got 16.11.something; you've got 16.1.something. Run the Visual Studio Installer again to upgrade it. (For ...
Read more >
How to Fix the "This Build of Windows Will Expire Soon" Error ...
How to Fix the "This Build of Windows Will Expire Soon" Error · Change your Insider Preview path settings · Reinstall Windows with...
Read more >
Troubleshoot OS Build Plan and Build Plan step failures
Windows setup.exe fails. Often, but not always, displaying an error message about being unable to load a driver. Alternate symptom: Cannot boot WinPE...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found