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

修正 cvtcolor demo 編譯缺少 Dynamically loaded (DL) libraries 的問題 #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions samples/cvtcolor_demo/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ add_executable(rga_cvtcolor_demo
target_link_libraries(rga_cvtcolor_demo
utils_obj
${RGA_LIB}
dl
)
install(TARGETS rga_cvtcolor_demo DESTINATION ${CMAKE_INSTALL_BINDIR})

Expand All @@ -15,6 +16,7 @@ add_executable(rga_cvtcolor_csc_demo
target_link_libraries(rga_cvtcolor_csc_demo
utils_obj
${RGA_LIB}
dl
)
install(TARGETS rga_cvtcolor_csc_demo DESTINATION ${CMAKE_INSTALL_BINDIR})

Expand All @@ -25,5 +27,6 @@ add_executable(rga_cvtcolor_gray256_demo
target_link_libraries(rga_cvtcolor_gray256_demo
utils_obj
${RGA_LIB}
dl
)
install(TARGETS rga_cvtcolor_gray256_demo DESTINATION ${CMAKE_INSTALL_BINDIR})
1 change: 0 additions & 1 deletion samples/cvtcolor_demo/src/rga_cvtcolor_gray256_demo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
Expand Down