Page 1 of 1

suse10.3 upgrade to 11.1 - build fails

Posted: Mon Mar 23, 2009 5:25 am
by sticcino
Hi,

just upgraded to openSUSE 11.1 was running 10.3 with ZM running fine on it. I did an 10.3-> 11.1 upgrade, so all the libs and environments shouldn't of changed.

tried to rebuild ZM 1.24 but run into the following errors when compiling:

Code: Select all

make[2]: Entering directory `/home/ZoneMinder-1.24.1/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include/mysql/include -Ino/include -Wall -Wno-sign-compare -fno-inline -Ino/include  -frepo -g -O2 -MT zm_remote_camera_rtsp.o -MD -MP -MF .deps/zm_remote_camera_rtsp.Tpo -c -o zm_remote_camera_rtsp.o zm_remote_camera_rtsp.cpp
zm_remote_camera_rtsp.cpp: In member function âvirtual int RemoteCameraRtsp::Capture(Image&)â:
zm_remote_camera_rtsp.cpp:229: error: âSWS_BICUBICâ was not declared in this scope
zm_remote_camera_rtsp.cpp:229: error: âsws_getContextâ was not declared in this scope
zm_remote_camera_rtsp.cpp:234: error: âsws_scaleâ was not declared in this scope
make[2]: *** [zm_remote_camera_rtsp.o] Error 1
make[2]: Leaving directory `/home/ZoneMinder-1.24.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ZoneMinder-1.24.1'
make: *** [all] Error 2
any help appreciated,
Johnny

Posted: Mon Mar 23, 2009 7:19 am
by cordel
It's an error with ffmpeg and not picking up swscaler, though if you previously built it I'm not sure as to why, You'll likely have to rebuild ffmpeg as well would be my guess.