-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add sdk-playback option using Huawei IVS_SDK_PlaybackPlatform #2
base: playback
Are you sure you want to change the base?
Conversation
modules/api/CMakeLists.txt
Outdated
# Set default compile flags for GCC | ||
if(CMAKE_COMPILER_IS_GNUCXX) | ||
message(STATUS "GCC detected, adding compile flags") | ||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++98 -pedantic -Wall -Wextra") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use -std=c++14
modules/huawei/CMakeLists.txt
Outdated
@@ -4,7 +4,7 @@ project(hwivs VERSION 0.1.0) | |||
# ---------------------------------------------------------------------------- | |||
# Detect dependencies | |||
# ---------------------------------------------------------------------------- | |||
find_library(IVS_SDK_LIBRARY NAMES IVS_SDK HINTS $ENV{IVS_SDK_PATH}/lib) | |||
find_library(IVS_SDK_LIBRARY NAMES IVS_SDK HINTS $ENV{IVS_SDK_PATH}/sdklib) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that the sdk path from Huawei is different for Linux (/lib
) and Windows (/sdklib
). You could use both in the find_library
.
find_library(IVS_SDK_LIBRARY
NAMES IVS_SDK
HINTS $ENV{IVS_SDK_PATH}/lib $ENV{IVS_SDK_PATH}/sdklib
)
I'm having this error when compiling on Ubuntu.
It happened because the |
Ok, I'll give it a try. I just knew about this compatibility thing. |
Sure. I'll take a look. |
I did wrap Edit : just ran |
Edit include file path of spdlog to its relative path and edit CMakeLists option to make it compatible with Windows