Quantcast

problem while doing make for player 3.0.2 in ubuntu 11.10

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem while doing make for player 3.0.2 in ubuntu 11.10

Shatdarsanam Sreecharan
Hi Janny
i have an error doing make in build directory during player installation (using ubuntu 11.10 and player 3.0.2)

Exact error:
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCloneImage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvGetCaptureProperty'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvReleaseMemStorage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvReleaseImage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvLUT'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCopy'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvBoundingRect'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvSobel'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvMoments'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvDrawContours'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvMerge'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvContourArea'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCreateMatHeader'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvLoadImage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvSetCaptureProperty'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCreateCameraCapture'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvRectangle'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCanny'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvGetReal1D'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvThreshold'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvPtr2D'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvFindContours'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvSplit'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvGetSubRect'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvGetSeqElem'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvQueryFrame'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvArcLength'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvConvertScaleAbs'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCreateMemStorage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvReleaseCapture'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvSetZero'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvFitEllipse2'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCvtColor'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvApproxPoly'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCreateHist'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCalcArrHist'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvGetSize'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvSetData'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvCreateImage'
libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to `cvLaplace'
collect2: ld returned 1 exit status
make[2]: *** [server/player] Error 1
make[1]: *** [server/CMakeFiles/player.dir/all] Error 2
make: *** [all] Error 2

please help.

--
Sreecharan Shatdarsanam


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

Rich Mattes-2
On 4/30/2012 3:08 AM, Shatdarsanam Sreecharan wrote:
> Hi Janny
> i have an error doing make in build directory during player
> installation (using ubuntu 11.10 and player 3.0.2)
>
> Exact error:
> libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to
> `cvCloneImage'
...
> libplayerdrivers/libplayerdrivers.so.3.0.2: undefined reference to
> `cvLaplace'
> collect2: ld returned 1 exit status
> make[2]: *** [server/player] Error 1
> make[1]: *** [server/CMakeFiles/player.dir/all] Error 2
> make: *** [all] Error 2
>
> please help.
>

Do you have libcv-dev installed?  If so, can you run "make VERBOSE=1"
and include the g++ or ld command that results in this error?

Rich

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

Faisul
>
> Do you have libcv-dev installed?  If so, can you run "make VERBOSE=1"
> and include the g++ or ld command that results in this error?
>
> Rich


Hi Rich,

I'm also facing this problem now.

I already have libcv-dev installed.

What do you mean include g++ or ld command.. ?


Faisul


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

s_mani

Hello,
 I am also having the same problem. Kindly elaborate how to include g++ or ld command?

Thanks in advance.

Regards,
Syed Usman Ahmed
NUST, Pakistan
 


Faisul wrote
>
> Do you have libcv-dev installed?  If so, can you run "make VERBOSE=1"
> and include the g++ or ld command that results in this error?
>
> Rich


Hi Rich,

I'm also facing this problem now.

I already have libcv-dev installed.

What do you mean include g++ or ld command.. ?


Faisul


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

Rich Mattes-2
On 07/06/2012 10:48 AM, s_mani wrote:

>
> Hello,
>   I am also having the same problem. Kindly elaborate how to include g++ or
> ld command?
>
> Thanks in advance.
>
> Regards,
> Syed Usman Ahmed
> NUST, Pakistan
>  
>

Run "make VERBOSE=1", and then copy and paste the lines in the terminal
around the error.  CMake calls gcc and ld when you run "make", but hides
all of that from you unless you tell it not to (by setting the VERBOSE
variable.)

Rich



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Playerstage-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

754506980
In reply to this post by s_mani
i also have an error doing make in build directory during player installation (ubuntu 12.10, player 3.1)

error:

[ 83%] Built target playerdrivers
Linking CXX executable player
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCloneImage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvGetCaptureProperty'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvReleaseMemStorage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvReleaseImage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvLUT'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCopy'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvBoundingRect'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvSobel'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvMoments'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvDrawContours'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvMerge'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvContourArea'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCreateMatHeader'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvLoadImage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvSetCaptureProperty'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCreateCameraCapture'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvRectangle'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCanny'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvGetReal1D'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvThreshold'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvPtr2D'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvFindContours'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvSplit'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvGetSubRect'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvGetSeqElem'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvQueryFrame'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvArcLength'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvConvertScaleAbs'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCreateMemStorage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvReleaseCapture'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvSetZero'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvFitEllipse2'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCvtColor'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvApproxPoly'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCreateHist'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCalcArrHist'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvGetSize'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvSetData'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvCreateImage'
libplayerdrivers/libplayerdrivers.so.3.1.0-svn: undefined reference to `cvLaplace'
collect2: error: ld returned 1 exit status
make[2]: *** [server/player] Error 1
make[1]: *** [server/CMakeFiles/player.dir/all] Error 2
make: *** [all] Error 2

please help me!!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

thomaswood
In reply to this post by Rich Mattes-2
cd /media/hitachi/storage/home/god/downloads/player-3.0.2/build/server && /usr/bin/cmake -E cmake_link_script CMakeFiles/player.dir/link.txt --verbose=1
/usr/bin/c++    -Wall    CMakeFiles/player.dir/server.o  -o player -rdynamic libplayerdrivers/libplayerdrivers.so.3.0.2 ../libplayercore/libplayercore.so.3.0.2 ../libplayercommon/libplayercommon.so.3.0.2 ../libplayertcp/libplayertcp.so.3.0.2 ../libplayertcp/libplayerudp.so.3.0.2 ../libplayerinterface/libplayerinterface.so.3.0.2 ../libplayerwkb/libplayerwkb.so.3.0.2 -lpthread -lltdl -ldl -lasound      -ljpeg   /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so   /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so   /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so   -lraw1394 -ldc1394  -ljpeg  -ljpeg  -ljpeg   /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so    /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so  -ljpeg  -ljpeg    /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_ocl.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so                                                                                        -lz ../libplayerjpeg/libplayerjpeg.so.3.0.2 -ljpeg -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 -lgdk_pixbuf-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig ../libplayercore/libplayercore.so.3.0.2 -lpthread -lltdl -ldl -lrt ../libplayerinterface/libplayerinterface.so.3.0.2 ../libplayercommon/libplayercommon.so.3.0.2 -lz -Wl,-rpath,/media/hitachi/storage/home/god/downloads/player-3.0.2/build/server/libplayerdrivers:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayercore:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayercommon:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayertcp:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayerinterface:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayerwkb:/media/hitachi/storage/home/god/downloads/player-3.0.2/build/libplayerjpeg:

I built OpenCV-2.4.3 myself and installed it to /usr/local/lib. All of the libraries are where /usr/bin/c++ is looking for them, but still player isn't linking to libopencv_*.so. : (
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem while doing make for player 3.0.2 in ubuntu 11.10

thomaswood
I'm still running against a brick wall trying to figure out why libplayerdrivers.so.3.0.2 isn't able to link to the OpenCV libraries.

Any help would be greatly appreciated. : )
Loading...