Open Julius-ZCJ opened 1 year ago
@Julius-ZCJ,
I recommend updating the target_link_libraries
section in your CMakeLists.txt file as follows:
target_link_libraries(learn_ws PUBLIC OsqpEigen::OsqpEigen)
Indeed, @Julius-ZCJ can you try @siddharthdeore fix? Thanks!
@Julius-ZCJ did you tried the proposed fix? Thanks!
Hello, developer: I get this error:error while loading shared libraries: libosqp.so: cannot open shared object file: No such file or directory
This is my cmakelist.txt:
but when I add "/usr/local/lib/libosqp.so" in target_link_libraries, this error is fix, I want to know why, and how to use this lib just need add code " find_package(osqp REQUIRED)" in cmakelist.txt, rather than "/usr/local/lib/libosqp.so"