wentaoshang / wsproxy-cpp

WebSocket-NDNx proxy implemented in pure C++
1 stars 2 forks source link

won't build on ubuntu 12.04 #1

Open nanodust opened 10 years ago

nanodust commented 10 years ago

localadmin@ucla-staging:~/wsproxy-cpp$ ./waf configure Setting top to : /home/localadmin/wsproxy-cpp Setting out to : /home/localadmin/wsproxy-cpp/build Checking for 'gcc' (c compiler) : /usr/bin/gcc Checking for 'g++' (c++ compiler) : /usr/bin/g++ Checking allowed flags for c++ compiler : -O3 -std=c++0x -D_WEBSOCKETPP_CPP11STL -g Checking boost includes : 1_48 Checking boost libs : ok Checking for boost linkage : ok

ok, great - then

ocaladmin@ucla-staging:~/wsproxy-cpp$ ./waf Waf: Entering directory /home/localadmin/wsproxy-cpp/build' [1/2] cxx: ws_proxy.cpp -> build/ws_proxy.cpp.1.o ../ws_proxy.cpp:5:46: fatal error: websocketpp/config/asio_no_tls.hpp: No such file or directory compilation terminated. Waf: Leaving directory/home/localadmin/wsproxy-cpp/build' Build failed -> task in 'ws_proxy' failed (exit status 1): {task 171632524: cxx ws_proxy.cpp -> ws_proxy.cpp.1.o} ['/usr/bin/g++', '-O3', '-std=c++0x', '-D_WEBSOCKETPP_CPP11STL', '-g', '-I/home/localadmin/wsproxy-cpp/build', '-I/home/localadmin/wsproxy-cpp', '-I/home/localadmin/wsproxy-cpp/build/websocketpp', '-I/home/localadmin/wsproxy-cpp/websocketpp', '-I/usr/include', '../ws_proxy.cpp', '-c', '-o', 'ws_proxy.cpp.1.o']

any idea ?

wentaoshang commented 10 years ago

Maybe you need to initialize the submodule first. Otherwise the websocket-cpp folder will be empty.

Sorry for lack of documentation and late reply :)

Wentao

On Tuesday, January 21, 2014, Alex Nano notifications@github.com wrote:

localadmin@ucla-staging:~/wsproxy-cpp$ ./waf configure Setting top to : /home/localadmin/wsproxy-cpp Setting out to : /home/localadmin/wsproxy-cpp/build Checking for 'gcc' (c compiler) : /usr/bin/gcc Checking for 'g++' (c++ compiler) : /usr/bin/g++ Checking allowed flags for c++ compiler : -O3 -std=c++0x -D_WEBSOCKETPP_CPP11STL -g Checking boost includes : 1_48 Checking boost libs : ok Checking for boost linkage : ok

ok, great - then

ocaladmin@ucla-staging:~/wsproxy-cpp$ ./waf Waf: Entering directory /home/localadmin/wsproxy-cpp/build' [1/2] cxx: ws_proxy.cpp -> build/ws_proxy.cpp.1.o ../ws_proxy.cpp:5:46: fatal error: websocketpp/config/asio_no_tls.hpp: No such file or directory compilation terminated. Waf: Leaving directory/home/localadmin/wsproxy-cpp/build' Build failed -> task in 'ws_proxy' failed (exit status 1): {task 171632524: cxx ws_proxy.cpp -> ws_proxy.cpp.1.o} ['/usr/bin/g++', '-O3', '-std=c++0x', '-D_WEBSOCKETPP_CPP11STL', '-g', '-I/home/localadmin/wsproxy-cpp/build', '-I/home/localadmin/wsproxy-cpp', '-I/home/localadmin/wsproxy-cpp/build/websocketpp', '-I/home/localadmin/wsproxy-cpp/websocketpp', '-I/usr/include', '../ws_proxy.cpp', '-c', '-o', 'ws_proxy.cpp.1.o']

any idea ?

— Reply to this email directly or view it on GitHubhttps://github.com/wentaoshang/wsproxy-cpp/issues/1 .

PhD student @ Internet Research Lab, Computer Science Department, University of California, Los Angeles