Hi all:
I read the apps_int.txt,but can not find the file KfsTest_main.cc.
The only file I can find is KfsSample_main.cc. But there are some syntax
error in it.Although I have found some and corrected,I still can not success to compile the KfsSample_main.cc
If you know how to compile the source file,please told me.
Thank you very much!
Is it right:
g++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc /root/kfs/build/lib-static/libkfsClient.a -I/root/kfs/src/cc -I/usr/local/include/boost-1_34_1
Thanks
darkzealot_guan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry,I miss one lib of log4cpp.
It is ok now:
/usr/local/bin/c++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc -I/usr/local/include/boost-1_34_1 -I/root/kfs/src/cc -L/root/kfs/build/src/cc/libkfsClient -lkfsClient -llog4cpp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry,I miss one lib of log4cpp.
It is ok now:
/usr/local/bin/c++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc -I/usr/local/include/boost-1_34_1 -I/root/kfs/src/cc -L/root/kfs/build/src/cc/libkfsClient -lkfsClient -llog4cpp
darkzealot_guan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all:
I read the apps_int.txt,but can not find the file KfsTest_main.cc.
The only file I can find is KfsSample_main.cc. But there are some syntax
error in it.Although I have found some and corrected,I still can not success to compile the KfsSample_main.cc
If you know how to compile the source file,please told me.
Thank you very much!
Is it right:
g++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc /root/kfs/build/lib-static/libkfsClient.a -I/root/kfs/src/cc -I/usr/local/include/boost-1_34_1
Thanks
darkzealot_guan
Hi all:
Sorry,I miss one lib of log4cpp.
It is ok now:
/usr/local/bin/c++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc -I/usr/local/include/boost-1_34_1 -I/root/kfs/src/cc -L/root/kfs/build/src/cc/libkfsClient -lkfsClient -llog4cpp
Hi all:
Sorry,I miss one lib of log4cpp.
It is ok now:
/usr/local/bin/c++ -Wall -g -o test_sample /root/kfs/examples/test_sample.cc -I/usr/local/include/boost-1_34_1 -I/root/kfs/src/cc -L/root/kfs/build/src/cc/libkfsClient -lkfsClient -llog4cpp
darkzealot_guan