So, I thought it might be worth downloading the current 1.1.1 version of oggenc, as apparently it's a lot better. Silly me.
Problem #1: The vorbis people apparently don't believe in up-to-date binaries for win32. Solved by deciding to build from source. I'll just need to download, unzip, and run nmake, right?
Problem #2: While they provide MS Visual C++ projects, they neglect to convert the line endings to windows style. Solved by uploading to a random ftp site in binary, and then downloading in ascii mode.
Problem #3: No, MSVC will not automagically include all the project files in the current directory just by opening a workspace containing an empty project
Problem #4: Apparently I need to download (and presumably compile) libvorbis to make it work. I'll just pick up and compile libogg while I'm at it, shall I?
Problem #5: libvorbis depends on libogg. Specifically, libvorbis depends on the libogg files being in a directory called "ogg" in the include path, or in a directory called "ogg" in one of "..\..\ogg\include;..\include;..\win32\src;..\..\vorbis\lib" where the current directory is "D:\blah\libogg\win32". Solved by removing the "lib" prefix.
Problem #6: vorbis-tools\oggenc\encode.c(176) : error C2143: syntax error : missing ';' before 'type' followed by vorbis-tools\oggenc\encode.c(183) : error C2065: 'bitrate' : undeclared identifier
At this point I decide it's too hard and give up. And don't you dare suggest that I should debug someone else's code that should Just Work.
How on earth do all you Unix/Linux/BSD people cope with building everything from source?
Problem #1: The vorbis people apparently don't believe in up-to-date binaries for win32. Solved by deciding to build from source. I'll just need to download, unzip, and run nmake, right?
Problem #2: While they provide MS Visual C++ projects, they neglect to convert the line endings to windows style. Solved by uploading to a random ftp site in binary, and then downloading in ascii mode.
Problem #3: No, MSVC will not automagically include all the project files in the current directory just by opening a workspace containing an empty project
Problem #4: Apparently I need to download (and presumably compile) libvorbis to make it work. I'll just pick up and compile libogg while I'm at it, shall I?
Problem #5: libvorbis depends on libogg. Specifically, libvorbis depends on the libogg files being in a directory called "ogg" in the include path, or in a directory called "ogg" in one of "..\..\ogg\include;..\include;..\win32\src;..\..\vorbis\lib" where the current directory is "D:\blah\libogg\win32". Solved by removing the "lib" prefix.
Problem #6: vorbis-tools\oggenc\encode.c(176) : error C2143: syntax error : missing ';' before 'type' followed by vorbis-tools\oggenc\encode.c(183) : error C2065: 'bitrate' : undeclared identifier
At this point I decide it's too hard and give up. And don't you dare suggest that I should debug someone else's code that should Just Work.
How on earth do all you Unix/Linux/BSD people cope with building everything from source?
no subject
Date: 2005-08-11 11:03 pm (UTC)Yeah, linux runs on a lot of platforms (nine entirely different hardware architectures, last time I counted). I would also expect the build to be at least workable under Win32, if not easy, but it does rely on someone who knows how the OS works to set it up. It Ogg have noone with the right skills, it ain't gonna happen. And you're right, that's a bit shit. Sounds like their windows maintainer is just going through the motions: not understanding what he's doing and as a result screwing up somewhere down the line.
And dependencies on Theora? Within Vorbis? They should be completely separate: frankly, I'm impressed.
If you're still interested in getting it installed, are their forums any help?
no subject
Date: 2005-08-12 09:46 am (UTC)no subject
Date: 2005-08-12 11:07 am (UTC)The sound architecture, yeeeees... Everyone has an idea of what it should look like, and damn the others. ALSA works nicely, though, if you can prevent your blasted window manager from interfering. And I believe there are OpenAL bindings for it as well, which is promising news for the future.