Hello,
How can I use libjansson with OpenEmbedded
I tried “bitbake libjansson” but can’t find any ipk file under deploy/ipk
Also how can I cross compile an application that uses libjansson. I prepared the below makefile
SYSROOTS ?= /usr/local/oecore-x86_64/sysroots
CC = ${SYSROOTS}/x86_64-angstromsdk-linux/usr/bin/arm-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-gcc
INCLUDES = -I${SYSROOTS}/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include
LIB_PATH = -L${SYSROOTS}/armv7at2hf-neon-angstrom-linux-gnueabi/lib
LIBS = -lpthread -ljansson
CFLAGS = -O2 -g -Wall -mfloat-abi=hard --sysroot=${SYSROOTS}/armv7at2hf-neon-angstrom-linux-gnueabi
all: ${CC} ${CFLAGS} ${INCLUDES} ${LIB_PATH} ${LIBS}
hello.c -o hello
clean: rm -rf hello
but get an error “cannot find -ljansson”
I would be happy if you can guide me about this