Im using Ubuntu 14.04.5 LTS
All commands works fine except ./scripts/installErizo.sh
The error it throws is…
Installing erizo...
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
-- Found glib-2.0: /usr/include/glib-2.0, /usr/lib/i386-linux-gnu/libglib-2.0.so;/usr/lib/i386-linux-gnu/libgobject-2.0.so;/usr/lib/i386-linux-gnu/libgthread-2.0.so
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- regex
-- system
-- Found glib-2.0: /usr/include/glib-2.0, /usr/lib/i386-linux-gnu/libglib-2.0.so;/usr/lib/i386-linux-gnu/libgobject-2.0.so;/usr/lib/i386-linux-gnu/libgthread-2.0.so
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- thread
-- regex
-- system
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tromesh/Work/licode/erizo/build
Done
[ 5%] Built target gtest
[ 48%] Built target webrtc
[ 50%] Building CXX object erizo/CMakeFiles/erizo.dir/rtp/RtcpForwarder.cpp.o
In file included from /home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.h:10:0,
from /home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp:4:
/home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp: In member function ‘virtual int erizo::RtcpForwarder::analyzeFeedback(char*, int)’:
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:70:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
snprintf(buffer, ELOG_MAX_BUFFER_SIZE, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:89:3: note: in expansion of macro ‘SPRINTF_ELOG_MSG’
SPRINTF_ELOG_MSG(__tmp, fmt, ##args); \
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:122:1: note: in expansion of macro ‘ELOG_DEBUG2’
ELOG_DEBUG2(logger, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp:141:19: note: in expansion of macro ‘ELOG_DEBUG’
ELOG_DEBUG("Received REMB %lu, partnum %u, cappedBitrate %lu",
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:70:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
snprintf(buffer, ELOG_MAX_BUFFER_SIZE, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:89:3: note: in expansion of macro ‘SPRINTF_ELOG_MSG’
SPRINTF_ELOG_MSG(__tmp, fmt, ##args); \
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:122:1: note: in expansion of macro ‘ELOG_DEBUG2’
ELOG_DEBUG2(logger, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp:141:19: note: in expansion of macro ‘ELOG_DEBUG’
ELOG_DEBUG("Received REMB %lu, partnum %u, cappedBitrate %lu",
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:70:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
snprintf(buffer, ELOG_MAX_BUFFER_SIZE, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:89:3: note: in expansion of macro ‘SPRINTF_ELOG_MSG’
SPRINTF_ELOG_MSG(__tmp, fmt, ##args); \
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:122:1: note: in expansion of macro ‘ELOG_DEBUG2’
ELOG_DEBUG2(logger, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp:141:19: note: in expansion of macro ‘ELOG_DEBUG’
ELOG_DEBUG("Received REMB %lu, partnum %u, cappedBitrate %lu",
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:70:51: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘uint64_t {aka long long unsigned int}’ [-Werror=format=]
snprintf(buffer, ELOG_MAX_BUFFER_SIZE, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:89:3: note: in expansion of macro ‘SPRINTF_ELOG_MSG’
SPRINTF_ELOG_MSG(__tmp, fmt, ##args); \
^
/home/tromesh/Work/licode/erizo/src/erizo/./logger.h:122:1: note: in expansion of macro ‘ELOG_DEBUG2’
ELOG_DEBUG2(logger, fmt, ##args);
^
/home/tromesh/Work/licode/erizo/src/erizo/rtp/RtcpForwarder.cpp:141:19: note: in expansion of macro ‘ELOG_DEBUG’
ELOG_DEBUG("Received REMB %lu, partnum %u, cappedBitrate %lu",
^
cc1plus: all warnings being treated as errors
make[2]: *** [erizo/CMakeFiles/erizo.dir/rtp/RtcpForwarder.cpp.o] Error 1
make[1]: *** [erizo/CMakeFiles/erizo.dir/all] Error 2
make: *** [all] Error 2