Maratyszcza / NNPACK

Acceleration package for neural networks on multi-core CPUs
BSD 2-Clause "Simplified" License
1.67k stars 317 forks source link

please tell me where is the lib? #97

Closed xiaomage11 closed 6 years ago

xiaomage11 commented 6 years ago

I look at your readme. it tell me :Binary packages need to distribute two files: include/nnpack.h and lib/libnnpack.a (also lib/libnnpack.so or lib/libnnpack.dylib if NNPACK was configured with shared library support). but I could not find lib/libnnpack.a.please tell me where is it.thanks! @Maratyszcza

edmBernard commented 6 years ago

in NNPACK/lib folder

Maratyszcza commented 6 years ago

@xiaomage11 You need to build NNPACK (follow instructions in the README), then you'll find the library in $NNPACK_ROOT/lib/libnnpack.a. If you build for Android with ndk-build, the libraries will be in $NNPACK_ROOT/libs/<abi>/libnnpack.a.

xiaomage11 commented 6 years ago

@Maratyszcza I build NNPACK follow the instructions,but I could not find the lib in NNPACK,where is the NNPACK_ROOT ,is it in the usr/lib ?

xiaomage11 commented 6 years ago

@edmBernard I do not have have the lib folder in NNPACK

edmBernard commented 6 years ago

@xiaomage11 NNPACK_ROOT is the folder where you have nnpack source code when you build source the lib folder will be created with all lib in it. Are you sure you follow the build process and got no error ?