Skip to content
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

*warning D9025: overriding '/Od' with '/O2'* leads to *error D8016: '/RTC1' and '/O2' command-line options are incompatible* when building with VS2010 #7

Open
zhangxaochen opened this issue Jul 22, 2016 · 1 comment

Comments

@zhangxaochen
Copy link

when building on Windows with VS2010 & cuda6.5, the following error occurs:

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1>Build started 2016/7/22 16:21:33.
1>InitializeBuildStatus:
1>  Creating "Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1>  All outputs are up-to-date.
1>FinalizeBuildStatus:
1>  Deleting file "Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".
1>  Touching "Win32\Debug\ZERO_CHECK\ZERO_CHECK.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.03
2>------ Build started: Project: kfusion, Configuration: Debug Win32 ------
2>Build started 2016/7/22 16:21:33.
2>InitializeBuildStatus:
2>  Touching "kfusion.dir\Debug\kfusion.unsuccessfulbuild".
2>CustomBuild:
2>  Building NVCC (Device) object CMakeFiles/kfusion.dir/Debug/kfusion_generated_helpers.cu.obj
2>  helpers.cu
2>  
2>cl : Command line warning D9025: overriding '/Od' with '/O2'
2>  
2>cl : Command line error D8016: '/RTC1' and '/O2' command-line options are incompatible
2>  
2>  CMake Error at kfusion_generated_helpers.cu.obj.cmake:206 (message):
2>    Error generating
2>    E:/Github/kfusion/_build.vc10/CMakeFiles/kfusion.dir//Debug/kfusion_generated_helpers.cu.obj
2>  
2>  
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.31
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Have someone tried building this repo on windows?

@cdowen
Copy link

cdowen commented Nov 27, 2016

I tried but no luck. Finally switched to "RelwithDebinfo" configuration to build it in visual studio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants