Hi, I created a client for DynamoRio and I am using an external library from DynamoRio.
To link this library I inserted target_link_libraries(<target> "/path/to/the/library/.a") in CMakeLists.txt.
Also, in the source file of my client I inserted the header from this external library.
I am able to compile the client. But when I am running it, I get the error <ERROR: using undefined symbol!>
Running my client with the flags -debug -loglevel 1, I got the warning <WARNING! symbol lookup error: mylib.so undefined symbol function_on_my_header_file>.
My knoledge in Cmake is very low. So, I searched on the internet and they say to insert in CMakeLists.txt include_directories(), but it did not worked.
Can you guys help me please? What am I suppose to do to correct this error/warning?