ChallyCai / doubango

Automatically exported from code.google.com/p/doubango
0 stars 1 forks source link

tinyDEMO.sln vs2008 does not build clean -- missing dependencies and files #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Checked out r491 version of doubango
2. Opened tinyDEMO.sln in Visual Studio 2008
3. Missing Project dependencies and libraries caused the build to fail

What is the expected output? What do you see instead?
Compile of the solution files should have succeded in the first attempt
Certain projects that depended on tinySAK, as an example, were compiled ahead 
of tinySAK and thus failed. Attached is a revised tinyDEMO.sln
file where I have tried to resolve the inter-project dependency issues so that 
the solution compiles on the first attempt.

Also, dsound.lib and dxguid.lib that were expected by tinyDAV were missing. 
These files need to be copied into 
thirdparties\win32\lib\directshow\

After this, the project compiles clean.

What version of the product are you using? On what operating system?

Visual Studio 2008 Standard Edition on Windows Vista 32-bit

Please provide any additional information below.

Original issue reported on code.google.com by saket...@gmail.com on 9 Oct 2010 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
Oops forgot attach the revised tinyDAV.vcproj that adds the AdditionalLibraries 
directory to resolve the dsound.lib and dxgid.lib not found issue

Original comment by saket...@gmail.com on 9 Oct 2010 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
Both "dsound.lib" and "dxguid.lib" are system libraries from DirectX SDK and 
this is why we cannot add them in project (Same for DirectShow). It's up to the 
user to download the right (compatible) version of the DirectX SDK.
You don't need to change tinyDAV.vcproj in order to link against DirectSound 
libraries.
1. Open Visual Studio
2. Tools->Options then expand "Projects and Solutions"
3. Select "VC++ Directories" under "Projects and Solutions"
4. Choose your platform (e.g. "Win32") then select "Library files"
5. Add DirectX SDK library directory to the list of the folders

For now only Andoid, MAC OS X and iOS are officially supported. I will add a 
wiki page explaining how to build the source code for WinPhone7 and Windows 
(XP/Vista/7) in the coming days.

Original comment by boss...@yahoo.fr on 11 Oct 2010 at 4:38

GoogleCodeExporter commented 9 years ago
For the DirectX libraries, on Vista/7, don't forget to select the right folder 
(x64 or x86).

Original comment by boss...@yahoo.fr on 11 Oct 2010 at 4:41

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 9 Nov 2010 at 6:46