-
Notifications
You must be signed in to change notification settings - Fork 178
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 runs,but reports it can't find the agent. #10
Comments
I have this same issue. The problem is because the onvifagent or libonvifagentcli.a were not compiled. That is problem in compilation: |
I figured out the problem. We cannot use make -jX because will compile out of order and will fail. We have to compile with make without -j argument. |
Hi, g++: internal compiler error: Killed (program cc1plus) I tried again on the latest version of an RPI 3 with a Giga-byte of ram in case this was due to a lack of memory on my RPI 2 (512M), but the same error occurs. This seems like an error unlikely to be fixed soon by the maintainers of g++ for Raspbian. I also tried to compile it using MS visual studio 2017. The libraries used in MS visual studio 2013 are not included with 2017 and many link errors are occuring. MS visual C is such a pain as each new version breaks the last major release. I have Visual C code from visual studio 6 I can't compile without visual studio 6. If any one has a solution I would appreciate any help. Maybe cross compiling? Tom |
i have cross compiled successfully using rules-arm.mk: |
Hi everybody, I had to build my own cross compiler tool chain for g++ version 4.9.2 to get this to properly process symbolic links under a Windows 7 cygwin environment. The cross compiler crashed at this point processing the protobuf package:libtool: compile: arm-linux-gnueabihf-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -g -DNDEBUG -MT google/protobuf/compiler/cpp/cpp_message.lo -MD -MP -MF google/protobuf/compiler/cpp/.deps/cpp_message.Tpo -c google/protobuf/compiler/cpp/cpp_message.cc -fPIC -DPIC -o google/protobuf/compiler/cpp/.libs/cpp_message.o
|
Upon running the example program "../output/raspberry-pi2-32bit/bin/onvifagentcli" on a raspberry PI I2
I get the repeated error message:
sh: 1: onvifagent: not found
include/onvifagentlib.hpp 109 onvif Agent process exit !!!
I had some problems getting it to make, but after installing automake tools(not mentioned in the readme) it seemed to finish make after compiling the example program. There were a ton of warnings, mostly about shadowed classes. I also found that "onvifagent.o" was never made. I found no make recipe for it for Linux although there were instructions on how to build it for windows.
An example of how compile ones own program would be nice. A complete g++ command line or a make file which compiles just the files in the current directory. There seems to be a lot of search paths required.
All I need to do is goto a camera's PTZ preset. Can you give an example?
Thanks,
Tom
The text was updated successfully, but these errors were encountered: