Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi leewood,
There are couple of temporary fixes for this issue .... One you already have tested; copying *.h at path already taken path (Red line path in your prints). As LDFLAGS are take properly. Other fix is you can add your CFLAGS, in LDFLAGS for perticular Makefile (Not recommonded). Just check how *.h files are included in your source code, is it some inner dir of include path ( include <linux/libjpeg.h>)or simple include ( include <libjpeg.h>). Proper solution is look into ./configure --help as it will take configure.in as input + the parameters passed on command line while running configure. Then it will create Makefile. Look for how to add include path in help, like INCLUDE_DIR or CFLAGS as parameter you need to pass. My knowledge is limited beyond this point, you can take what ever solution looks ok to you, and if you find some useful details kindly share. thanks, Ankur