This repository was archived by the owner on Jun 27, 2022. It is now read-only.
Fix compilation with cmake on Windows#28
Open
nikolaitasev wants to merge 3 commits intoudacity:masterfrom
Open
Fix compilation with cmake on Windows#28nikolaitasev wants to merge 3 commits intoudacity:masterfrom
nikolaitasev wants to merge 3 commits intoudacity:masterfrom
Conversation
added 3 commits
June 6, 2017 17:37
When compiling on Windows with MSVC this option breaks the compilation. Maybe this selection should be removed altogether and let the user select its compiler when needed.
|
I update the 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
2>------ Build started: Project: HW1, Configuration: Debug x64 ------
2>Building NVCC (Device) object ProblemSets/ProblemSet1/CMakeFiles/HW1.dir/Debug/HW1_generated_student_func.cu.obj
2>CMake Error at HW1_generated_student_func.cu.obj.Debug.cmake:219 (message):
2> Error generating
2> F:/OpenSource/cs344/build/ProblemSets/ProblemSet1/CMakeFiles/HW1.dir//Debug/HW1_generated_student_func.cu.obj
2>
2>
2>D:\Microsoft Visual Studio\2017\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 1.
2>Done building project "HW1.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========The |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here are some fixes that make it possible to compile with cmake and msvc on Windows.