Christofer Bustad
2006-Nov-27 13:54 UTC
[Vorbis-dev] Compiling libogg and libvorbis using MinGW
Hi there, This is probably a rather stupid question, but being a bit new to the open source world I'd like to ask this question anyway: I'm trying to learn more about Ogg Vorbis, so I downloaded the source code for libogg and libvorbis. I unzipped them and tried to compile them using ../configure and make in MinGW. libvorbis complains that libogg is not installed even though I just compiled it, so I was thinking that maybe the tree structure is not as it should be. When I have the zip-files for libogg and libvorbis, how do I know how the tree structure should look like? Should I unzip them both into the same directory? Is it at all possible to compile the libraries using MinGW? These are all probably very basic and newbie questions. I'm sorry about that. I tried to find the answers in FAQs and readme-files, but was unsuccessful. If this kind of information can be found on the net somewhere, could you perhaps give me a link? Thank you very much in advance! Christofer Bustad _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Michael Crawford
2006-Dec-02 04:26 UTC
[Vorbis-dev] Compiling libogg and libvorbis using MinGW
After doing "make" in libogg, do a "make install". By default, ./configure has make install put the libraries in /usr/local/lib. If you're using MinGW under Cygwin, that's the right place. But if it's not, run ./configure with --prefix set to that parent directory of where you want your libraries installed: ./configure --prefix=/path/to/prefix Best, Mike Crawford mdcrawford at gmail dot com On 11/24/06, Christofer Bustad <tosse_bustad@hotmail.com> wrote:> Hi there, > > This is probably a rather stupid question, but being a bit new to the open > source world I'd like to ask this question anyway: > > I'm trying to learn more about Ogg Vorbis, so I downloaded the source code > for libogg and libvorbis. I unzipped them and tried to compile them using > ../configure and make in MinGW. libvorbis complains that libogg is not > installed even though I just compiled it, so I was thinking that maybe the > tree structure is not as it should be. When I have the zip-files for libogg > and libvorbis, how do I know how the tree structure should look like? Should > I unzip them both into the same directory? Is it at all possible to compile > the libraries using MinGW? > > These are all probably very basic and newbie questions. I'm sorry about > that. I tried to find the answers in FAQs and readme-files, but was > unsuccessful. If this kind of information can be found on the net somewhere, > could you perhaps give me a link? > > Thank you very much in advance! > Christofer Bustad > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Vorbis-dev mailing list > Vorbis-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/vorbis-dev >-- Michael David Crawford mdcrawford at gmail dot com Enjoy my art, photography, music and writing at http://www.geometricvisions.com/ --- Free Music Downloads ---
On Fri, Nov 24, 2006 at 05:34:38PM +0100, Christofer Bustad wrote:> I'm trying to learn more about Ogg Vorbis, so I downloaded the source code > for libogg and libvorbis. I unzipped them and tried to compile them using > ../configure and make in MinGW. libvorbis complains that libogg is not > installed even though I just compiled it, so I was thinking that maybe the > tree structure is not as it should be.I don't know how things are usually done with MinGW, but the libvorbis package assumes it will find libogg installed like a normal library. You can pass '--with-ogg=<prefix>' if you've installed libogg in some custom location, or something like '--with-ogg-libraries=../libogg-version/src/ --with-ogg-includes=../liboggg-version/include/' to point to your compiled directory. HTH, -r
Christofer Bustad
2006-Dec-08 08:10 UTC
[Vorbis-dev] Compiling libogg and libvorbis using MinGW
I'm very sorry for my late reply. Thank you all for your help. I haven't had time to work on this for a while, but I'll try to get it working today. /Christofer> > I'm trying to learn more about Ogg Vorbis, so I downloaded the source >code > > for libogg and libvorbis. I unzipped them and tried to compile them >using > > ../configure and make in MinGW. libvorbis complains that libogg is not > > installed even though I just compiled it, so I was thinking that maybe >the > > tree structure is not as it should be. > >I don't know how things are usually done with MinGW, but the libvorbis >package assumes it will find libogg installed like a normal library. You >can pass '--with-ogg=<prefix>' if you've installed libogg in some custom >location, or something like '--with-ogg-libraries=../libogg-version/src/ >--with-ogg-includes=../liboggg-version/include/' to point to your >compiled directory. > >HTH, > -r_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/