<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 16, 2017 at 12:12 PM, hyomin.choi <span dir="ltr"><<a href="mailto:hyomin06@gmail.com" target="_blank">hyomin06@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
I am student using x265 for my research.<br>
I am pretty new this list, so I am not sure it is correct to ask a question in this mailing list.<br>
If not, please tell me where I ask.<br>
<br>
Basically, I am working on Mac OS X environment with X Code and trying to make a demo using x265 library.<br>
I’ve check my modified source codes are working as good as my intention with output x265 binary in the terminal.<br>
Then, I tried to import the library, libx265.a, but surprisingly it doesn’t make any change.<br>
Even I debugged with lots of printf(“”), never make any outputs with printing debugging characters.<br>
<br>
How can I actually apply the modified source code to the output library?<br></blockquote><div><br></div><div>You're asking the question in the right place.</div><div><br></div><div>I am assuming that you are writing a new application to replace x265.cpp and are trying to link against libx265.a? You application has to include x265.h in its header so that the declaration of the API functions that your code calls is found at compile time. Then, at the link time, you hae to make sure that you add -lx265 as a linker option to your linker, and the linker should be able to find the library (which happens through pacakge config or something). If you want, you can specify an install target in x265's cmake, and `make install` after compiling so that the header files, and libraries are installed in the right folder for your application to pick it up from.</div><div><br></div><div>Hope that helps. If you still have trouble, do ping back here.</div></div><br></div></div>