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

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 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

2 participants