suse10.3 upgrade to 11.1 - build fails

Forum for questions and support relating to the 1.24.x releases only.
Locked
sticcino
Posts: 10
Joined: Sat Oct 27, 2007 1:36 am
Location: Toronto, CA

suse10.3 upgrade to 11.1 - build fails

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
Locked