I also imported nacl-mount lib through naclport, but similarly "cannot find -lnacl-mounts". My computer is corei7 mac. Don't know if it has anything to do with the computer architect.
On Thursday, August 2, 2012 8:32:03 PM UTC-7, Jackie Jin wrote:
Hi All,
I'm new to NACL and trying to exercise on using the external ffmpeg lib provided by naclport.
I made ffmpeg inside the naclport and it's compiled into the NACL toolchain.
But there is linkage problem when I try to link it.
I got "x86_64-nacl/bin/ld: cannot find -lavcodec".
This is the flag inside the Makefile LDFLAGS:= -lavcodec -lavutil -lppapi_cpp -lppapi
This is include inside my program
#include "libavcodec/avcodec.h"
When I tried to call avcodec_init() inside the avcodec lib, I got "undefined reference" error.
Is there something I'm missing or did wrong? thank you!