Installation or Code

Forum for questions and support relating to the 1.24.x releases only.
Locked
twellb
Posts: 1
Joined: Mon Dec 26, 2011 4:22 am

Installation or Code

Post by twellb »

Sorry my experiences with cpp files are too old - more than ten years.

Installation
./configure went well.
Make broke twice with following output
==========================
twellb@LuWiBed:~/temp/ZoneMinder-1.25.0> make
make all-recursive
make[1]: Entering directory `/home/twellb/temp/ZoneMinder-1.25.0'
Making all in src
make[2]: Entering directory `/home/twellb/temp/ZoneMinder-1.25.0/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -g -O2 -MT zm_local_camera.o -MD -MP -MF .deps/zm_local_camera.Tpo -c -o zm_local_camera.o zm_local_camera.cpp
zm_local_camera.cpp: In static member function ‘static bool LocalCamera::GetCurrentSettings(const char*, char*, int, bool)’:
zm_local_camera.cpp:774:22: error: ‘PATH_MAX’ was not declared in this scope
zm_local_camera.cpp:779:21: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:781:22: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:782:29: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:799:67: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:801:54: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:811:92: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:936:91: error: ‘queryDevice’ was not declared in this scope
zm_local_camera.cpp:961:82: error: ‘queryDevice’ was not declared in this scope
make[2]: *** [zm_local_camera.o] Fehler 1
make[2]: Leaving directory `/home/twellb/temp/ZoneMinder-1.25.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/twellb/temp/ZoneMinder-1.25.0'
make: *** [all] Fehler 2
twellb@LuWiBed:~/temp/ZoneMinder-1.25.0>
===========================

scope problems with static methods? It's not me - or?
is the method redeclared to static ?

thank You in advance thomas



must obviously be moved to 1.25 version posts thomas
Locked