rj / libf2f Goto Github PK
View Code? Open in Web Editor NEWLibrary for building p2p networks, C++ boost/asio
License: GNU General Public License v3.0
Library for building p2p networks, C++ boost/asio
License: GNU General Public License v3.0
libf2f is a (work-in-progress) C++ boost/asio library for building p2p networks Provides: * network servent/router * connection handling and abstraction * message class that is marshalled to/from the network * very simple test app (only supports ping+pong) Does not provide: * high level protocol, you have to design implement this yourself (ie, extend the Protocol class) Will hopefully provide in future: * UPnP control capability to set up port-fwds * Flow control strategies to manage bandwidth utilisation * A better, simple demo app
On ubuntu 9.04. I went through building playdar etc etc, right debs and such.
During the make stage, I getting linking errors building main.cpp.
[100%] Building CXX object CMakeFiles/f2f-demo.dir/app/main.cpp.o /usr/bin/c++ -I/home/tims/workspace/playdar/tmp/libf2f/include -Wall -g -fno-operator-names -fPIC -O2 -o CMakeFiles/f2f-demo.dir/app/main.cpp.o -c /home/tims/workspace/playdar/tmp/libf2f/app/main.cpp Linking CXX executable ../bin/f2f-demo /usr/bin/cmake -E cmake_link_script CMakeFiles/f2f-demo.dir/link.txt --verbose=1 /usr/bin/c++ CMakeFiles/f2f-demo.dir/app/main.cpp.o -o ../bin/f2f-demo -rdynamic -L/home/tims/workspace/playdar/tmp/libf2f/lib -L/usr/local/lib libf2f.a -Wl,-Bstatic -lboost_filesystem-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lboost_program_options-mt -lboost_date_time-mt -Wl,-Bdynamic -Wl,-rpath,/home/tims/workspace/playdar/tmp/libf2f/lib:/usr/local/lib CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `posix_tss_ptr': /usr/include/boost/asio/detail/posix_tss_ptr.hpp:47: undefined reference to `pthread_key_create' CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `~posix_tss_ptr': /usr/include/boost/asio/detail/posix_tss_ptr.hpp:61: undefined reference to `pthread_key_delete' CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `~posix_thread': /usr/include/boost/asio/detail/posix_thread.hpp:69: undefined reference to `pthread_detach' CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `boost::asio::detail::posix_thread::join()': /usr/include/boost/asio/detail/posix_thread.hpp:77: undefined reference to `pthread_join' CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `posix_signal_blocker': /usr/include/boost/asio/detail/posix_signal_blocker.hpp:48: undefined reference to `pthread_sigmask' CMakeFiles/f2f-demo.dir/app/main.cpp.o: In function `~posix_signal_blocker': /usr/include/boost/asio/detail/posix_signal_blocker.hpp:55: undefined reference to `pthread_sigmask'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.