When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
14 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
-l flag has to be to the right of any .c/.cpp/.o to have effect
Is that the issue, by any chance?
g++ --std=c++20 -o main -I/usr/local/include -L/usr/local/lib ./src/main.cpp -llrs gets me the same error
UPDATE: I tried to list the symbols of the object files and saw that the lib has multiple lrs_run functions.
000000000004d4c0 T lrs_run_2
0000000000033ae0 T lrs_run_gmp
0000000000015b90 T plrs_run_1
0000000000047d10 T plrs_run_2
000000000002e310 T plrs_run_gmp```
The header lib defines the functions without the _1 and _2. Any ideas why?
This is something specific to this library
The header lib defines the functions without the _1 and _2. Any ideas why?
Nah, they do this intentionally
So either you need to define some macro, or manually call a function suffixed with _1/_2/_gmp, or something else. See if they have some sort of a manual
The readme mentions it in passing
Thanks for the help. Found this too an hour ago and was just about to give an update.
!solved
Thank you and let us know if you have any more questions!
This thread is now set to auto-hide after an hour of inactivity