Hello, Iam trying to compile oggenc to create oggenc.exe but i have 6 errors in the compilation. I have done like this: 1)I create a project in visual C++ 6.0(win 32 console) 2)i include the C files ans h file in source and header files the errors are: f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.h(5) : fatal error C1083: Cannot open include file: 'codec.h': No such file or directory easyflac.c f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\easyflac.h(77) : fatal error C1083: Cannot open include file: 'FLAC/stream_decoder.h': No such file or directory encode.c f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.c(18) : fatal error C1083: Cannot open include file: 'vorbis/vorbisenc.h': No such file or directory flac.c f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\flac.c(16) : fatal error C1083: Cannot open include file: 'FLAC/metadata.h': No such file or directory oggenc.c f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\oggenc.c(15) : fatal error C1083: Cannot open include file: 'getopt.h': No such file or directory platform.c f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.h(5) : fatal error C1083: Cannot open include file: 'codec.h': No such file or directory Error executing cl.exe. oggenc_essai.exe - 6 error(s), 0 warning(s) I have tried to put vorbisenc.h and codec.h at the base of the project but I have always the same errors. Guillaume --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
The vorbis-tools distribution you download from Xiph.org should already have a VC++ project file already there (in the win32 directory). You need to get the source and compile libogg and libvorbis too. Best regards, Steve. owner-vorbis-dev@xiph.org wrote:>Hello, >Iam trying to compile oggenc to create oggenc.exe but i have 6 errors in >the compilation. >I have done like this: >1)I create a project in visual C++ 6.0(win 32 console) >2)i include the C files ans h file in source and header files > >the errors are: > >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.h(5) >: fatal error C1083: Cannot open include file: 'codec.h': No such file >or directory >easyflac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\easyflac.h(77) >: fatal error C1083: Cannot open include file: 'FLAC/stream_decoder.h': >No such file or directory >encode.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.c(18) >: fatal error C1083: Cannot open include file: 'vorbis/vorbisenc.h': No >such file or directory >flac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\flac.c(16) >: fatal error C1083: Cannot open include file: 'FLAC/metadata.h': No >such file or directory >oggenc.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\oggenc.c(15) >: fatal error C1083: Cannot open include file: 'getopt.h': No such file >or directory >platform.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\oggenc\encode.h(5) >: fatal error C1083: Cannot open include file: 'codec.h': No such file >or directory >Error executing cl.exe. > >oggenc_essai.exe - 6 error(s), 0 warning(s) > >I have tried to put vorbisenc.h and codec.h at the base of the project >but I have always the same errors. > >Guillaume > >--- >8 ---- >List archives: http://www.xiph.org/archives/ >Ogg project homepage: http://www.xiph.org/ogg/ >To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' >containing only the word 'unsubscribe' in the body. No subject is needed. >Unsubscribe messages sent to the list will be ignored/filtered. > > >-- -------------------------------------------------- Stephen So, BEng(Hons) PhD Student, Signal Processing Laboratory, School of Microelectronic Engineering, Faculty of Engineering and Information Technology, Griffith University, Nathan Campus, Brisbane, QLD, Australia, 4111. Phone: +61-7-3875 3754 E-mail: s.so@griffith.edu.au -------------------------------------------------- --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Your include directories are wrong... locate the prjects containing all the files it says can't be found and add the directories to the include path in your project settings. Most of the time, their windows projects never build unmodified (for me anyway)... i dunno if there was a project hierarchy change somewhere along the way and they never updated teh windows project settings or what the deal is... maybe they have a package hierarchy of their own... but it never seems to be the same as the way i want it structured. They seem to prefer the package everything separate and let the developers get all the dependancies themself and sort out how they link together, whereas i much prefer the atomic source SDK style of package where if it depends on something, that soemthing is there in a fixed place and everything is self containted and builds first time. Meaning that an SDK version contains a specific identifiable version of each dependancy. It also makes far more sense when debugging under windows to maintain all the dependant projects in the one solution/workspace. I've taken to just maintaining my own modified versions in my subversion repository that include my own VS2002 .vcproj with many settings modified and then when they modify their project i test it then merge it into my modifed version. I also like to customise the optiisations and many other project settings to how i like them so keeping my own version is just much easier for me. <p>----- Original Message ----- From: "Guillaume ROGET" <guillaume.roget@fr.thalesgroup.com> To: <vorbis-dev@xiph.org> Sent: Wednesday, March 24, 2004 6:17 PM Subject: [vorbis-dev] oggenc in vorbistools 1.0.1 <p>> Hello,> Iam trying to compile oggenc to create oggenc.exe but i have 6 errors in > the compilation. > I have done like this: > 1)I create a project in visual C++ 6.0(win 32 console) > 2)i include the C files ans h file in source and header files > > the errors are: > >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.h(5)> : fatal error C1083: Cannot open include file: 'codec.h': No such file > or directory > easyflac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\easyflac.h(77)> : fatal error C1083: Cannot open include file: 'FLAC/stream_decoder.h': > No such file or directory > encode.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.c(18)> : fatal error C1083: Cannot open include file: 'vorbis/vorbisenc.h': No > such file or directory > flac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\flac.c(16)> : fatal error C1083: Cannot open include file: 'FLAC/metadata.h': No > such file or directory > oggenc.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\oggenc.c(15)> : fatal error C1083: Cannot open include file: 'getopt.h': No such file > or directory > platform.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.h(5)> : fatal error C1083: Cannot open include file: 'codec.h': No such file > or directory > Error executing cl.exe. > > oggenc_essai.exe - 6 error(s), 0 warning(s) > > I have tried to put vorbisenc.h and codec.h at the base of the project > but I have always the same errors. > > Guillaume > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to'vorbis-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. > > ><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
You should open the files that give the error and write the appropriate path to codec.h, stream_decoder.h, etc. Generally, this files are pointing to a ogg\XX.h. Put them between comas ("codec.h") and make sure the codec.h is in the same folder of the file requesting it. <p><p>----- Original Message ----- From: "Guillaume ROGET" <guillaume.roget@fr.thalesgroup.com> To: <vorbis-dev@xiph.org> Sent: Wednesday, March 24, 2004 7:17 AM Subject: [vorbis-dev] oggenc in vorbistools 1.0.1 <p>> Hello,> Iam trying to compile oggenc to create oggenc.exe but i have 6 errors in > the compilation. > I have done like this: > 1)I create a project in visual C++ 6.0(win 32 console) > 2)i include the C files ans h file in source and header files > > the errors are: > >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.h(5)> : fatal error C1083: Cannot open include file: 'codec.h': No such file > or directory > easyflac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\easyflac.h(77)> : fatal error C1083: Cannot open include file: 'FLAC/stream_decoder.h': > No such file or directory > encode.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.c(18)> : fatal error C1083: Cannot open include file: 'vorbis/vorbisenc.h': No > such file or directory > flac.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\flac.c(16)> : fatal error C1083: Cannot open include file: 'FLAC/metadata.h': No > such file or directory > oggenc.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\oggenc.c(15)> : fatal error C1083: Cannot open include file: 'getopt.h': No such file > or directory > platform.c >f:\stage_2004_xtase\guillaume_roget\ogg_vorbis\ogg_tools\vorbis-tools-1.0.1\ oggenc\encode.h(5)> : fatal error C1083: Cannot open include file: 'codec.h': No such file > or directory > Error executing cl.exe. > > oggenc_essai.exe - 6 error(s), 0 warning(s) > > I have tried to put vorbisenc.h and codec.h at the base of the project > but I have always the same errors. > > Guillaume > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to'vorbis-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered.--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Possibly Parallel Threads
- Vorbis 1.0.1 release compile errors (libvorbis, vorbistools)
- libtheora-1.0alpha2.tar.gz make fails
- vorbis-tools patch to support upcoming FLAC 1.1.3
- oggcat or other ways to combine theora videos (with or without re-encoding)?
- Compile libtheora 1.0beta3 with VS2005