-
Notifications
You must be signed in to change notification settings - Fork 7.4k
[azure-kinect-sensor-sdk] not working on Linux #14750
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
5bf086d
[azure-kinect-sensor-sdk] fix linux build and other issues
051bd84
Update ports/azure-kinect-sensor-sdk/CONTROL
JackBoosY 9cd44db
Update ports/azure-kinect-sensor-sdk/portfile.cmake
JackBoosY 6f9c662
Force to re-download archive, revert 9cd44db8e32939fa6f5fa4c2166d32d3…
62af638
update version record
34740a1
Update ports/azure-kinect-sensor-sdk/CONTROL
JackBoosY 391351b
Update versions/a-/azure-kinect-sensor-sdk.json
JackBoosY 87cf8c2
Merge branch 'master' of https://github.com/Microsoft/vcpkg into HEAD
ras0219-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| diff --git a/configs/azure_iot_build_rules.cmake b/configs/azure_iot_build_rules.cmake | ||
| index be3e14fe..aa402902 100644 | ||
| --- a/configs/azure_iot_build_rules.cmake | ||
| +++ b/configs/azure_iot_build_rules.cmake | ||
| @@ -71,8 +71,6 @@ if(MSVC) | ||
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4") | ||
| set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /W4") | ||
| elseif(UNIX) #LINUX OR APPLE | ||
| - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") | ||
| - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") | ||
| if(NOT (IN_OPENWRT OR APPLE)) | ||
| set (CMAKE_C_FLAGS "-D_POSIX_C_SOURCE=200112L ${CMAKE_C_FLAGS}") | ||
| endif() | ||
| @@ -191,12 +189,6 @@ endfunction() | ||
| IF((WIN32) AND (NOT(MINGW))) | ||
| #windows needs this define | ||
| add_definitions(-D_CRT_SECURE_NO_WARNINGS) | ||
| - # Make warning as error | ||
| - add_definitions(/WX) | ||
| -ELSE() | ||
| - # Make warning as error | ||
| - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") | ||
| - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") | ||
| ENDIF() | ||
|
|
||
|
|
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
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.