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

Update top level cmake to avoid build failure #1885

Open
Andreachen0707 opened this issue Aug 8, 2024 · 0 comments
Open

Update top level cmake to avoid build failure #1885

Andreachen0707 opened this issue Aug 8, 2024 · 0 comments

Comments

@Andreachen0707
Copy link

In top level cmake, we have:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-write-strings -Wno-deprecated-declarations") # -std=c++14
should this be modified to
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-write-strings -Wno-error") # -std=c++14

If user has CMAKE_CXX_FLAGS set as -Werror, then jetson-inference will not be able to build. Only deprecated-declarations seems not able to capture all the warning in jetson-inference, there are also unused-parameter etc.

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

1 participant