You are not logged in.

#1 2007-07-23 00:08:32

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Wengophone, FFMPEG, CMake, and Headache

I decided that I wanted to torture myself again by trying to get a stable version of Wengophone built on my system. I'm using the PKGBUILD for 2.1.1 from AUR. Here's the problem: Wengophone finds all of the correct libraries, compiles fine, but it can't link against FFMPEG's libavcodec. Number 3 from this thread is correct; avcodec.h does not have the 'extern C' code.

http://www.mail-archive.com/wengophone- … 04919.html

Patching FFMPEG is not a good option for me. And if Wengophone actually compiled against the internal one they shipped (it doesn't), I would rather use the one I have. So here's my question:

How do I get CMake to link up this file? I've tried the few things that I can find to no avail. Any ideas will be appreciated.

Offline

#2 2007-07-24 10:27:19

geek.arnuld
Member
From: INDIA
Registered: 2007-05-03
Posts: 135
Website

Re: Wengophone, FFMPEG, CMake, and Headache

i tried Wengophone many times but it never work on my system, it runs on my system but it does not do anything like voice-chatting . i installed Ekiga and it runs great without any problems. as a bonus, i can choose different codecs when my bandwidth goes down, a situation  where all other clients,e.g. Skype, fail without any trace

Offline

#3 2007-07-24 16:42:52

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Wengophone, FFMPEG, CMake, and Headache

I finally broke down and edited avcodec.h to see if I could get a useful build, and not surprisingly, I couldn't. Wengophone is know to have problems with newer versions of GCC, as well as some versions of QT4.

Skype was working alright here for VOIP until I upgraded. I haven't spent any time trying to figure out what's wrong yet. Ekiga seems to work good, but none of my friends use compatible phones.

I think the moral of the story is that I need new friends if I'm going to get to use a video phone in the near future!

----EDIT---

I still would like to know how to get CMake to import that library. FFMPEG is C; Wengophone is C++. Why CMake can find the file in the first place but not link to it is something I don't understand. It would make sense to me if it where, say, C and Python, but not here.

Last edited by skottish (2007-07-24 23:19:45)

Offline

Board footer

Powered by FluxBB