Alure ogg issue on Windows

Patrick Spendrin ps_ml at gmx.de
Fri Jul 15 00:09:03 CEST 2011


Am 14.07.2011 21:59, schrieb Alexandru Tudorica:
> Looked at the latest CMakeLists from the latest commits and found a
> couple of erros.
> First the variable name was miss-spelled (OGGVORBIS_INCLUDE_DIRR instead
> of OGGVORBIS_INCLUDE_DIRS).
> Second the property that is set on the source file (INCLUDE_DIRECTORIES)
> is not available in the documentation of CMake 2.8[0] or 2.6[1]. I've
> seen it has been used many times throughout  the CMake files.
> I've attached a small patch that can make it work with vorbis.
> To cmake the project you must specify the include path and library path,
> like:  -DCMAKE_INCLUDE_PATH=%kderoot%\include
> -DCMAKE_LIBRARY_PATH=%kderoot%\lib\ where %kderoot% is my kde install
> folder.
> It will fail a function check in vorbis (hadn't figure out how to make
> that work) but as long as you have the right version of the library no
> function checks should be necessary.
> 
> PS: About the function checks I think that he has to have the actuall
> dll file in PATH or in the folder it runs for it to succeed.

There are some issues I have found while looking through the CMake code
of alure:
When I looked at the code, there weren't any find scripts used at all,
which both broke reusability of cmake code, and also it used some macros
that were not intended to be used to find 3rdparty headers+libraries.
When I took a glimpse on the repo just now, it seems to have been fixed
already.
Also, afaik only mingw binaries have been provided until now; given a
(basic) cmake based buildsystem and C89 compliance or C++ code, this
should also be available for MS Visual Studio, which means that there
should be no problem for us to provide some precompiled binaries (except
that we need to resetup the build server for that again). This would
also mean that we can easily use alure as a dependency for gluon.

Since I am currently on holidays, I can't test & do to much, I'll try to
see what we can do on monday.
In the mean time, maybe Alexandru can help you too?

regards,
Patrick


More information about the Kde-windows mailing list