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

example/example.cpp does not compile #9

Closed
vinifr opened this issue Nov 6, 2017 · 3 comments
Closed

example/example.cpp does not compile #9

vinifr opened this issue Nov 6, 2017 · 3 comments

Comments

@vinifr
Copy link

vinifr commented Nov 6, 2017

The example code in rapidonvif/onvif/example/example.cpp does not compile. I tried this command but it fails:

arm-linux-gnueabihf-g++ example/example.cpp -o example -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -O2 -DLINUX -Iinclude -DUSE_WEBSOCKET -I/home/pi/projs/evd/onvif_output/output/raspberry-pi3-32bit/include -I./include -I./include/video -I./src/ -I../3rdparty/live555/BasicUsageEnvironment/include -I../3rdparty/live555/groupsock/include -I../3rdparty/live555/liveMedia/include -I../3rdparty/live555/UsageEnvironment/include -I../3rdparty/live555/live555/include/ -I../3rdparty/civetweb/include/ -DNDEBUG -Os out.linux/build/../3rdparty/civetweb/src/CivetServer.o out.linux/build/src/onvifagentlib.o out.linux/build//src/tinyprocess/process_unix.o out.linux/build/src/tinyprocess/process.o out.linux/build/include/video/h264_bit_reader.o out.linux/build/include/video/h264_parser.o out.linux/build/include/video/h5s_h264_sink.o out.linux/build/include/video/h5slib.o out.linux/build/include/onvifclidevice.pb.o out.linux/build/include/onvifclimedia.pb.o out.linux/build/include/onvifcli.pb.o out.linux/build/include/onvifcliptz.pb.o out.linux/build/../3rdparty/civetweb/src/civetweb.o out.linux/build/example/example.o -lpthread -lm -lrt -ldl -L/home/pi/projs/evd/onvif_output/output/raspberry-pi3-32bit/lib -llive555 -lprotobuf -lssl -lcrypto -lpthread -ldl -lstdc++ -lm -Wl,-Bdynamic -lcrypt

@xsmart
Copy link
Member

xsmart commented Nov 14, 2017

the example is discarded, you can try ./output/Ubuntu-16.04-64bit/bin/onvifagentcli

@vinifr
Copy link
Author

vinifr commented Nov 14, 2017

Alright, thanks.

@vinifr vinifr closed this as completed Nov 14, 2017
@vinifr
Copy link
Author

vinifr commented Nov 15, 2017

onvifagentcli did not work either. The problem was reported here: #10
I think there is some issue in a Makefile.

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