Hi, Scott A McConnell <[EMAIL PROTECTED]> writes:
> What you state below is true for DirectFB. However, it does not hold for > "DirectFB example code". > > When building the sample code it looks for the DirectFB library > ---------------------------- > mkdir .libs > mipsel-uclibc-gcc -I/usr/local/include -g -o df_knuckles df_knuckles.o > matrix.o -L/usr/local/lib -ldirectfb -lpthread -ldl -lm > /opt/toolchains/mips/lib/gcc-lib/mipsel-linux/3.1/../../../../mipsel-linux/bin/ld: > cannot find -ldirectfb > collect2: ld returned 1 exit status > make[2]: *** [df_knuckles] Error 1 > -------------------------------- I'm not sure if this is the best solution, but you can easily work around this problem by installing tuned pkg-config files in your cross-compile environment. Have a look at the directfb.pc file. All paths are based on a prefix which you can easily change. Then point pkg-config to the modified pkg-config file by setting the PKG_CONFIG_PATH environment variable. The pkg-config man page is certainly worth a read. Salut, Sven -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
