Comments (8)
It's difficult to say without seeing your config and the exact error message. Opus as several allocator configurations.
If it's any help, 1.2.1
does build in automation under Visual Studio 2015.
from opus.
Well, these are the steps.
- I downloaded opus 1.2.1 source. Opened
opus.sln
fromopus-1.2.1\win32\VS2015\
. - Select
Release
andWin32
configuration, (other configurations give the same result) - Select the project
opus
from solution explorer panel, right click and build. - I get following output :)
1>------ Build started: Project: opus, Configuration: Release Win32 ------
1> bands.c
1> celt.c
1> celt_decoder.c
1> celt_encoder.c
1>..\..\celt\celt_encoder.c(257): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(241): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(257): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(241): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(257): error C2133: 'tmp': unknown size
1>..\..\celt\celt_encoder.c(599): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(599): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(599): error C2133: 'metric': unknown size
1>..\..\celt\celt_encoder.c(600): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(600): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(600): error C2133: 'tmp': unknown size
1>..\..\celt\celt_encoder.c(601): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(601): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(601): error C2133: 'tmp_1': unknown size
1>..\..\celt\celt_encoder.c(602): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(602): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(602): error C2133: 'path0': unknown size
1>..\..\celt\celt_encoder.c(603): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(603): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(603): error C2133: 'path1': unknown size
1>..\..\celt\celt_encoder.c(975): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(975): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(975): error C2133: 'follower': unknown size
1>..\..\celt\celt_encoder.c(976): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(976): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(976): error C2133: 'noise_floor': unknown size
1>..\..\celt\celt_encoder.c(1128): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1128): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(241): error C2133: 'scratch': unknown size
1>..\..\celt\celt_encoder.c(1128): error C2133: '_pre': unknown size
1>..\..\celt\celt_encoder.c(1142): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1142): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(342): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1142): error C2133: 'pitch_buf': unknown size
1>..\..\celt\celt_decoder.c(342): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(342): error C2133: 'freq': unknown size
1>..\..\celt\celt_decoder.c(520): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1554): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(520): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1554): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(520): error C2133: 'X': unknown size
1>..\..\celt\celt_encoder.c(1554): error C2133: 'in': unknown size
1>..\..\celt\celt_encoder.c(1649): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1649): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(573): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1649): error C2133: 'freq': unknown size
1>..\..\celt\celt_encoder.c(1650): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1650): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1650): error C2133: 'bandE': unknown size
1>..\..\celt\celt_encoder.c(1651): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1651): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1651): error C2133: 'bandLogE': unknown size
1>..\..\celt\celt_encoder.c(1654): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1654): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1654): error C2133: 'bandLogE2': unknown size
1>..\..\celt\celt_decoder.c(573): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1679): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(573): error C2133: 'etmp': unknown size
1>..\..\celt\celt_encoder.c(1679): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1679): error C2133: 'surround_dynalloc': unknown size
1>..\..\celt\celt_encoder.c(1803): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1803): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1803): error C2133: 'X': unknown size
1>..\..\celt\celt_encoder.c(1808): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1808): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1808): error C2133: 'tf_res': unknown size
1>..\..\celt\celt_encoder.c(1837): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1837): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1837): error C2133: 'error': unknown size
1>..\..\celt\celt_encoder.c(1904): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1904): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1904): error C2133: 'offsets': unknown size
1>..\..\celt\celt_decoder.c(974): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(1912): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(974): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(1912): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(974): error C2133: 'tf_res': unknown size
1>..\..\celt\celt_encoder.c(1912): error C2133: 'cap': unknown size
1>..\..\celt\celt_decoder.c(982): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(2096): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(982): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(2096): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(982): error C2133: 'cap': unknown size
1>..\..\celt\celt_encoder.c(2096): error C2133: 'fine_quant': unknown size
1>..\..\celt\celt_decoder.c(986): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(2097): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(986): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(2097): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(986): error C2133: 'offsets': unknown size
1>..\..\celt\celt_encoder.c(2097): error C2133: 'pulses': unknown size
1>..\..\celt\celt_encoder.c(2098): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(2098): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1019): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(2098): error C2133: 'fine_priority': unknown size
1>..\..\celt\celt_decoder.c(1019): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_encoder.c(2135): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(1019): error C2133: 'fine_quant': unknown size
1>..\..\celt\celt_encoder.c(2135): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1027): error C2057: expected constant expression
1>..\..\celt\celt_encoder.c(2135): error C2133: 'collapse_masks': unknown size
1>..\..\celt\celt_decoder.c(1027): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1027): error C2133: 'pulses': unknown size
1>..\..\celt\celt_decoder.c(1028): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(1028): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1028): error C2133: 'fine_priority': unknown size
1>..\..\celt\celt_decoder.c(1041): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(1041): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1041): error C2133: 'collapse_masks': unknown size
1>..\..\celt\celt_decoder.c(1048): error C2057: expected constant expression
1>..\..\celt\celt_decoder.c(1048): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_decoder.c(1048): error C2133: 'X': unknown size
1> celt_lpc.c
1> cwrs.c
1>..\..\celt\bands.c(590): error C2057: expected constant expression
1>..\..\celt\bands.c(590): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(590): error C2133: 'tmp': unknown size
1>..\..\celt\bands.c(616): error C2057: expected constant expression
1>..\..\celt\bands.c(616): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(616): error C2133: 'tmp': unknown size
1>..\..\celt\bands.c(1437): error C2057: expected constant expression
1>..\..\celt\bands.c(1437): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1437): error C2133: '_norm': unknown size
1>..\..\celt\bands.c(1448): error C2057: expected constant expression
1>..\..\celt\bands.c(1448): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1448): error C2133: '_lowband_scratch': unknown size
1>..\..\celt\bands.c(1453): error C2057: expected constant expression
1>..\..\celt\bands.c(1453): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1453): error C2133: 'X_save': unknown size
1>..\..\celt\bands.c(1454): error C2057: expected constant expression
1>..\..\celt\bands.c(1454): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1454): error C2133: 'Y_save': unknown size
1>..\..\celt\bands.c(1455): error C2057: expected constant expression
1>..\..\celt\bands.c(1455): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1455): error C2133: 'X_save2': unknown size
1>..\..\celt\bands.c(1456): error C2057: expected constant expression
1>..\..\celt\bands.c(1456): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1456): error C2133: 'Y_save2': unknown size
1>..\..\celt\bands.c(1457): error C2057: expected constant expression
1>..\..\celt\bands.c(1457): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\bands.c(1457): error C2133: 'norm_save2': unknown size
1> entcode.c
1>..\..\celt\celt_lpc.c(103): error C2057: expected constant expression
1>..\..\celt\celt_lpc.c(103): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_lpc.c(103): error C2133: 'rnum': unknown size
1>..\..\celt\celt_lpc.c(161): error C2057: expected constant expression
1>..\..\celt\celt_lpc.c(161): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_lpc.c(161): error C2133: 'rden': unknown size
1>..\..\celt\celt_lpc.c(162): error C2057: expected constant expression
1>..\..\celt\celt_lpc.c(162): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_lpc.c(162): error C2133: 'y': unknown size
1>..\..\celt\celt_lpc.c(227): error C2057: expected constant expression
1>..\..\celt\celt_lpc.c(227): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\celt_lpc.c(227): error C2133: 'xx': unknown size
1> entdec.c
1> entenc.c
1> kiss_fft.c
1> laplace.c
1> mathops.c
1> mdct.c
1> modes.c
1> pitch.c
1> quant_bands.c
1>..\..\celt\mdct.c(148): error C2057: expected constant expression
1>..\..\celt\mdct.c(148): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\mdct.c(148): error C2133: 'f': unknown size
1>..\..\celt\mdct.c(149): error C2057: expected constant expression
1>..\..\celt\mdct.c(149): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\mdct.c(149): error C2133: 'f2': unknown size
1> rate.c
1>..\..\celt\pitch.c(313): error C2057: expected constant expression
1>..\..\celt\pitch.c(313): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\pitch.c(313): error C2133: 'x_lp4': unknown size
1>..\..\celt\pitch.c(314): error C2057: expected constant expression
1>..\..\celt\pitch.c(314): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\pitch.c(314): error C2133: 'y_lp4': unknown size
1>..\..\celt\pitch.c(315): error C2057: expected constant expression
1>..\..\celt\pitch.c(315): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\pitch.c(315): error C2133: 'xcorr': unknown size
1>..\..\celt\pitch.c(463): error C2057: expected constant expression
1>..\..\celt\pitch.c(463): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\pitch.c(463): error C2133: 'yy_lookup': unknown size
1> vq.c
1>..\..\celt\quant_bands.c(298): error C2057: expected constant expression
1>..\..\celt\quant_bands.c(298): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\quant_bands.c(298): error C2133: 'oldEBands_intra': unknown size
1>..\..\celt\quant_bands.c(299): error C2057: expected constant expression
1>..\..\celt\quant_bands.c(299): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\quant_bands.c(299): error C2133: 'error_intra': unknown size
1>..\..\celt\quant_bands.c(329): error C2057: expected constant expression
1>..\..\celt\quant_bands.c(329): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\quant_bands.c(329): error C2133: 'intra_bits': unknown size
1> celt_lpc_sse.c
1> pitch_sse.c
1>..\..\celt\rate.c(567): error C2057: expected constant expression
1>..\..\celt\rate.c(567): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\rate.c(567): error C2133: 'bits1': unknown size
1>..\..\celt\rate.c(568): error C2057: expected constant expression
1>..\..\celt\rate.c(568): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\rate.c(568): error C2133: 'bits2': unknown size
1>..\..\celt\rate.c(569): error C2057: expected constant expression
1>..\..\celt\rate.c(569): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\rate.c(569): error C2133: 'thresh': unknown size
1>..\..\celt\rate.c(570): error C2057: expected constant expression
1>..\..\celt\rate.c(570): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\rate.c(570): error C2133: 'trim_offset': unknown size
1> pitch_sse2.c
1>..\..\celt\vq.c(173): error C2057: expected constant expression
1>..\..\celt\vq.c(173): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\vq.c(173): error C2133: 'y': unknown size
1>..\..\celt\vq.c(174): error C2057: expected constant expression
1>..\..\celt\vq.c(174): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\vq.c(174): error C2133: 'signx': unknown size
1>..\..\celt\vq.c(338): error C2057: expected constant expression
1>..\..\celt\vq.c(338): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\vq.c(338): error C2133: 'iy': unknown size
1>..\..\celt\vq.c(369): error C2057: expected constant expression
1>..\..\celt\vq.c(369): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\vq.c(369): error C2133: 'iy': unknown size
1> pitch_sse4_1.c
1> vq_sse2.c
1> x86cpu.c
1> x86_celt_map.c
1> A2NLSF.c
1>..\..\celt\x86\vq_sse2.c(61): error C2057: expected constant expression
1>..\..\celt\x86\vq_sse2.c(61): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\x86\vq_sse2.c(61): error C2133: 'y': unknown size
1>..\..\celt\x86\vq_sse2.c(62): error C2057: expected constant expression
1>..\..\celt\x86\vq_sse2.c(62): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\x86\vq_sse2.c(62): error C2133: 'X': unknown size
1>..\..\celt\x86\vq_sse2.c(63): error C2057: expected constant expression
1>..\..\celt\x86\vq_sse2.c(63): error C2466: cannot allocate an array of constant size 0
1>..\..\celt\x86\vq_sse2.c(63): error C2133: 'signy': unknown size
1> ana_filt_bank_1.c
1> biquad_alt.c
1> bwexpander.c
1> bwexpander_32.c
1> check_control_input.c
1> CNG.c
1> code_signs.c
1> control_audio_bandwidth.c
1> control_codec.c
1>..\..\silk\CNG.c(127): error C2057: expected constant expression
1>..\..\silk\CNG.c(127): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\CNG.c(127): error C2133: 'CNG_sig_Q14': unknown size
1> control_SNR.c
1> debug.c
1>..\..\silk\control_codec.c(166): error C2057: expected constant expression
1>..\..\silk\control_codec.c(166): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\control_codec.c(166): error C2133: 'x_bufFIX': unknown size
1>..\..\silk\control_codec.c(178): error C2057: expected constant expression
1>..\..\silk\control_codec.c(178): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\control_codec.c(178): error C2133: 'x_buf_API_fs_Hz': unknown size
1> decoder_set_fs.c
1> decode_core.c
1> decode_frame.c
1> decode_indices.c
1>..\..\silk\decode_core.c(58): error C2057: expected constant expression
1>..\..\silk\decode_core.c(58): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\decode_core.c(58): error C2133: 'sLTP': unknown size
1>..\..\silk\decode_core.c(59): error C2057: expected constant expression
1>..\..\silk\decode_core.c(59): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\decode_core.c(59): error C2133: 'sLTP_Q15': unknown size
1>..\..\silk\decode_core.c(60): error C2057: expected constant expression
1>..\..\silk\decode_core.c(60): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\decode_core.c(60): error C2133: 'res_Q14': unknown size
1>..\..\silk\decode_core.c(61): error C2057: expected constant expression
1>..\..\silk\decode_core.c(61): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\decode_core.c(61): error C2133: 'sLPC_Q14': unknown size
1> decode_parameters.c
1>..\..\silk\decode_frame.c(65): error C2057: expected constant expression
1>..\..\silk\decode_frame.c(65): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\decode_frame.c(65): error C2133: 'pulses': unknown size
1> decode_pitch.c
1> decode_pulses.c
1> dec_API.c
1> encode_indices.c
1> encode_pulses.c
1> enc_API.c
1>..\..\silk\dec_API.c(265): error C2057: expected constant expression
1>..\..\silk\dec_API.c(265): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\dec_API.c(265): error C2133: 'samplesOut1_tmp_storage1': unknown size
1>..\..\silk\dec_API.c(321): error C2057: expected constant expression
1>..\..\silk\dec_API.c(321): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\dec_API.c(321): error C2133: 'samplesOut2_tmp': unknown size
1>..\..\silk\dec_API.c(331): error C2057: expected constant expression
1>..\..\silk\dec_API.c(331): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\dec_API.c(331): error C2133: 'samplesOut1_tmp_storage2': unknown size
1> gain_quant.c
1>..\..\silk\enc_API.c(260): error C2057: expected constant expression
1>..\..\silk\enc_API.c(260): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\enc_API.c(260): error C2133: 'buf': unknown size
1> HP_variable_cutoff.c
1> init_decoder.c
1> init_encoder.c
1>..\..\silk\encode_pulses.c(95): error C2057: expected constant expression
1>..\..\silk\encode_pulses.c(95): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\encode_pulses.c(95): error C2133: 'abs_pulses': unknown size
1>..\..\silk\encode_pulses.c(105): error C2057: expected constant expression
1>..\..\silk\encode_pulses.c(105): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\encode_pulses.c(105): error C2133: 'sum_pulses': unknown size
1>..\..\silk\encode_pulses.c(106): error C2057: expected constant expression
1>..\..\silk\encode_pulses.c(106): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\encode_pulses.c(106): error C2133: 'nRshifts': unknown size
1> inner_prod_aligned.c
1> interpolate.c
1> lin2log.c
1> log2lin.c
1> LPC_analysis_filter.c
1> LPC_fit.c
1> LPC_inv_pred_gain.c
1> LP_variable_cutoff.c
1> NLSF2A.c
1> NLSF_decode.c
1> NLSF_del_dec_quant.c
1> NLSF_encode.c
1> NLSF_stabilize.c
1> NLSF_unpack.c
1>..\..\silk\NLSF_encode.c(70): error C2057: expected constant expression
1>..\..\silk\NLSF_encode.c(70): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NLSF_encode.c(70): error C2133: 'err_Q24': unknown size
1>..\..\silk\NLSF_encode.c(74): error C2057: expected constant expression
1>..\..\silk\NLSF_encode.c(74): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NLSF_encode.c(74): error C2133: 'tempIndices1': unknown size
1>..\..\silk\NLSF_encode.c(77): error C2057: expected constant expression
1>..\..\silk\NLSF_encode.c(77): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NLSF_encode.c(77): error C2133: 'RD_Q25': unknown size
1>..\..\silk\NLSF_encode.c(78): error C2057: expected constant expression
1>..\..\silk\NLSF_encode.c(78): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NLSF_encode.c(78): error C2133: 'tempIndices2': unknown size
1> NLSF_VQ.c
1> NLSF_VQ_weights_laroia.c
1> NSQ.c
1> NSQ_del_dec.c
1> pitch_est_tables.c
1>..\..\silk\NSQ.c(120): error C2057: expected constant expression
1>..\..\silk\NSQ.c(120): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ.c(120): error C2133: 'sLTP_Q15': unknown size
1>..\..\silk\NSQ.c(121): error C2057: expected constant expression
1>..\..\silk\NSQ.c(121): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ.c(121): error C2133: 'sLTP': unknown size
1>..\..\silk\NSQ.c(122): error C2057: expected constant expression
1>..\..\silk\NSQ.c(122): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ.c(122): error C2133: 'x_sc_Q10': unknown size
1> PLC.c
1>..\..\silk\NSQ_del_dec.c(156): error C2057: expected constant expression
1>..\..\silk\NSQ_del_dec.c(156): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ_del_dec.c(156): error C2133: 'psDelDec': unknown size
1>..\..\silk\NSQ_del_dec.c(192): error C2057: expected constant expression
1>..\..\silk\NSQ_del_dec.c(192): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ_del_dec.c(192): error C2133: 'sLTP_Q15': unknown size
1>..\..\silk\NSQ_del_dec.c(193): error C2057: expected constant expression
1>..\..\silk\NSQ_del_dec.c(193): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ_del_dec.c(193): error C2133: 'sLTP': unknown size
1>..\..\silk\NSQ_del_dec.c(194): error C2057: expected constant expression
1>..\..\silk\NSQ_del_dec.c(194): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ_del_dec.c(194): error C2133: 'x_sc_Q10': unknown size
1>..\..\silk\NSQ_del_dec.c(365): error C2057: expected constant expression
1>..\..\silk\NSQ_del_dec.c(365): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\NSQ_del_dec.c(365): error C2133: 'psSampleState': unknown size
1> process_NLSFs.c
1> quant_LTP_gains.c
1> resampler.c
1>..\..\silk\PLC.c(177): error C2057: expected constant expression
1>..\..\silk\PLC.c(177): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\PLC.c(177): error C2133: 'exc_buf': unknown size
1>..\..\silk\PLC.c(220): error C2057: expected constant expression
1>..\..\silk\PLC.c(220): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\PLC.c(220): error C2133: 'sLTP_Q14': unknown size
1>..\..\silk\PLC.c(225): error C2057: expected constant expression
1>..\..\silk\PLC.c(225): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\PLC.c(225): error C2133: 'sLTP': unknown size
1> resampler_down2.c
1> resampler_down2_3.c
1> resampler_private_AR2.c
1> resampler_private_down_FIR.c
1> resampler_private_IIR_FIR.c
1> resampler_private_up2_HQ.c
1>..\..\silk\resampler_private_down_FIR.c(159): error C2057: expected constant expression
1>..\..\silk\resampler_private_down_FIR.c(159): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\resampler_private_IIR_FIR.c(78): error C2057: expected constant expression
1>..\..\silk\resampler_private_down_FIR.c(159): error C2133: 'buf': unknown size
1>..\..\silk\resampler_private_IIR_FIR.c(78): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\resampler_private_IIR_FIR.c(78): error C2133: 'buf': unknown size
1> resampler_rom.c
1> shell_coder.c
1> sigm_Q15.c
1> sort.c
1> stereo_decode_pred.c
1> stereo_encode_pred.c
1> stereo_find_predictor.c
1> stereo_LR_to_MS.c
1> stereo_MS_to_LR.c
1> stereo_quant_pred.c
1> sum_sqr_shift.c
1>..\..\silk\stereo_LR_to_MS.c(61): error C2057: expected constant expression
1>..\..\silk\stereo_LR_to_MS.c(61): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\stereo_LR_to_MS.c(61): error C2133: 'side': unknown size
1>..\..\silk\stereo_LR_to_MS.c(77): error C2057: expected constant expression
1>..\..\silk\stereo_LR_to_MS.c(77): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\stereo_LR_to_MS.c(77): error C2133: 'LP_mid': unknown size
1>..\..\silk\stereo_LR_to_MS.c(78): error C2057: expected constant expression
1>..\..\silk\stereo_LR_to_MS.c(78): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\stereo_LR_to_MS.c(78): error C2133: 'HP_mid': unknown size
1>..\..\silk\stereo_LR_to_MS.c(86): error C2057: expected constant expression
1>..\..\silk\stereo_LR_to_MS.c(86): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\stereo_LR_to_MS.c(86): error C2133: 'LP_side': unknown size
1>..\..\silk\stereo_LR_to_MS.c(87): error C2057: expected constant expression
1>..\..\silk\stereo_LR_to_MS.c(87): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\stereo_LR_to_MS.c(87): error C2133: 'HP_side': unknown size
1> tables_gain.c
1> tables_LTP.c
1> tables_NLSF_CB_NB_MB.c
1> tables_NLSF_CB_WB.c
1> tables_other.c
1> tables_pitch_lag.c
1> tables_pulses_per_block.c
1> table_LSF_cos.c
1> VAD.c
1> VQ_WMat_EC.c
1> NSQ_del_dec_sse.c
1> NSQ_sse.c
1>..\..\silk\VAD.c(127): error C2057: expected constant expression
1>..\..\silk\VAD.c(127): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\VAD.c(127): error C2133: 'X': unknown size
1> VAD_sse.c
1>..\..\silk\x86\NSQ_del_dec_sse.c(153): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_del_dec_sse.c(153): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_del_dec_sse.c(153): error C2133: 'psDelDec': unknown size
1>..\..\silk\x86\NSQ_del_dec_sse.c(189): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_del_dec_sse.c(189): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_del_dec_sse.c(189): error C2133: 'sLTP_Q15': unknown size
1>..\..\silk\x86\NSQ_del_dec_sse.c(190): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_del_dec_sse.c(190): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_del_dec_sse.c(190): error C2133: 'sLTP': unknown size
1>..\..\silk\x86\NSQ_del_dec_sse.c(191): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_del_dec_sse.c(191): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_del_dec_sse.c(191): error C2133: 'x_sc_Q10': unknown size
1>..\..\silk\x86\NSQ_del_dec_sse.c(357): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_del_dec_sse.c(357): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_del_dec_sse.c(357): error C2133: 'psSampleState': unknown size
1> VQ_WMat_EC_sse.c
1> x86_silk_map.c
1>..\..\silk\x86\NSQ_sse.c(176): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_sse.c(176): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_sse.c(176): error C2133: 'sLTP_Q15': unknown size
1>..\..\silk\x86\NSQ_sse.c(177): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_sse.c(177): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_sse.c(177): error C2133: 'sLTP': unknown size
1>..\..\silk\x86\NSQ_sse.c(178): error C2057: expected constant expression
1>..\..\silk\x86\NSQ_sse.c(178): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\NSQ_sse.c(178): error C2133: 'x_sc_Q10': unknown size
1> analysis.c
1>..\..\silk\x86\VAD_sse.c(91): error C2057: expected constant expression
1>..\..\silk\x86\VAD_sse.c(91): error C2466: cannot allocate an array of constant size 0
1>..\..\silk\x86\VAD_sse.c(91): error C2133: 'X': unknown size
1> mlp.c
1>..\..\src\analysis.c(176): error C2057: expected constant expression
1>..\..\src\analysis.c(176): error C2466: cannot allocate an array of constant size 0
1>..\..\src\analysis.c(176): error C2133: 'tmp': unknown size
1>..\..\src\analysis.c(197): error C2057: expected constant expression
1>..\..\src\analysis.c(197): error C2466: cannot allocate an array of constant size 0
1>..\..\src\analysis.c(197): error C2133: 'tmp3x': unknown size
1> mlp_data.c
1> opus.c
1> opus_decoder.c
1> opus_encoder.c
1>..\..\src\opus_decoder.c(317): error C2057: expected constant expression
1>..\..\src\opus_decoder.c(317): error C2466: cannot allocate an array of constant size 0
1> opus_multistream.c
1>..\..\src\opus_decoder.c(317): error C2133: 'pcm_transition_celt': unknown size
1>..\..\src\opus_decoder.c(334): error C2057: expected constant expression
1>..\..\src\opus_decoder.c(334): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_decoder.c(334): error C2133: 'pcm_silk': unknown size
1>..\..\src\opus_decoder.c(459): error C2057: expected constant expression
1>..\..\src\opus_decoder.c(459): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_decoder.c(459): error C2133: 'pcm_transition_silk': unknown size
1>..\..\src\opus_decoder.c(469): error C2057: expected constant expression
1>..\..\src\opus_decoder.c(469): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_decoder.c(469): error C2133: 'redundant_audio': unknown size
1>..\..\src\opus_decoder.c(780): error C2057: expected constant expression
1>..\..\src\opus_decoder.c(780): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_decoder.c(780): error C2133: 'out': unknown size
1> opus_multistream_decoder.c
1>..\..\src\opus_encoder.c(982): error C2057: expected constant expression
1>..\..\src\opus_encoder.c(982): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_encoder.c(982): error C2133: 'tmp_data': unknown size
1>..\..\src\opus_encoder.c(1624): error C2057: expected constant expression
1>..\..\src\opus_encoder.c(1624): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_encoder.c(1624): error C2133: 'pcm_buf': unknown size
1>..\..\src\opus_encoder.c(1669): error C2057: expected constant expression
1>..\..\src\opus_encoder.c(1669): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_encoder.c(1669): error C2133: 'pcm_silk': unknown size
1>..\..\src\opus_encoder.c(1916): error C2057: expected constant expression
1>..\..\src\opus_encoder.c(1916): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_encoder.c(1916): error C2133: 'tmp_prefill': unknown size
1>..\..\src\opus_encoder.c(2223): error C2057: expected constant expression
1>..\..\src\opus_encoder.c(2223): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_encoder.c(2223): error C2133: 'in': unknown size
1> opus_multistream_encoder.c
1> repacketizer.c
1>..\..\src\opus_multistream_decoder.c(207): error C2057: expected constant expression
1>..\..\src\opus_multistream_decoder.c(207): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_decoder.c(207): error C2133: 'buf': unknown size
1>..\..\src\opus_multistream_encoder.c(283): error C2057: expected constant expression
1>..\..\src\opus_multistream_encoder.c(283): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_encoder.c(283): error C2133: 'in': unknown size
1>..\..\src\opus_multistream_encoder.c(284): error C2057: expected constant expression
1>..\..\src\opus_multistream_encoder.c(284): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_encoder.c(284): error C2133: 'x': unknown size
1>..\..\src\opus_multistream_encoder.c(285): error C2057: expected constant expression
1>..\..\src\opus_multistream_encoder.c(285): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_encoder.c(285): error C2133: 'freq': unknown size
1>..\..\src\opus_multistream_encoder.c(949): error C2057: expected constant expression
1>..\..\src\opus_multistream_encoder.c(949): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_encoder.c(949): error C2133: 'buf': unknown size
1>..\..\src\opus_multistream_encoder.c(953): error C2057: expected constant expression
1>..\..\src\opus_multistream_encoder.c(953): error C2466: cannot allocate an array of constant size 0
1>..\..\src\opus_multistream_encoder.c(953): error C2133: 'bandSMR': unknown size
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
from opus.
It looks like there's a problem with your config.h and somehow VS is trying to use the C99 VLAs rather than alloca().
from opus.
@jmvalin Anything I should try as a workaround?
from opus.
Opus v1.2.1 with VS2017 (with VS2015 platform toolset) - no error. Actually, even no warnings.
Opus v1.2.1 from GiHub also works.
from opus.
The only way to get the same errors is to add manually VAR_ARRAYS
to definitions list.
from opus.
Doesn't look like it's a bug. Closing for now.
from opus.
@jmvalin Anything I should try as a workaround?
Maybe you should decompress a clean source code separately, and then compile it in win32/VS2015
at windows.
When I use automake compiled at unix in the root source directory and then went to win32/VS2015
at windows to compile, the problem you mentioned also appeared. So I create another clean copy of the source code and compiled it at windows again, and there was no problem.
[Opus v1.3.1] with VS2022 (with VS2017 platform toolset) - no error. Actually, even no warnings.
from opus.
Related Issues (20)
- opus 1.5.1-1 seems to be incompatible with musescore 4.2.1 HOT 1
- Question about DRED HOT 4
- Undefined reference to opus_select_arch HOT 2
- opus_repacketizer_cat sometimes fails
- Limiting the stack allocation request HOT 2
- Please update opus-tools to support new features
- Deep PLC performance on Android HOT 16
- Compiling with CMake for Windows/MSVC only supports DLL runtime libraries HOT 9
- Added the OPUS_SET_INBAND_FEC(2) option HOT 1
- Please provide an option to not depend on downloading model data HOT 10
- v1.5.2 compile warnings
- Error: Range coder state mismatch between encoder and decoder in frame 1: 0x f3b1240 vs 0x40123b0f HOT 1
- Opus.lib: 1.3.1 version crashing in some windows machines in opus_encoder_create HOT 2
- Opus 1.5.x and main compilation failing with GCC 8.5.0 HOT 1
- Opus not building on Ubuntu 24.04
- No way to turn off the PLC/FEC?
- Floating Point libraries failing to build when targeting Fixed Point support only. MSVC 2017 v141 HOT 3
- Unexpected continuous noise when combining NoLACE with DTX HOT 9
- Bug: The decoded dred_offset < 0 HOT 1
- How can I verify if FEC is working? I am not hearing any changes with fec enabled vs disabled with 30% packet loss HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opus.