Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building over debian fail #3

Open
Rakiah opened this issue Oct 9, 2018 · 2 comments
Open

building over debian fail #3

Rakiah opened this issue Oct 9, 2018 · 2 comments

Comments

@Rakiah
Copy link

Rakiah commented Oct 9, 2018

Hello,

I followed your step from linux64 but end up having:

c++ -c -I/usr/include/UsageEnvironment -I/usr/include/groupsock -I/usr/include/liveMedia -I/usr/include/BasicUsageEnvironment -m64  -fPIC -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -Wall -Wno-deprecated -DBSD=1 live555ProxyServerEx.cpp
live555ProxyServerEx.cpp: In function 'RTSPServer* createRTSPServer(Port)':
live555ProxyServerEx.cpp:78:54: error: no matching function for call to 'RTSPServerWithREGISTERProxying::createNew(UsageEnvironment&, Port&, UserAuthenticationDatabase*&, UserAuthenticationDatabase*&, int, Boolean&, int&, const char*, const char*)'
       password.length() > 0 ? password.c_str() : NULL);
                                                      ^
In file included from /usr/include/liveMedia/RTSPClient.hh:35:0,
                 from /usr/include/liveMedia/RTSPRegisterSender.hh:26,
                 from /usr/include/liveMedia/liveMedia.hh:100,
                 from live555ProxyServerEx.cpp:28:
/usr/include/liveMedia/RTSPServer.hh:308:42: note: candidate: static RTSPServerWithREGISTERProxying* RTSPServerWithREGISTERProxying::createNew(UsageEnvironment&, Port, UserAuthenticationDatabase*, UserAuthenticationDatabase*, unsigned int, Boolean, int)
   static RTSPServerWithREGISTERProxying* createNew(UsageEnvironment& env, Port ourPort = 554,
                                          ^~~~~~~~~
/usr/include/liveMedia/RTSPServer.hh:308:42: note:   candidate expects 7 arguments, 9 provided
Makefile:30: recipe for target 'live555ProxyServerEx.o' failed
make: *** [live555ProxyServerEx.o] Error 1

Do you have any idea on what could cause this ?

here is the version of live555 that i have:

root@2f8f163d9e44:/live555ProxyServerEx# apt-get install livemedia-utils liblivemedia-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
liblivemedia-dev is already the newest version (2016.11.28-1).
livemedia-utils is already the newest version (2016.11.28-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

and here my debian version:

root@2f8f163d9e44:/live555ProxyServerEx# cat /etc/debian_version
9.5
@andreymal
Copy link
Owner

2016.11.28 is too old, use latest version from the official website (2018.10.10)

@Rakiah
Copy link
Author

Rakiah commented Oct 16, 2018

I actually use this makefile/Cmake
https://github.com/mpromonet/live555helper/tree/de09337bcf8a23ca15f57ce21f88ddeb5ab3378b
To make it compile with your code, worked flawlessly, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants