[opus] opus_multistream_encode_float not working in libopus 1.1

Alpha Thinktink
Wed, 04 Jun 2014 20:25:17 -0000

>
> This is as expected. The build system is trying to get a git revision
> string out of the source tree to compile in for reference. If you're
> building from a downloaded source .zip, there won't be any git
> information available and it will fall back to the hard-coded release
> string. That's why the error isn't fatal to the build.

Ok, this seems contradictory to the output that the build log is
telling me.  The log is showing a fatal error and the build doesn't
succeed.  There's no compiled lib, dll, or anything.  If I try to
build the entire solution, I get this:

1>------ Build started: Project: silk_common, Configuration: Release
Win32 ------
2>------ Build started: Project: silk_float, Configuration: Release Win32
------
2>  fatal: Not a git repository: 'C:\My Documents\Opus\win32\..\.git'
1>  fatal: Not a git repository: 'C:\My Documents\Opus\win32\..\.git'
1>  The syntax of the command is incorrect.
2>  The syntax of the command is incorrect.
2>  The system cannot find the path specified.
1>  The system cannot find the path specified.
1>C:\Program Files\MSBuild\Microsoft.Cpp\
v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: The command ""C:\My
Documents\Opus\win32\VS2010\..\..\win32\genversion.bat" "C:\My
Documents\Opus\win32\VS2010\..\..\win32\version.h" PACKAGE_VERSION
1>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: :VCEnd" exited with code 1.
2>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: The command ""C:\My
Documents\Opus\win32\VS2010\..\..\win32\genversion.bat" "C:\My
Documents\Opus\win32\VS2010\..\..\win32\version.h" PACKAGE_VERSION
2>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: :VCEnd" exited with code 1.
3>------ Build started: Project: celt, Configuration: Release Win32 ------
4>------ Build started: Project: opus, Configuration: Release Win32 ------
4>  fatal: Not a git repository: 'C:\My Documents\Opus\win32\..\.git'
3>  fatal: Not a git repository: 'C:\My Documents\Opus\win32\..\.git'
4>  The syntax of the command is incorrect.
4>  The system cannot find the path specified.
3>  The syntax of the command is incorrect.
3>  The system cannot find the path specified.
4>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: The command ""C:\My
Documents\Opus\win32\VS2010\..\..\win32\genversion.bat" "C:\My
Documents\Opus\win32\VS2010\..\..\win32\version.h" PACKAGE_VERSION
4>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: :VCEnd" exited with code 1.
3>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: The command ""C:\My
Documents\Opus\win32\VS2010\..\..\win32\genversion.bat" "C:\My
Documents\Opus\win32\VS2010\..\..\win32\version.h" PACKAGE_VERSION
3>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(103,5):
error MSB3073: :VCEnd" exited with code 1.
5>------ Build started: Project: silk_fixed, Configuration: Release Win32
------
6>------ Build started: Project: test_opus_api, Configuration: Release
Win32 ------
6>  test_opus_api.c
6>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  apply_sine_window_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  autocorr_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  burg_modified_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  corrMatrix_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  encode_frame_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  find_LPC_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  find_LTP_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  find_pitch_lags_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  find_pred_coefs_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  k2a_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  k2a_Q16_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  LTP_analysis_filter_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  LTP_scale_ctrl_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  noise_shape_analysis_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  pitch_analysis_core_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  prefilter_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  process_gains_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  regularize_correlations_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  residual_energy16_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  residual_energy_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  Compiling...
5>  schur64_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  schur_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  solve_LS_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  vector_ops_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
5>  warped_autocorrelation_FIX.c
5>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
7>------ Build started: Project: opus_demo, Configuration: Release Win32
------
8>------ Build started: Project: test_opus_decode, Configuration:
Release Win32 ------
9>------ Build started: Project: test_opus_encode, Configuration:
Release Win32 ------
8>  test_opus_decode.c
8>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
9>  test_opus_encode.c
9>C:\My Documents\Opus\win32\config.h(43): fatal error C1083: Cannot
open include file: 'version.h': No such file or directory
========== Build: 1 succeeded, 8 failed, 0 up-to-date, 0 skipped =========
It says "1 succeeded" but it also shows "8 failed" and there
aren't
any compiled DLLs or libs.

Are you saying that downloading the git repository is mandatory before
I can compile the downloaded source?  If it is, how do I do that with
git?  Sorry, I've never used git before.