Closed carlosost closed 6 years ago
I have changed the third line of makefile at ../bin directory like bellow, including what I think is the linking tags for libpng and libjpeg, but I am still getting the same error.
LDFLAGS := -L"../lib" -lccv -L"/usr/lib64" -lpng -ljpeg $(LDFLAGS)
In the generated config.mk file (./lib/config.mk), if it cannot find libpng / libjpeg, you have to manually modify such that:
DEFINE_MACROS := -D HAVE_LIBPNG -D HAVE_LIBJPEG
LDFLAGS := -L${exec_prefix}/lib -lpng -ljpeg
and then do a make clean / make
Thank you @liuliu . It worked!!!
Just for others with the same "problem", I folllowed your instructions like bellow:
Thank you so much!
Steps to help replicate the scenario:
Than I get this error message: scddetect: scddetect.c:49: int main(int, char ): Assertion `image != 0' failed. Aborted (core dumped)
Trying to solve the problem and following some foruns I've found, I installed two libs to deal with png and jpeg files, like bellow:
But I am still getting the error. Any help?