Discussion:
[theora-dev] Can't compile libtheora vs2010
andrew aspden
2011-04-22 19:04:01 UTC
Permalink
I'm getting errors like so on initial build of libtheora -


1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\x86_vc\x86stat.c': No such file or directory

1> mmxstate.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\x86_vc\mmxstate.c': No such file or directory

1> mmxloopfilter.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\x86_vc\mmxloopfilter.c': No such file or directory

1> mmxidct.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\x86_vc\mmxidct.c': No such file or directory

1> mmxfrag.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\x86_vc\mmxfrag.c': No such file or directory

1> state.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\state.c': No
such file or directory

1> quant.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\quant.c': No
such file or directory

1> internal.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\internal.c':
No such file or directory

1> info.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\info.c': No
such file or directory

1> idct.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\idct.c': No
such file or directory

1> huffdec.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\huffdec.c':
No such file or directory

1> fragment.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\fragment.c':
No such file or directory

1> dequant.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\dequant.c':
No such file or directory

1> decode.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\decode.c': No
such file or directory

1> decinfo.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\decinfo.c':
No such file or directory

1> decapiwrapper.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\decapiwrapper.c': No such file or directory

1> bitpack.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\dec\bitpack.c':
No such file or directory

1> apiwrapper.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\dec\apiwrapper.c': No such file or directory

1> recon_mmx.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\x86_32_vs\recon_mmx.c': No such file or directory

1> fdct_mmx.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\x86_32_vs\fdct_mmx.c': No such file or directory

1> Generating Code... (TaskId:16)

1> Compiling... (TaskId:16)

1> dsp_mmx.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\x86_32_vs\dsp_mmx.c': No such file or directory

1> reconstruct.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\reconstruct.c': No such file or directory

1> mode.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\mode.c': No
such file or directory

1> mcenc.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\mcenc.c': No
such file or directory

1> mathops.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\mathops.c':
No such file or directory

1> frinit.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\frinit.c': No
such file or directory

1> frarray.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\frarray.c':
No such file or directory

1> encoder_quant.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\encoder_quant.c': No such file or directory

1> encoder_toplevel.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\encoder_toplevel.c': No such file or directory

1> encoder_idct.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\encoder_idct.c': No such file or directory

1> encoder_huffman.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\encoder_huffman.c': No such file or directory

1> encode.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\encode.c': No
such file or directory

1> encapiwrapper.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\encapiwrapper.c': No such file or directory

1> dct_encode.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\dct_encode.c': No such file or directory

1> dct_decode.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file:
'..\lib\enc\dct_decode.c': No such file or directory

1> dct.c (TaskId:16)

1>c1 : fatal error C1083: Cannot open source file: '..\lib\enc\dct.c': No
such file or directory

1> Generating Code... (TaskId:16)

1> The command exited with code 2. (TaskId:16)

1>Done executing task "CL" -- FAILED. (TaskId:16)

1>Done building target "ClCompile" in project "theora_static.vcxproj" --
FAILED.: (TargetId:37)
Timothy B. Terriberry
2011-04-25 20:32:44 UTC
Permalink
I haven't seen our normal win32 maintainer online for a few days, so
I'll jump in here and respond to this.
Post by andrew aspden
'..\lib\dec\x86_vc\x86stat.c': No such file or directory
The project file in svn has x86state.c, not x86stat.c. I just checked.
Where did you get your project file?

As for the rest, perhaps you moved the project file relative to the
source files? (I'll note that the project files in svn are in
win32/VS2010/libtheora and the path starts with "..\..\..", not simply
".."). If so, you'll need to either delete and re-add the source files
or update your path settings.
Cristian Adam
2011-04-26 21:25:12 UTC
Permalink
Post by andrew aspden
I'm getting errors like so on initial build of libtheora -
'..\lib\dec\x86_vc\x86stat.c': No such file or directory
SVN code compiles fine with VS2010.

In case you don't want to get the sources from SVN, I've put
a zip file on 19th of January 2011 which compiles with VS2010:
https://people.xiph.org/~cristian/files/libtheora_alldependencies_trunk_2011_01_19.zip

Cheers,
Cristian

Loading...