Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

OmafDashAccess/DownloadManager.cpp error while compiling Omaf client code #68

Open
loktiing opened this issue Aug 25, 2021 · 1 comment

Comments

@loktiing
Copy link

I am trying to execute ./deploy.sh in OMAF-Sample/client but there is error during compilation,

[ 86%] Building CXX object OmafDashAccess/CMakeFiles/OmafDashAccess.dir/OmafExtractorTracksSelector.cpp.o
/home/osboxes/Immersive-Video-Sample/src/OmafDashAccess/DownloadManager.cpp: In member function ‘int VCD::OMAF::DownloadManager::enum_directory(const char*, bool, enum_dir_item, void*, const char*)’:
/home/osboxes/Immersive-Video-Sample/src/OmafDashAccess/DownloadManager.cpp:218:54: error: argument to ‘sizeof’ in ‘char* strncat(char*, const char*, size_t)’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess]

Please help

@loktiing loktiing changed the title /home/osboxes/Immersive-Video-Sample/src/OmafDashAccess/DownloadManager.cpp:218:54: error: argument to ‘sizeof’ in ‘char* strncat(char*, const char*, size_t)’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess] OmafDashAccess/DownloadManager.cpp:218:54: error: argument to ‘sizeof’ in ‘char* strncat(char*, const char*, size_t)’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess] Aug 25, 2021
@loktiing loktiing changed the title OmafDashAccess/DownloadManager.cpp:218:54: error: argument to ‘sizeof’ in ‘char* strncat(char*, const char*, size_t)’ call is the same expression as the source; did you mean to use the size of the destination? [-Werror=sizeof-pointer-memaccess] OmafDashAccess/DownloadManager.cpp error while compiling Omaf client code Aug 25, 2021
@ayamir
Copy link

ayamir commented Oct 13, 2021

Maybe you just need Ubuntu18.04 as environment.

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

No branches or pull requests

2 participants