Re: Compiling and packaging libraries


Mike Looijmans
 

The simplest solution is to use autotools or Cmake for your project. That will automatically "do the right thing" to get the library properly installed and registered.

Even if your project is just one C file and a header, putting that in autotools or cmake is less work than getting all the nitty bits in a hand-crafted Makefile right.



Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert


TOPIC Embedded Products B.V.
Materiaalweg 4, 5681 RJ Best
The Netherlands

T: +31 (0) 499 33 69 69
E: mike.looijmans@...
W: www.topicproducts.com

Please consider the environment before printing this e-mail

On 06-09-2020 10:53, majid.nasiry65 via lists.yoctoproject.org wrote:
Hi
I wrote a recipe for adding a library to my image it compile correctly but I have issues in installing it and I got "-dev package contains non-symlink .so" error.
I know default method for install libraries is versioned mode and I need to make symbolic links, but I don't know how?
Another question is what is difference between -dev and -dbg output?

Join yocto@lists.yoctoproject.org to automatically receive all group messages.