← Back to team overview

leaningtech-dev team mailing list archive

Re: [Question #238985]: libpion stub outdated?

 

Question #238985 on Duetto changed:
https://answers.launchpad.net/duetto/+question/238985

Description changed to:
I'm trying to compile the server example from http://leaningtech.com/duetto/examples/
Here is what I'm getting:

8<------->8
$ /opt/duetto/bin/clang++ -duetto-side=server -std=c++11 -O3 /opt/duetto/share/duetto/server_stub.cpp /opt/duetto/share/duetto/deserializer.cpp HelloServer.cpp -o HelloServer -lboost_system -lpion-net-4.0 -pthread -lpion-common -lboost_thread -lssl -lcrypto -llog4cpp
/opt/duetto/share/duetto/server_stub.cpp:21:10: fatal error: 'pion/net/HTTPServer.hpp' file not found
#include <pion/net/HTTPServer.hpp>
         ^
1 error generated.
/opt/duetto/share/duetto/deserializer.cpp:23:10: fatal error: 'server.h' file not found
#include "server.h"
         ^
1 error generated.
HelloServer.cpp:4:10: fatal error: 'server.h' file not found
#include "server.h"
         ^
1 error generated.
8<------->8

Looking in the libpion includes I see no 'pion/net/HTTPServer.hpp',
rather there is a 'pion/http/server.hpp' (cf.
http://packages.debian.org/jessie/amd64/libpion-dev/filelist).

$ dpkg -l | grep pion
ii  libpion-5.0                               5.0.4+dfsg-1                 amd64        lightweight HTTP interface library - runtime files
ii  libpion-dev                               5.0.4+dfsg-1                 amd64        lightweight HTTP interface library - development files
ii  libpion-plugins                           5.0.4+dfsg-1                 amd64        lightweight HTTP interface library - plugins

$ dpkg -l | grep duetto
ii  duetto-libcxx                             0.9.1                        amd64        A C++ compiler for the Web, C++ library implementation
ii  duetto-libcxxabi                          0.9.1                        amd64        A C++ compiler for the Web, C++ ABI implementation
ii  duetto-llvm-clang                         0.9.1-1                      amd64        A C++ compiler for the Web
ii  duetto-newlib                             0.9.1-1                      amd64        A C++ compiler for the Web, C library implementation
ii  duetto-utils                              0.9.1                        amd64        A C++ compiler for the Web, includes and tools

Is it the outdated libpion stubs in Duetto or am I doing something
wrong?

-- 
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Duetto.