Hi, I am a user of IPP
I want to test some new algorithms in H.264, and I use the ipp-samples\audio-video-codecs as my platform. I have built and run the IPP lib success. And encode *.yuv files to *.264 files through umc_video_enc_con.exe success.
But if I modified the some codes in files in h264_enc\src, I had to run build32.bat to build all the files in ipp-samples\audio-video-codecs. It waste many time somewhat.
So, I begin to build a project in vs2005.net, and want to debug the files through vs2005.net. But there are many link errors, such as
public: __thiscall UMC::BaseCodec::BaseCodec(void)" (??0BaseCodec@UMC@@QAE@XZ) and many other link errors including error LNK2001 error LNK2019 error LNK2010
Therefore, could you give me some suggestions howto build and debugfiles inipp-samples\audio-video-codecs in vs2005.net ?
Thanks a lot.
I have built the simple player in VS 2008. I mean I don't use the make file and batch files provided by IPP. I created the solution from scratch. It includes the audio video codecs. If you want I can post it here?
I am attaching the simple player solution and 5 project files of Visual Studio 2008. I am not sure if they are compatible with VS 2005. I am purposely not attaching the source code files since you must have it already. My project was build with IPP 5.3.083.
When you open the solution in VS you will see the files that it's missing and you can add them from your computer.
Hi, Buildxx.bat files usually contain two successive "nmake..." lines. The first line does clean-up of sample workspace, i.e. deletes all objects and executables. You may comment the first nmake line out and build.bat will behave like ordinary make, so it will rebuild what is necessary only. Or, you might have already done that?
IPP UMC smaple code include project files in the currect release. For example, for simpleplayer applicaiton, you can find the solution files at:
Can it work for you?
I tried to build simpleplayer,but I got following errors:
2>c:ipp-samplesaudio-video-codecsioaudio_rendersincludedsound_buf.h(16) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory
1>c:ipp-samplesaudio-video-codecsioaudio_rendersincludedirectsound_render.h(18) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory
1>Build log was saved at "file://c:ipp-samplesaudio-video-codecs_binWin32debug_asciiumc_pipelineBuildLog.htm"
1>umc_pipeline - 1 error(s), 0 warning(s)
2>c:ipp-samplesaudio-video-codecsioaudio_rendersincludedirectsound_render.h(18) : fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory
2>Build log was saved at "file://c:ipp-samplesaudio-video-codecs_binWin32debug_asciiaudio_rendersBuildLog.htm"
2>audio_renders - 2 error(s), 0 warning(s)
3>------ Build started: Project: simple_player, Configuration: debug_ascii Win32 ------
3>LINK : fatal error LNK1104: cannot open file '...._binwin32debug_asciiaudio_rendersaudio_renders.lib'
I searched ipp-samples directory,but could not find dsound.h and audio_renders.lib.
There was not any more error and all other files complied correctly.
I do not know what is the problem!
Have youone Microsoft* DirectX* SDK version installed on your machine? Theaudio-video-codec sampe requiretheSDK. Please see the software requirement as below (and the file "dsound.h"isfrom it)
- Intel IPP for Windows* version 6.1
- Intel C++ Compiler for Windows*: version 10.1, 11.0, or 11.1
- Intel Parallel Composer
- Microsoft* Windows* Vista, Microsoft* Windows* XP, Microsoft* Windows* 2003 Server, or Microsoft* Windows* 2008 Server
- Microsoft* DirectX*: 9.0 SDK Update (August 2008)
- Microsoft* Visual C++* 2003, Microsoft* Visual C++* 2005, Microsoft* Visual C++* 2008
- When building for a Intel Xeon processor with Intel EM64T, the Microsoft* EM64T Platform SDK is required