LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2013, 11:47 AM   #1
ninianne
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Rep: Reputation: Disabled
got a problem install opencv when i run make command after cmake compiling


Hi, when i tried to install opencv 2.4.4 in fedora 18
i got this error
------------------------------------------------------------------
Linking CXX executable ../../bin/opencv_perf_core /lib/libEGL.so.1: undefined reference to `wl_display_dispatch_queue_pending' collect2: error: ld returned 1 exit status make[2]: * [bin/opencv_perf_core] Error 1 make[1]: * [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: * [all] Error 2
--------------------------------------------------------------------
before i used
[cmake -D CMAKE_BUILD_TYPRE=RELEASE -D CMAKE_INSTALL_PREFIRX=/usr ..] command

i had done yum install gcc-c++ ffmpeg ffmpeg-devel gtk2-devel git pkgconfig

and all of this package installed in my fedora 18,

after that i got opencv source 2.4.4 from this homepage

and when i run command [make]

i got above error message when it 33% done

now i have no idea how to solve this problem.

please someone let me know what should i do ?

are there any other packages i should install more?

if then what package should i install? please let me know
[i tried to install libavcodec-dev, libavformat-dev, libswscale-dev but yum install dose not work with it no package found error occur]
 
Old 04-10-2013, 05:54 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
i tried to install libavcodec-dev, libavformat-dev, libswscale-dev but yum install dose not work with it no package found error occur]
those are Debian packages !
Fedora used -devel and not -dev

you will not find them in the fedora repos

Code:
su -
yum install opencv
opencv is in the fedora base repo
 
Old 04-10-2013, 06:37 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
libavcodec-dev, libavformat-dev, libswscale-dev :

Please add the "rpmfusion.repo" http://rpmfusion.org/Configuration/

Then you can do # yum install ffmpeg-devel
which provides {libavcodec libavformat libswscale}<devel files>.
 
Old 04-10-2013, 10:56 PM   #4
ninianne
LQ Newbie
 
Registered: Mar 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
ok, thanks guys.

i solved those problems.

so if somebody i same problems i had got

i hope it helpful to someone

when someone got
---------------------------------------------------------------------------------------------------------------------------------------------------
Linking CXX executable ../../bin/opencv_perf_core /lib/libEGL.so.1: undefined reference to `wl_display_dispatch_queue_pending' collect2: error: ld returned 1 exit status make[2]: * [bin/opencv_perf_core] Error 1 make[1]: * [modules/core/CMakeFiles/opencv_perf_core.dir/all] Error 2
make: * [all] Error 2
----------------------------------------------------------------------------------------------------------------------------------------------------
run this command

~> yum update libwayland*

thanks again guys
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Compiling OpenCV 2.4.4 Slackware 14.0 ezanten Linux - Software 1 03-30-2013 11:53 PM
CMake Strange "Install" behaviour with home-grown software [Linux x86_64, CMake 2.8] ajschaeffer Programming 0 10-24-2011 03:21 AM
Problem with command 'make' while trying to install git-1.7.4 rohit.dhaval1 Linux - Software 3 04-08-2011 08:14 PM
cmake or make: debug output, show command Ephracis Programming 4 03-01-2008 03:28 AM
Compiling opencv-0.9.7 in suse 10.0 64bit tomazN Linux - Software 1 04-07-2006 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration