Closed rockchung closed 2 years ago
Hi Rock,
You should run make with VERBOSE=1
and look to the link command. May be some mix between libraries ?
Best Regards, Michel.
Hi Michel,
The following is the make result log. make2_log.txt
It seems like link error. But I don't know how to solve this issue. Do you or any have any suggestions?
best regards, Rock
Hi,
Probably the live555 libraries in /usr/local/lib are compiled with different options. Better to remove this and let cmake to download and compile it.
Best Regards, Michel.
Hi Michel,
Thanks for your kindly support. I will try it in the future.
The following is the reference instructions at internet. I also re-executed at brand-new raspberry pi environment today. And it seems it will happen the same error I encoutered.
Ref: http://c.wensheng.org/2017/05/18/stream-from-raspberrypi/
sudo apt-get install cmake liblog4cpp5-dev libv4l-dev
wget www.live555.com/liveMedia/public/live555-latest.tar.gz
tar xfz live555-latest.tar.gz
cd live/
./genMakefiles linux
make CPPFLAGS=-DALLOW_RTSP_SERVER_PORT_REUSE=1
sudo make install
cd ..
git clone https://github.com/mpromonet/v4l2rtspserver.git
cd v4l2rtspserver/
cmake .
make
sudo make install
Thanks again~ best regards, Rock
Hi Rock,
This is a not a really good idea to build live555 this way. Better to follow ReadMe cmake will download live555 and build it with same compiler options than v4l2rtspserver. It will avoid mixing different options.
Best Regards, Michel.
Hi Michel,
I rebuild all and it works. Thanks!
best regards, Rock
Hi all,
I have completed cmake But when I make the code, it showed the following error message
I have check the code, and no ideas why it happened. Any suggestions for that?
Thanks Rock