zint / zint-gpl-only

Zint Barcode Generator
https://zint.org.uk/
GNU General Public License v3.0
525 stars 138 forks source link

Builing zint on linux as static lib #60

Closed bencz closed 2 years ago

bencz commented 7 years ago

Hi How to build the zint as static lib to linking with the executable, on linux ?

denisdemaisbr commented 7 years ago

use libtool or ar

https://www.gnu.org/software/libtool/ http://www.manpagez.com/man/1/libtool/

http://www.network-theory.co.uk/docs/gccintro/gccintro_79.html https://linux.die.net/man/1/ar

tispratik commented 3 years ago

Were you able to successfully build it on linux?

bencz commented 3 years ago

Nop... I just added all the source on my project....

tispratik commented 3 years ago

You mean you built it on linux as a part of your project?

bencz commented 3 years ago

Yeap... I just added all the zint source to my source project and used it :)

tispratik commented 3 years ago

Thanks for your quick response Alex!

On Tue, Apr 20, 2021 at 11:33 AM Alexandre Bencz @.***> wrote:

Yeap... I just added all the zint source to my source project and used it :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zint/zint/issues/60#issuecomment-823508934, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAATV57XFQKYC67BDQFZIH3TJXCGBANCNFSM4DIGP52Q .

gitlost commented 2 years ago

Note there is now a CMake option ZINT_STATIC to build zint as a static library in the latest version of Zint. As this fork is no longer in use, am closing this. If you've any further questions, please raise a ticket at https://sourceforge.net/p/zint/tickets/, thanks all!