-
-
Notifications
You must be signed in to change notification settings - Fork 830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error C1001 (Internal compiler error) when compiling with CUDA 10 and VS 2019 #778
Comments
You can try to remove the global const variable
|
Maybe fixes an internal compiler error with Visual Studio 2019 (alicevision#778).
Thanks for the suggestion. Unfortunately I couldn't get it to work, could you take a look at it? See this run on this branch. |
@EwoutH - I have a hack (https://github.com/alicevision/AliceVision/compare/develop...julianrendell:vs2019-hacks?expand=1) that has let me build AliceVision. It also has a fix to work with latest cctags. This is most definitely not a fix; I just brute force copied the code into the two places where it was being called, and I think I've also pushed a function from the .h -> .cpp. Not 100% sure if this last piece is needed, but it's compiling, I'm not a C++ expert, and I'm short on time :-) I'm new to building meshroom; and rusty re building on Windows. My notes for what I've done so far: https://gist.github.com/julianrendell/da6372201234d943d3e4f77e43674fd2 - in case they're useful to you. @fabiencastan - I think it has something to do with the arguments being references. Not really sure, going on some vague pattern recognition from reading random google searches for this internal compiler error. |
When updating the AppVeyor configuration an error popped up in the compile log:
Here the AppVeyor configuration used and the run itself.
Blocks #776.
The text was updated successfully, but these errors were encountered: