Author Topic: Build Yate solution on Windows  (Read 1510 times)

babutta

  • Newbie
  • *
  • Posts: 2
    • View Profile
Build Yate solution on Windows
« on: January 15, 2015, 09:25:22 AM »
Hi All!
I try to build Yate 5.4 release.
I use:
- Qt 4.7.4
- Windows 7
- VS 2010
- build configuration x32

I opened the solution from .\windows\YATE.sln
Then I started the build of the solution, most of the projects were not built.
I began alternately to build the projects in the solution.
Project _accfile was built successfully (and two dependent project too).
Building of _amrnbcodec project was fail. Into comment at file modules\amrnbcodec.cpp was written at line number 11:
"* AMR codec library by Stanislav Brabec at http://www.penguin.cz/~utx/amr".
I passed this link but I did not find necessary header files.
       
Using Google I was able to download opencore-amr-0.1.3 from page http://sourceforge.net/projects/opencore-amr/files/opencore-amr/
    
The compiler was satisfied =)
But linker require libamrnbd.lib but I don't know where it can be found =(

Please tell me is there somewhere a description of any third-party libraries are needed, where I can download them, what versions of these libraries need to be downloaded, and so on?
« Last Edit: January 16, 2015, 03:58:50 AM by babutta »

marian

  • Sr. Member
  • ****
  • Posts: 381
    • View Profile
Re: Build Yate solution on Windows
« Reply #1 on: January 16, 2015, 02:32:16 AM »
Hi,

The AMR codec is covered by patents.
The yate module only implements library usage (a data translator).

For external dependencies you need:
- Devel files (include headers): the compiler need them
- Symbol libraries (the 'lib' files): the linker need them
- Runtime modules (the 'dll' files): needed at runtime

Some info here:
http://docs.yate.ro/wiki/Compiling_and_Installing_Yate_on_Windows#Compiling_Yate_on_Windows

Here are some other third party libraries (not listed there) you'll need:
- zlib: for zlibcompress module
- openssl: for openssl module
- speex: for speexcodec module

You may ignore some modules if you don't need them.
E.g. if you can't build the zlibcompress module you won't have support for compression (it is used by jabber modules to compress stream data if compression is available).

babutta

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Build Yate solution on Windows
« Reply #2 on: January 16, 2015, 04:06:08 AM »
Thank you, marian, but this information did not help me =(
* I read the specified page.

I understand that I need *.h, *.lib *.dll, but where can I get them to build the project _amrnbcodec in Yate.sln, for example?
« Last Edit: January 16, 2015, 05:10:25 AM by babutta »