xswang/xflow

could not build

xiandong79 opened this issue · 3 comments

➜  logistic_regression_ps git:(master) make clean && make
rm -f *~ train
rm -f *.o
rm -rf bin
g++ -std=c++11 -g -O3 -msse3 -I/usr/local/include/ -I/usr/include -I./ps-lite/deps/include -I./ps-lite/include/ps -I./ps-lite/include -c src/main.cpp
g++ -std=c++11 -g -O3 -msse3 -I/usr/local/include/ -I/usr/include -I./ps-lite/deps/include -I./ps-lite/include/ps -I./ps-lite/include -c src/io/load_data_from_local.cc
make: *** No rule to make target `ps-lite/deps/lib/libprotobuf.a', needed by `lr_ps'.  Stop.

./ps-lite/deps/lib/libprotobuf.a does not exist.

The reason is that the ps-lite has not been build.

Maybe it should be the following steps during installation:

cd logistic_regression_ps

cd ps-lite && make -j4

make clean && make

I will fix it,thankyou