MSVC compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I try to compile pjsip with x264 video support with msvc compiler. My 
steps is:

1. Download/install msys and mingw 4.7.4.
2. Download and compile yasm. From msys:
     ./configure --prefix=../build && make && make install
     (all ok)
3. Download and compile x264. From msys:
     Add yasm to PATH.
     ./configure --prefix=../build --enable-static --enable-win32thread 
&& make && make install
     (all ok)
4. Download and compile ffmpeg. From msys:
     ./configure --prefix=../build --enable-shared --enable-gpl 
--enable-memalign-hack --enable-libx264 
--extra-cflag="-I../build/include" --extra-ldflags="-L../build/lib" 
--cpu=i686 && make && make install
     (all ok)
5. Make ffmpeg *lib files. From msvc command prompt:
     foreach def: lib /machine:i386 /def:name.def /out:name.lib
     (all ok)
6.  Download and compile sdl. Run solution->build.
     (all ok)
7. Download and compile pjsip. Add to pjproject additional includes to 
sdl/ffmpeg, add additional libraries sdl/ffmpeg and path to libraries. 
Set up release build->compile.
     (all ok)
8. Add to qt(5.1.1) pro file:
     sockets_ole_etc.lib
     $$LIB_PATH/all_ffmpeg.lib
     $$LIB_PATH/sdl.lib
     $$LIB_PATH/libpjproject.lib

its compile just with warning(LINK: 4098 MSVRT /nodefault:library) and 
when i try run. its crash with error code -1073741515

Guys i need your help. What am I doing wrong?

-- 
Best Regards,
R. Savchenko.




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux