Hi, I have a problem compiling the "pjproject.sln", and I have the following error appearing:

"fatal error LNK1104: cannot open file 'dsound.lib'"
Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Debug\BuildLog.htm".

Could anyone help me solve that problem? It seems like it does not want to open the "dsound.lib" file everywhere.
That is the whole error message I got.

"1>------ Build started: Project: pjmedia_test, Configuration: Debug Win32 ------

2>------ Build started: Project: sample_debug, Configuration: Debug Win32 ------
2>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
1>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
1>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjmedia\build\output\pjmedia_test-i386-Win32-vc8-Debug\BuildLog.htm"
1>pjmedia_test - 1 error(s), 0 warning(s)
2>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjsip-apps\build\output\sample_debug-i386-Win32-vc8-Debug\BuildLog.htm"
2>sample_debug - 1 error(s), 0 warning(s)
3>------ Build started: Project: samples, Configuration: Debug Win32 ------
3>Performing Makefile project actions
3>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
3>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0x2'
3>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
3>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjsip-apps\build\output\samples-i386-Win32-vs8-Debug\BuildLog.htm"
3>samples - 3 error(s), 0 warning(s)
4>------ Build started: Project: pjsua, Configuration: Debug Win32 ------
4>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
4>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjsip-apps\build\output\pjsua-i386-Win32-vc8-Debug\BuildLog.htm"
4>pjsua - 1 error(s), 0 warning(s)
5>------ Build started: Project: pjsip_test, Configuration: Debug Win32 ------
6>------ Skipped Build: Project: PocketPJ, Configuration: Debug Win32 ------
6>Project not selected to build for this solution configuration
7>------ Skipped Build: Project: pjsua_wince, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: python_pjsua, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
5>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
9>------ Build started: Project: pjsystest, Configuration: Debug Win32 ------
5>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjsip\build\output\pjsip_test-i386-Win32-vc8-Debug\BuildLog.htm"
5>pjsip_test - 1 error(s), 0 warning(s)
9>LINK : fatal error LNK1104: cannot open file 'dsound.lib'
9>Build log was saved at "file://c:\Users\SLF101\Desktop\PJ Project\pjproject-2.0.1\pjsip-apps\build\output\pjsystest-i386-Win32-vc8-Debug\BuildLog.htm"
9>pjsystest - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 6 failed, 24 up-to-date, 3 skipped =========="

Could anyone help me as it is really important to compile that code for my dissertation? Thanks

Well, where is dsound.lib??? If it's not in one of the standard compiler's lib folder you will have to tell the compiler where to find it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.