You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue trying to compile vorbis-tools 1.4.0 on the latest version of MSYS2. I'm passing --with-ogg and --with-vorbis flags to the configure script, as I'm first building libogg and libvorbis separately and then using those library builds to build vorbis-tools. It seems to recognize libogg and libvorbis when configuring, but it then gives this error:
checking for OGG... no
checking for Ogg... yes
checking for oggpack_writealign... yes
checking for VORBIS... no
checking for ov_read_filter... no
checking for library containing cos... none required
checking for Vorbis... yes
checking whether OV_ECTL_COUPLING_SET is declared... no
configure: error: Vorbis >= 1.3.0 required !
What's really strange is that this only occurs if there isn't already an installation of libogg and libvorbis available in the include and library paths that GCC is using.
I think the problem I'm experiencing here is that, when doing the check for OV_ECTL_COUPLING_SET (and possibly others), it doesn't take the --with-ogg and --with-vorbis flags into account.
Any thoughts on what else could be causing the problem?
The text was updated successfully, but these errors were encountered:
MrM21632
changed the title
Configure Error: "Vorbis >= 1.3.0 required!"
Configure Error: "Vorbis >= 1.3.0 required!" (MSYS2)
Dec 23, 2018
I'm facing the same issue when building on a linux distro without pkg-config, I have the same error message when running ./configure --with-ogg=/opt --with-vorbis=/opt --prefix=/opt
(both libogg and libvorbis are installed into /opt)
I think I found the root cause in the build scripts, looking at config.log:
configure:18902: checking whether OV_ECTL_COUPLING_SET is declared
configure:18902: gcc -c -O2 -Wall -ffast-math -fsigned-char -g -O2 conftest.c >&5
conftest.c:98:30: fatal error: vorbis/vorbisenc.h: No such file or directory
Notice on the command line there is no include option -I so the compile cannot find the headers it looks for.
Instead, a few statementes above, I can see:
I'm experiencing an issue trying to compile vorbis-tools 1.4.0 on the latest version of MSYS2. I'm passing --with-ogg and --with-vorbis flags to the configure script, as I'm first building libogg and libvorbis separately and then using those library builds to build vorbis-tools. It seems to recognize libogg and libvorbis when configuring, but it then gives this error:
What's really strange is that this only occurs if there isn't already an installation of libogg and libvorbis available in the include and library paths that GCC is using.
I think the problem I'm experiencing here is that, when doing the check for OV_ECTL_COUPLING_SET (and possibly others), it doesn't take the --with-ogg and --with-vorbis flags into account.
Any thoughts on what else could be causing the problem?
The text was updated successfully, but these errors were encountered: